[Asterisk-Users] Re: 'I'nvalid extension handling problems, even with workaround

Soren Rathje asterisk at lolle.org
Wed Dec 22 05:28:04 MST 2004


;;;extensions.conf

[internal]              ;;; context used by our internal SIP-phon
include => voiptalk.org         ;include context below
exten => 11,1,Dial(SIP/gsbt100,20,tr);calling : dial our office phone
include => invalid_calls        ;all ext numbers not handled above are
invalid

[voiptalk.org]
;forwards any calls starting with an "8" thru voiptalk.org
exten => _8.,1,Answer
exten => _8.,3,SetCIDNum(55555555)
exten => _8.,4,SetCIDName(My Name And Surname)
exten => _8.,5,Dial(SIP/${EXTEN:1}@voiptalk.org,,g)
exten => _8.,6,HangUp

[invalid_calls]         ;;; default context for invalid calls
exten => i,1,Wait(1)
exten => i,2,Answer
exten => i,3,Playback(invalid)
exten => i,4,Hangup

;;;end of extensions.conf


More here: http://www.voip-info.org/wiki-Asterisk+i+extension

/Soren




More information about the asterisk-users mailing list