inbound calls milestone

git-svn-id: http://svn.openzap.org/svn/openzap/trunk@255 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
Anthony Minessale
2007-06-14 03:54:02 +00:00
parent 2f4d9e8c3b
commit f981ebef9f
9 changed files with 164 additions and 75 deletions

View File

@@ -180,7 +180,7 @@ static void launch_channel(struct sangoma_pri *spri, int channo)
close(file);
//close(ifd);
pri_hangup(spri->pri, channo, 16);
if (zap_channel_close(&chan) != ZAP_SUCCESS) {
printf("Critical Error: Failed to close channel [%s]\n", chan->last_error);
}