Hello, I am wondering how to send a call to a specific IP address that is different than the host of the URI. For example, an invite to the URI is " john at phone.com" needs to be sent to the IP address 123.456.789.255, not to the IP address of phone.com. How is this done? Thanks, Elliot -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110524/dde858af/attachment.htm>
On 11-05-23 05:30 PM, Elliot Murdock wrote:> Hello, > > I am wondering how to send a call to a specific IP address that is different > than the host of the URI. For example, an invite to the URI is " > john at phone.com" needs to be sent to the IP address 123.456.789.255, not to > the IP address of phone.com. > > How is this done? >Look at the 'Contact' header. -- Paul Belanger Digium, Inc. | Software Developer twitter: pabelanger | IRC: pabelanger (Freenode) Check us out at: http://digium.com & http://asterisk.org
On 23/05/11 22:30, Elliot Murdock wrote:> Hello, > > I am wondering how to send a call to a specific IP address that is > different than the host of the URI. For example, an invite to the URI > is "john at phone.com <mailto:john at phone.com>" needs to be sent to the IP > address 123.456.789.255, not to the IP address of phone.com > <http://phone.com>. > > How is this done? > > Thanks, > Elliot > >Unless I'm misunderstanding the question, the owner of "phone.com" should use DNS SRV records to advertise where to send SIP traffic to if it is not the same as the A record for "phone.com". E.G. paul at barney:~$ host provu.co.uk provu.co.uk has address 81.187.73.2 paul at barney:~$ host -t SRV _sip._udp.provu.co.uk _sip._udp.provu.co.uk has SRV record 0 1 5060 pbx.provu.co.uk. cheers, Paul.