I have the following peer, the voip operator told me that asterisk sends the wrong fromdomain:
sip._udp.voip.provider.com.pbx.local
adding at the end the hostname of the machine (pbx.local)
How can I solve?
Thank you
this is the configuration of the peer:
type=peer
qualify=no
language=it
insecure=port,invite host=voip.provider.com
fromuser=telephone_number
defaultuser=telephone_number
dtmfmode=rfc2833
canreinvite=no
nat=no
disallow=all
allow=alaw
I suspect this is a broken DNS configuration that is causing the DNS resolver to treat the names as relative to pbx.local, and canonicalising them, on that basis.