search for: gosub_result

Displaying 11 results from an estimated 11 matches for "gosub_result".

2009 Mar 06
1
GoSub & Queue
...,,300,,,screencallee) ]. This will run that gosub when the member pics up and it DOES stop ringing all the other phones when they pickup which is great! problem is that now my options like Voicemail or if the member hangs up with out choosing a option the call is dumped from teh queue and the GOSUB_RESULT doesnt look to be checked or listened too. Here's a snip of my screen subs [screencaller] exten => s,1,Set(__SCREEN_FILE=/tmp/screens-${UNIQUEID}) exten => s,n,Playback(screen-say-name) exten => s,n,Wait(1) exten => s,n,Record(${SCREEN_FILE}.gsm,3,6) exten => s,n,Playback(scr...
2009 May 08
0
Can't GOSUB_RESULT with Dial U() option ...
Hello, I'm not understanding how to use GOSUB_RESULT in U() option from Dial app (I'm using 1.6.1) My extensions.ael is : context mylocal { 2 => { Dial(SIP/7530,,U(mynotify)); HangUp(); }; 3 => { Dial(SIP/7531); HangUp(); }; }; macro mynotify (...
2014 Jul 17
0
Problem with Read() ?
...al() code. As you can see, I'm using the U option to call a subroutine on the *callee* (cell phone user) when they answer. The code for that is: [hosted-1004-ccall] exten => s,1,Read(MOT,pbx/1004/ccall,1,in,3,5) same => n,GotoIf($["${MOT}" == "1"]?10) same => n,Set(GOSUB_RESULT=CONTINUE) same => n,Return() same => 10,Set(GOSUB_RESULT=) same => n,Return() exten => h,1,Set(GOSUB_RESULT=CONTINUE) same => n,Return() exten => i,1,Set(GOSUB_RESULT=CONTINUE) same => n,Return() The idea here being that "pbx/1004/ccall" is played to the cell phone u...
2011 May 05
1
ael context ~~s~~ in macros broke Dial() U() option in 1.6.2.17.2 and newer
...e the segments of the ael: --------------------------------------- ... Dial(${MARKCELL},30,tgU(screen)); ... macro screen() { Wait(0.5); Read(ACCEPT,followme/options,1,,1,20); if( "${ACCEPT}" = "1" ) { Background(connecting); } else { Set(GOSUB_RESULT=CONTINUE); }; return; }; And, here is the dialplan created from my above ael. The change is obvious, but I'm not sure if there is some way I can fix this in my AEL, or if this is just a bug that needs to be fixed. asterisk-1.6.2.17.2 and asterisk-1.6.2.18: --------------------------...
2014 Dec 13
1
How to get BEEP BEEP BEEP when underline sends 486 Busy Here.
....org/wiki/view/Asterisk+cmd+Dial), it mentioned something about the r parameter as not being very professional or something like that... Then there was: U(x): Executes, via gosub, routine x on the called channel. This is similar to M above, but a gosub rather than a macro. The subroutine can set ${GOSUB_RESULT}__ to the following: ABORT: Hang up both legs CONGESTION: Signal congestion to the caller BUSY: Signal busy to the caller CONTINUE: Hangup the called party but continue execution at the next priority in the dialplan for the caller GOTO: Transfer the execution to context^exten^pri I could not gras...
2010 May 18
3
About option U in Dial Ast version 1.6.2
...routine <x> for the *called* channel before connecting to the calling channel. Arguments can be specified to the Gosub using '^' as a delimiter. The Gosub routine can set the variable ${GO SUB_RESULT} to specify the following actions after the Gosub returns. ${GOSUB_RESULT}: ABORT: Hangup both legs of the call. CONGESTION: Behave as if line congestion was encountered. BUSY: Behave as if a busy signal was encountered. CONTINUE: Hangup the called party and allow the calling party to continue...
2015 Feb 06
0
Asterisk 13.2.0 Now Available
...IAX channels, Asterisk stops responding to most traffic, potential deadlock (Reported by Jeff Collell) * ASTERISK-24560 - Creating a named ARI bridge twice causes a crash (Reported by Kinsey Moore) * ASTERISK-24682 - app_dial: Multiple DialEnd events emitted when MACRO_RESULT or GOSUB_RESULT are an unexpected value (Reported by Matt Jordan) * ASTERISK-24640 - Registration pending stays forever after sip reload (Reported by Max Man) * ASTERISK-24673 - outgoing sip registers cannot be removed or modified without doing restart (or doing module unload chan_sip.so)...
2015 Feb 06
0
Asterisk 13.2.0 Now Available
...IAX channels, Asterisk stops responding to most traffic, potential deadlock (Reported by Jeff Collell) * ASTERISK-24560 - Creating a named ARI bridge twice causes a crash (Reported by Kinsey Moore) * ASTERISK-24682 - app_dial: Multiple DialEnd events emitted when MACRO_RESULT or GOSUB_RESULT are an unexpected value (Reported by Matt Jordan) * ASTERISK-24640 - Registration pending stays forever after sip reload (Reported by Max Man) * ASTERISK-24673 - outgoing sip registers cannot be removed or modified without doing restart (or doing module unload chan_sip.so)...
2016 Jul 13
0
Certified Asterisk 13.8-cert1 Now Available
...modified without doing restart (or doing module unload chan_sip.so) (Reported by Stefan Engstr??m) * ASTERISK-24640 - Registration pending stays forever after sip reload (Reported by Max Man) * ASTERISK-24682 - app_dial: Multiple DialEnd events emitted when MACRO_RESULT or GOSUB_RESULT are an unexpected value (Reported by Matt Jordan) * ASTERISK-24560 - Creating a named ARI bridge twice causes a crash (Reported by Kinsey Moore) * ASTERISK-24600 - Stuck IAX channels, Asterisk stops responding to most traffic, potential deadlock (Reported by Jeff Collell) * AST...
2016 Jul 27
3
Asterisk 14.0.0-beta1 Now Available
...modified without doing restart (or doing module unload chan_sip.so) (Reported by Stefan Engstr??m) * ASTERISK-24640 - Registration pending stays forever after sip reload (Reported by Max Man) * ASTERISK-24682 - app_dial: Multiple DialEnd events emitted when MACRO_RESULT or GOSUB_RESULT are an unexpected value (Reported by Matt Jordan) * ASTERISK-24560 - Creating a named ARI bridge twice causes a crash (Reported by Kinsey Moore) * ASTERISK-24600 - Stuck IAX channels, Asterisk stops responding to most traffic, potential deadlock (Reported by Jeff Collell) * AST...
2019 Dec 24
0
Certified Asterisk 16.3-cert1 Now Available
...<https://issues.asterisk.org/jira/browse/ASTERISK-24640>] - Registration pending stays forever after sip reload (Reported by Max Man) - [ASTERISK-24682 <https://issues.asterisk.org/jira/browse/ASTERISK-24682>] - app_dial: Multiple DialEnd events emitted when MACRO_RESULT or GOSUB_RESULT are an unexpected value (Reported by Matt Jordan) - [ASTERISK-24560 <https://issues.asterisk.org/jira/browse/ASTERISK-24560>] - Creating a named ARI bridge twice causes a crash (Reported by Kinsey Moore) - [ASTERISK-24600 <https://issues.asterisk.org/jira/browse/ASTERISK-246...