[Asterisk-Users] extensions

Vikram Rangnekar vicky at freebsdcluster.net
Wed Feb 18 22:46:17 MST 2004


[bombay]
include => features
include => internal-sip
include => internal-iax
include => bogus

[internal-sip]
exten => _2XXX,1,Dial(SIP/${EXTEN},20)
exten => _2XXX,2,Voicemail(u${EXTEN})
exten => _2XXX,102,Voicemail(b${EXTEN})
exten => _2XXX,103,Hangup

[internal-iax]
exten => _3XXX,1,Dial(IAX2/${EXTEN},20)
exten => _3XXX,2,Voicemail(u${EXTEN})
exten => _3XXX,102,Voicemail(b${EXTEN})
exten => _3XXX,103,Hangup

[features]
exten => 2999,1,VoicemailMain(${CALLERIDNUM})

[bogus]
exten => _.,1,Congestion
exten => _.,2,Hangup
exten => h,1,Hangup

That is my dialplan now i have users from 2000 to 2003 registered in sip.conf
and user 3001 in iax.conf. both the clients work properly and i can call to
and fro but i cant seem to direct calls to 200X number which on not listed to
a congestion signal and same for numbers greater then 3001 which i havent
setup. 

also in both the files sip.conf and iax.conf under general context i have
added the line context=bogus.
-- 
regards
Vikram (http://www.vicramresearch.com)



More information about the asterisk-users mailing list