[Asterisk-Users] Why 's' doesn't take over unknown extension in
context ?
Robert Rozman
rozman at fri.uni-lj.si
Mon Apr 11 08:22:30 MST 2005
Hi,
I always thought that if there is no called extension in context, then 's'
extension is started (I use latest bristuffed Asterisk) ....
I have context 'from-isdn' :
[from-isdn]
exten => s,1,Wait,2
exten => s,2,NoOp(ISDN call from outside ${CALLERID}: Name: ${CALLERIDNAME},
Number: ${CALLERIDNUM})
exten => s,3,SetCIDName(From ISDN: ${CALLERIDNUM})
exten => s,4,SetCIDNum(0${CALLERIDNUM})
exten => s,5,AGI,callerid_lookup.agi
exten => s,6,NoOp(After callerid_lookup.agi: ${CALLERID}: Name:
${CALLERIDNAME}, Number: ${CALLERIDNUM})
exten => s,7,DBget(temp=DYNAMIC/${CALLERIDNUM})
exten => s,8,DBdel(DYNAMIC/${CALLERIDNUM})
exten => s,9,Background(custom/aa_1)
exten => s,10,Wait,5
exten => s,11,Dial(Local/${temp}@ext-local/n)
exten => s,108,Goto(from-pstn,s,1) ;
exten => 999999,1,Goto(s,1) ;
Now if there is no line 999999 on incoming call I get :
-- Extension '999999' in context 'isdn-incoming' from '041461620' does
not exist. Rejecting call on channel 0/1, span 1
Why doesn't extension 's' get started if extension 999999 is unknown in
context from-isdn?
Thanks in advance,
regards,
Rob.
More information about the asterisk-users
mailing list