search for: ast_check_hangup

Displaying 4 results from an estimated 4 matches for "ast_check_hangup".

2009 Feb 04
1
Stopping chanspy followup
...n a loop waiting for a new channel to come into being that matches chanprefix and spying will start. I would like it if there are no channels to spy on that the chanspy application exit. This can be done by changing line 673 of chanspy.c in the following way Old: if (res == -1 || ast_check_hangup(chan)) New: if (res == -1 || ast_check_hangup(chan) || !peer_chanspy_ds) Otherwise, as best I can tell, unless there is some error chanspy never exits unless the channel running the chanspy application hangs up, which I do not particularly want to do. -- Jim Dickenson mailto:di...
2007 Jul 30
1
MeetMe through DeadAGI has changed to return -1 on Hangup
....2.19/apps/app_meetme.c 40c40 < ASTERISK_FILE_VERSION(__FILE__, "$Revision: 69894 $") --- > ASTERISK_FILE_VERSION(__FILE__, "$Revision: 59360 $") 1299,1302d1298 < /* If the channel wants to be hung up, hang it up */ < if (ast_check_hangup(chan)) < break; < And here is the entire diff from res_agi.c: [root at asterisk asterisk]# diff res/res_agi.c /usr/src/asterisk-1.2.19/res/res_agi.c 44c44 < ASTERISK_FILE_VERSION(__FILE__, "$Revision: 71656 $") --- > ASTERISK_FILE_VERSION(__FI...
2008 Dec 05
2
async agi question
Hi, I am developing asterisk support for our application using the Async AGI and Asterisk-Java. One thing I haven't been able to implement is how to stop playing a sound. Something similar to StopIO for Dialogic GlobalCall or DivaStopSending for Eicon. Is there any way to achieve this today which I have missed? Or could someone give me hints on how I could implement this in the res_agi.c The
2004 Apr 28
4
Mysql Confusion..
Ok I know this may have been covered and I did have a look back in the archives but didn't find anthing so I am asking it now.. Many moons ago the MySQL CDR functions and MySQL Voicemail functions had to be removed from the main asterisk code because of licensing issues.. Now there is new MySQL stuff like MySQL FRIENDS for SIP and IAX definitions.. So how is it that these options