Displaying 4 results from an estimated 4 matches for "dialloc".
Did you mean:
dealloc
2009 Sep 08
2
1.2 AGI Deadlock
...I
get the "avoided deadlock" message below.
*CLI> == Spawn extension (CONTEXT3, 6080, 8) exited non-zero on
'SIP/3211-1-081c40a8'
-- Executing NoOp("SIP/3211-1-081c40a8", "") in new stack
-- Executing AGI("SIP/3211-1-081c40a8", "diallocal.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/diallocal.agi
Sep 8 10:29:43 WARNING[28938]: channel.c:780 channel_find_locked: Avoided
initial deadlock for '0x818dcc0', 9 retries!
-- AGI Script diallocal.agi completed, returning 0
This is purely a test...
2007 Sep 03
1
Dificult macro, please advise
...nd leave a message only on mailbox 1.
This is inteded for a SOHO environment.
I have defined only two mailboxes, the 1'st for personal ussage and
the 2'nd for profesional usage.
The macro that now allows me to do that is the following:
EXT_CALLER=
EXT_STUDIO=SIP/3
exten => _X,1,Macro(diallocal|SIP/${EXTEN}|20,Tr)
[macro-diallocal]
exten => s,1,Dial(${ARG1}|${ARG2}|${ARG3})
exten => s,2,Set(EXT_CALLED=${ARG1})
exten => s,3,GotoIf($["${EXT_CALLED}"="${EXT_STUDIO}"]?s-STUDIO-${DIALSTATUS},1:s-REST-${DIALSTATUS},1)
exten => s-STUDIO-NOANSWER,1,Voicemail(u2)...
2009 Jun 04
3
PHP/AGI/SetVar Issue
...er of variables you can set from a PHP agi
script? I have a simple example and I can't get it to let me set more than
1. I am pretty sure I am just missing something, but I've searched all over
an can't find the answer. Here is the extensions.conf part:
exten => _XXXXXXXXXX,1,AGI,diallocal.agi exten =>
_XXXXXXXXXX,n,NoOp(${ISLOCALCONTEXT})
exten => _XXXXXXXXXX,n,NoOp(${ISLOCALDID})
Here is the part from the agi that sets the variables:
echo ' EXEC SetVar ISLOCALCONTEXT="'.$row['context'].'"';
echo ' EXEC SetVar ISLOCALDID="'.$...
2007 Sep 02
1
How can i send my sip channel 3 to mailbox 2? Please Help!
...pwd3
callerid = "Studio" <3>
host = dynamic
nat = no
mailbox = 2
qualify = yes
canreinvite = no
callgroup = 2
pickupgroup = 2,1
dtmfmode = rfc2833
---------------------- EXTENSIONS.CONF -----------------------------
[internal]
exten => _x,1,Macro(diallocal|${EXTEN}|SIP/${EXTEN}|15)
[macro-diallocal]
exten => s,1,Dial(${ARG2}|${ARG3}|Tr)
exten => s,2,Goto(s-${DIALSTATUS},1)
exten => s-NOANSWER,1,Voicemail(u${ARG1})
exten => s-NOANSWER,2,Hangup()
exten => s-BUSY,1,Voicemail(b${ARG1})
exten => s-BUSY,2,Hangup
exten => _s-.,1,Hang...