*Dear List*
Plz help, i am not much experienced with asterisk. i configured it on
ubuntu 12.04. no problem when i call any mobile no(0091XXXXXXXXXX) but when
i call on my local asterisk  no.(101,102 or 105) it is not connecting
giving error
"Auto fallthrough, channel 'SIP/lucknow-0000006f' status is 'CHANUNAVAIL'
*while when i call 200 it is playing audiofile successfully. Please help *here
is my sip.conf and extensions.conf.

thanks.



*=========================sip.conf============================*


[general]
context=unauthenticated
allowguest=yes
srvlookup=yes
udpbindaddr=0.0.0.0
tcpenable=no
register => supp...@mydomain.net:passw...@sip.sonetel.com
outboundproxy=sip.sonetel.com

[usa_number]
type=friend
dtmfmode=rfc2833
context=hello123
host=sip.sonetel.com
username=support
secret=password
nat=yes
fromdomain=mydomain.net
outboundproxy=sip.sonetel.com
insecure=invite
disallow=All
allow=alaw
allow=ulaw
allow=gsm


[office-phone](!)
type=friend
context=LocalSets
host=dynamic
nat=yes
secret=s3CuR#p@s5
dtmfmode=auto
disallow=all
allow=ulaw

; define a device name and use the office-phone template
[bombay](office-phone)

; define another device name using the same template
[lucknow](office-phone)

[test5](office-phone)

===========================================================




*====================extensions.conf===========================*


[LocalSets]

exten => _00X.,1, Answer
exten => _00X.,n, Set(CALLERID(num)=support)
exten => _00X.,n, Dial(SIP/${EXTEN}@support)
exten => _00X.,n, Hangup


exten => 101,1,Dial(SIP/lucknow)

exten => 102,1,Dial(SIP/bombay)

exten => 105,1,Dial(SIP/test5)


exten => 200,1,Answer()
    same => n,Playback(an_audio_file)
    same => n,Hangup()

[hello123]
exten => support,1,Answer
exten => support,n,Playback(Enterprise-Welcome-message);
exten => support,n, Hangup


===========================================================




regards
abhi
-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to