View previous topic :: View next topic |
Author |
Message |
support at telium.ca Guest
|
Posted: Thu Aug 04, 2016 2:21 pm Post subject: [asterisk-users] How does Ast use IP vs FQDN for SIP header |
|
|
We are working with an ISP that needs Asterisk to place a FQDN name in the SIP ‘FROM’ and ‘INVITE’ fields – where Asterisk is currently using an IP address. A SIP trace shows the following from my Asterisk box:
INVITE sip:62351155@1.1.1.1 SIP/2.0
Via: SIP/2.0/UDP 2.2.2.2:5060;branch=z9hG4bK49f1d30e
From: "MYNAM" <sip:+12345678@2.2.2.2>;tag=as3d9596b0
We tried adding hosts file entries mapping these IP’s to hostname’s but Asterisk didn’t use them. Can someone suggest how to do this? |
|
Back to top |
|
|
annusfictus at gmail.com Guest
|
Posted: Thu Aug 04, 2016 2:44 pm Post subject: [asterisk-users] How does Ast use IP vs FQDN for SIP header |
|
|
hello,
try to add fromdomain=yourdomain
in your trunk configuration.
regards
El 04/08/2016 a las 21:20, Telium Technical Support escribió:
Quote: | <![endif]--> <![endif]-->
We are working with an ISP that needs Asterisk to place a FQDN name in the SIP ‘FROM’ and ‘INVITE’ fields – where Asterisk is currently using an IP address. A SIP trace shows the following from my Asterisk box:
INVITE [url=sip:62351155@1.1.1.1]sip:62351155@1.1.1.1[/url] SIP/2.0
Via: SIP/2.0/UDP 2.2.2.2:5060;branch=z9hG4bK49f1d30e
From: "MYNAM" [url=sip:+12345678@2.2.2.2]<sip:+12345678@2.2.2.2>[/url];tag=as3d9596b0
We tried adding hosts file entries mapping these IP’s to hostname’s but Asterisk didn’t use them. Can someone suggest how to do this?
|
|
|
Back to top |
|
|
|