[asterisk-users] dealing with blind transfers to invalid extensions

Jeronimo Romero jromero at eusnetworks.com
Mon Oct 30 18:13:08 MST 2006


Running Asterisk 1.2.8  kernel  2.6.13.4-1. 
Everything in my dialplan seems to be working well except for one
problem. 
When calls are blind transferred to an invalid extension I would like
the call to go to the operator on ext 1000?
What is the best way to do this? Thanks in advance 


Here's a snippet of my extensions.conf

[default]
exten=>_10XX,1,Macro(stdexten,${EXTEN},SIP/${EXTEN})
exten=>_11XX,1,Macro(stdexten,${EXTEN},SIP/${EXTEN})
include=>record
include=>parkedcalls
include=>voicepulseoutgoing
include=>conferences
include=>voicemail


[macro-stdexten]
exten=>s,1,Dial(${ARG2},20,t)
exten=>s,2,Goto(s-${DIALSTATUS},1)
exten=>s-NOANSWER,1,Voicemail(u${ARG1})
exten=>s-NOANSWER,2,Goto(default,s,1)
exten=>s-BUSY,1,Voicemail(b${ARG1})
exten=>s-BUSY,2,Goto(default,s,1)
exten=>_s-.,1,Goto(s-NOANSWER,1)
exten=>a,1,VoicemailMain(${ARG1})

======================
Jeronimo Romero
EUS Networks
Email: jromero at euscorp.com
Cell: 917-332-7238
Office: 212-624-5943
Web: www.euscorp.com
======================



More information about the asterisk-users mailing list