Telium Technical Support
2016-Aug-04 19:20 UTC
[asterisk-users] How does Ast use IP vs FQDN for SIP header fields
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 at 1.1.1.1 SIP/2.0 Via: SIP/2.0/UDP 2.2.2.2:5060;branch=z9hG4bK49f1d30e From: "MYNAM" <sip:+12345678 at 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? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20160804/6271657b/attachment.html>
Annus Fictus
2016-Aug-04 19:44 UTC
[asterisk-users] How does Ast use IP vs FQDN for SIP header fields
hello, try to add fromdomain=yourdomain in your trunk configuration. regards El 04/08/2016 a las 21:20, Telium Technical Support escribi?:> > 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 at 1.1.1.1 SIP/2.0 > > Via: SIP/2.0/UDP 2.2.2.2:5060;branch=z9hG4bK49f1d30e > > From: "MYNAM" <sip:+12345678 at 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? > > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20160804/8b2ad05a/attachment.html>