VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
alokkic at gmail.com Guest
|
Posted: Sat Sep 13, 2014 1:05 pm Post subject: [asterisk-users] NOT able to call on local extensions while |
|
|
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@mydomain.net:password@sip.sonetel.com (assword@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 |
|
Back to top |
|
|
admin at tootai.net Guest
|
Posted: Sat Sep 13, 2014 3:10 pm Post subject: [asterisk-users] NOT able to call on local extensions while |
|
|
Le 13/09/2014 20:04, Alok Srivastava a écrit :
Quote: | *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
--
_____________________________________________________________________
-- 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 |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|