search for: gosub_retv

Displaying 5 results from an estimated 5 matches for "gosub_retv".

Did you mean: gosub_retval
2009 May 11
3
How to write custom functions in AEL2 ,
Hi, I'm using asterisk 1.6.1 and AEL2. I'm trying to find the best way to write my own custom functions ? At the moment, I'm using this pattern (extensions.ael) : context foo { 123 => { &myfunc(123456); NoOp(${GOSUB_RETVAL}); }; macro myfunc (arg) { Return (${arg}); } 1. First, I keep getting warnings like Warning: file /etc/asterisk/extensions.ael, line 446-446: application call to Return affects flow of control, and needs to be re-written using AEL if, while, goto, etc. keywords instead! and I would like to...
2015 Oct 06
2
PJSIP: how to retrieve underlying SIP Call-ID
...angup,s,1()") in new stack -- Executing [s at _pre_dial:3] Return("PJSIP/xyz011101-00000070", "") in new stack == Spawn extension (xyz, 999, 1) exited non-zero on 'PJSIP/xyz011101-00000070' -- PJSIP/xyz011101-00000070 Internal Gosub(_pre_dial,s,1) complete GOSUB_RETVAL= -- Called PJSIP/xyz011101/sip:xyz011101@<outbound_proxy>:5060 == Using SIP RTP Audio TOS bits 184 -- PJSIP/xyz011101-00000070 is ringing -- PJSIP/xyz011101-00000070 Internal Gosub(_hangup,s,1) start -- Executing [s at _hangup:1] NoOp("PJSIP/xyz011101-00000070",...
2012 Oct 02
2
Questions on converting to ConfBridge
I'm looking at what would be involved in converting from MeetMe to ConfBridge and there seems to be a lot of missing administrative things, but I hope I'm just missing it. We all know about the missing realtime linkage. That's a major nuisance, but can be worked around. More serious is that the CLI command to display users in a ConfBridge don't show the caller ID information, so
2010 Jul 17
1
AGI gosub return value
It appears that there's no way to get the return value from a GOSUB into an AGI script. Is that correct?
2012 Aug 22
1
recording calls
...:2] Macro("SIP/1010-00000161", "blkvm-clr,") in new stack -- Executing [s at macro-blkvm-clr:1] Set("SIP/1010-00000161", "SHARED(BLKVM,SIP/BVTrunk-00000160)=") in new stack -- Executing [s at macro-blkvm-clr:2] Set("SIP/1010-00000161", "GOSUB_RETVAL=") in new stack -- Executing [s at macro-blkvm-clr:3] MacroExit("SIP/1010-00000161", "") in new stack -- Executing [s at macro-auto-blkvm:3] ExecIf("SIP/1010-00000161", "0?Set(MASTER_CHANNEL(CONNECTEDLINE(num))=1010)") in new stack -- Execu...