Displaying 4 results from an estimated 4 matches for "gosub_exec".
2012 Dec 19
1
Dialplan - working out when users answer
Hey guys,
I've got a part of my dialplan that dials multiple people:
exten => direct,n,Dial(${QUEUEEXTS},${RINGTIME})
Multiple extensions are in the ${QUEUEEXTS} from an external script - e.g. SIP/100&SIP/101&SIP/105 etc
This works great, however I want to see if I can find a way to work out (and run an AGI script) when the call is picked up by someone.
Thanks all!
2008 Dec 25
1
1.6.1-rc4: extension "i" not working??
...9;d expect
that to go to the invalid extension - "i" - and Return(). But look
what happens:
-- Executing [2136398447 at teliax-in:4] Gosub("IAX2/poseidon-15117",
"set-callerid-name,02136990505,1") in new stack
[Dec 25 13:06:32] ERROR[26483]: app_stack.c:286 gosub_exec: Attempt to
reach a non-existent destination for gosub: (Context:set-callerid-name,
Extension:02136990505, Priority:0)
== Spawn extension (teliax-in, 2136398447, 5) exited non-zero on
'IAX2/johnfbeatty-15117'
-- Hungup 'IAX2/poseidon-15117'
-- Hungup 'DAHDI/4-1...
2011 Apr 03
1
From 1.4 to 1.8: stdexten issue
...]: pbx.c:4119 pbx_extension_helper: No such label 'stdexten' in extension '1' in context 'home'
[Apr 3 18:20:51] WARNING[9031]: pbx.c:10174 pbx_parseable_goto: Priority 'stdexten' must be a number > 0, or valid label
[Apr 3 18:20:51] ERROR[9031]: app_stack.c:411 gosub_exec: Gosub address is invalid: '1,stdexten(SIP/phone1)'
I've googled and pretty much tried all forms of the syntax but I've yet
to make it work. For instance I tried not including stdexten and
calling Gosub with (stdexten,${EXTEN},1(SIP/phone1)) but it didn't work
either...
Can a...
2012 Aug 31
1
Receiving and processing unsolicited XMPP messages with Asterisk 11
...ng 'Gosub'
[Aug 31 14:41:15] DEBUG[6964]: res_xmpp.c:3494 xmpp_client_receive: XML parsing successful
-- Executing [s at xmpp-incoming:1] Gosub("Message/ast_msg_queue", "xmpp-incoming,message,1") in new stack
[Aug 31 14:41:15] DEBUG[6954][C-00000000]: app_stack.c:578 gosub_exec: Channel Message/ast_msg_queue has no datastore, so we're allocating one.
[Aug 31 14:41:15] DEBUG[6954][C-00000000]: pbx.c:6065 __ast_pbx_run: Extension message, priority 0 returned normally even though call was hung up
The exact specifics of the debug after priority 1 varies a little based on...