Strange Asterisk trunk behaviour
Posted: Tue Oct 11, 2016 5:36 am
Hello,
I've stumbled on very strange inbound sip trunk behaviour. There are some phones and sip trunk configured in carriers. sip-vicidial.conf reads:
There is test extension included in both trunkinbound and default contexts in extensions.conf
When I changed default asterisk language in sip.conf phone happily accepted it and test call played proper prompts, while incoming calls from trunk still played default prompts. When I tried to change trunk context to default one, the conf file was properly regenerated, but the trunk continued to place inbound calls in trunkinbound context! Changing context in sip.conf rerouted calls to the default context, but did not solve language issue.
I.e. there are two problems:
-- trunk does not accept language change, nor through sip.conf, nor through vicidial carrier configuration interface (sip-vicidial.conf)
-- trunk does not accept context change through vicidial carrier configuration interface (sip-vicidial.conf)
Could you advise and/or comment, please?
Thank you!
Gene
I've stumbled on very strange inbound sip trunk behaviour. There are some phones and sip trunk configured in carriers. sip-vicidial.conf reads:
- Code: Select all
; Cisco Call Manager 1
[CiscoCallManager1]
type=friend
host=10.X.X.X
context=trunkinbound
canreinvite=no
dtmfmode=inband
disallow=all
allow=alaw
allow=ulaw
deny=0.0.0.0/0
permit=10.X.X.X./32
incominglimit=0
insecure=invite,port
[6150]
username=6150
secret=XXXXX
accountcode=6150
callerid="6150" <6150>
mailbox=6150
context=default
type=friend
host=dynamic
There is test extension included in both trunkinbound and default contexts in extensions.conf
- Code: Select all
; ***** Echo test *****
exten => 6199,1,Wait(1)
exten => 6199,n,Answer()
exten => 6199,n,Playback(demo-echotest)
exten => 6199,n,Echo()
exten => 6199,n,Hangup()
When I changed default asterisk language in sip.conf phone happily accepted it and test call played proper prompts, while incoming calls from trunk still played default prompts. When I tried to change trunk context to default one, the conf file was properly regenerated, but the trunk continued to place inbound calls in trunkinbound context! Changing context in sip.conf rerouted calls to the default context, but did not solve language issue.
I.e. there are two problems:
-- trunk does not accept language change, nor through sip.conf, nor through vicidial carrier configuration interface (sip-vicidial.conf)
-- trunk does not accept context change through vicidial carrier configuration interface (sip-vicidial.conf)
Could you advise and/or comment, please?
Thank you!
Gene