Hello
We have 3 trunks to PSTN network. Two are similar when it comes to incoming calls. They look like this:
-- Executing [number@from-outside:1] Wait("SIP/domain.se-0925bdd0", "1") in new stack
When there are a call to the conference bridge the default language are se so it plays swedish prompts.
domain.se-0925bdd0> Playing 'conf-getpin' (language 'se')
On the third trunk the incoming calls looks like this:
-- Executing [number@from-outside:1] Wait("SIP/ip-address-b74a3d98", "1") in new stack
When there are a call to the conference bridge or similar the default language are English just like that.
ip-address-b74a3d98> Playing 'conf-getpin' (language 'en')
In my sip.conf i have set language=se and according to voip-info.org thats correct if I want to have Swedish as default language.
The prompt are there since it works with my other trunks. My only guess is that Asterisk somehow don´t uses the default language setting in sip.conf when there are an ip-adress instead of a domain address in the SIP/information.
Are there any other settings for the default language that I have missed out? I could over write all the English prompt files to solve this, but that is something I don´t want to do.
Br
Jörgen
if its showing an ip address then that typically means you did not match the trunk and are instead allowing 'guests' to access you.. this too is a security issue as spammers can start telemarketing your customers without violating the do-no-call registry. If you are trying to match a peer by ip address do the following..
change the type to 'peer' ..
if you want to see the trunk name go ahead and populate the 'username' field with the trunk name so that the trunk name presents on diagnostics.