Alok Srivastava
2014-Sep-13 18:04 UTC
[asterisk-users] NOT able to call on local extensions while successfully call on external mobile no.(using SONETEL account)
*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 => support at mydomain.net:password at 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 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.digium.com/pipermail/asterisk-users/attachments/20140913/22f4a895/attachment.html>
Administrator TOOTAI
2014-Sep-13 20:10 UTC
[asterisk-users] NOT able to call on local extensions while successfully call on external mobile no.(using SONETEL account)
Le 13/09/2014 20:04, Alok Srivastava a ?crit :> *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.Check with 'sip show peers' in asterisk CLI, your extensions are not registred (bombay,lucknow and test5) -- Daniel