Displaying 4 results from an estimated 4 matches for "deskopt".
Did you mean:
deskop
2006 May 09
2
exten statement execution order
...default std-exten macro. What I'm trying
to figure out is how to regain control when the call is answered.
; Standard extension logic
[macro-stdexten]
; ${ARG1}=Extension ${ARG2}=Device(s) to ring
exten => s,1,NoOp(stdexten ${EXTEN})
exten => s,n,Set(cname=${CALLERID(number)}@asterisk.deskoptional.com)
exten => s,n,Set(CALLERID(number)=${cname})
exten => s,n,Macro(psa-predial)
exten => s,n,Dial(${ARG2},20,tTwW)
exten => s,n,Set(savestatus=${DIALSTATUS})
exten => s,n,Macro(psa-postdial)
exten =>
s,n,Goto(s-${savestatus},1);ANSWER,BUSY,CHANUNAVAIL,CONGESTION,ANSWER
exte...
2006 May 05
5
Code parsing error?
This code executes just fine, and leaves the SIP peer's mailbox setting from sip.conf in variable target.
exten => 1,1,Set(target=${CHANNEL:4}-)
exten => 1,n,Set(target=${SIPPEER(${CUT(target,,1)}:mailbox})
exten => 1,n,VoiceMailMain(${target})
However, every time it runs I get an error in the CLI as follows
WARNING[5629]: pbx.c:1366 ast_func_read: Can't
2007 Jul 01
3
Suppress MusicOnHold in Queue
I want callers to go into the queue(s) and just hear ringing instead of MOH.
Is this possible?
exten => 200,1,Ringing()
exten => 200,n,Queue(queue1|t|||15)
exten => 200,n,Queue(queue2|t|||15)
It looks to me like MOH is built-in to the queue, but if anybody knows
otherwise please speak up!
2006 May 06
3
Voicemail error
I (sometimes) get this error message:
WARNING[17191]: app_voicemail.c:2411 leave_voicemail: No entry in voicemail config file for 'irstname.lastname'
I can see the value of the argument is "firstname.lastname" when this line executes in the std-exten macro:
exten => s-NOANSWER,1,Voicemail(u${ARG1}) ; If unavailable...
But the error message drops the first character. It