same => n,Set(CALLERID(name)=${ICONV(866,UTF8,${CALLERID(name)})})
- DISA(no-password | to-sip-users);
+ DISA(no-password,to-sip-users);
core set verbose 6
full => notice,warning,error,debug,verbose(5),dtmf
module reload logger
[from-internal]
exten => _000XXX,1,Page(PJSIP/${EXTEN:3},isdb(paging-header^s^1))
same => n,HangUp
[paging-header]
exten => s,1,Set(PJSIP_HEADER(add,Call-Info)=;Answer-After=0)
same => n,Set(PJSIP_HEADER(add,Alert-Info)=Info=Alert-Autoanswer)
same => n,Set(PJSIP_HEADER(add,P-Auto-Answer)=normal)
same => n,Set(PJSIP_HEADER(add,Answer-Mode)=Auto)
same => n,Return
--exten => s,1,Noop(----Custom-Dial-Trunk---)
++exten => 79217776655,1,Noop(----Custom-Dial-Trunk---)
--same => n,Set(MY_EXTEN=77777777)
--same => n,Dial(SIP/${MY_EXTEN}@${MY_TRUNK},60,rTt)
++same => n,Dial(SIP/${EXTEN}@${MY_TRUNK},60,rTt)
--exten => s,1,Noop(----Custom-Dial-Trunk---)
++exten => _X.,1,Noop(----Custom-Dial-Trunk---)
--same => n,Set(MY_EXTEN=77777777)
--same => n,Dial(SIP/${MY_EXTEN}@${MY_TRUNK},60,rTt)
++same => n,Dial(SIP/${EXTEN}@${MY_TRUNK},60,rTt)