Hello, It seems that the outboundproxy parameter in sip.conf is what is needed.
--Elliot On Tue, May 24, 2011 at 12:15 PM, Elliot Murdock <murdo...@gmail.com> wrote: > Hello, > > Thank you for the reply. > > How would one go about adding a SIP proxy IP address in Asterisk for peers? > > The host parameter for a peer (in sip.conf) seems to define both the domain > URI and the IP address for the next SIP proxy hop (there is an ipaddr > parameter, but it seems that only works in realtime sip). > > As far as it seems, an integral part of the SIP protocol is the ability to > send packets out to SIP proxies that have different IP addresses from the > URI's domain (similar to how routing works in IP networking, with gateways > routing destinations). > > --Elliot > > On Tue, May 24, 2011 at 11:11 AM, Olle E. Johansson <o...@edvina.net>wrote: > >> >> 23 maj 2011 kl. 23.36 skrev Paul Belanger: >> >> > 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 " >> >> j...@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. >> > >> I don't what Paul means here... YOu can surely define a peer and add an >> outbound proxy with the IP address... That way we won't overwrite the >> domain. I am not aware of a way of doing it in the dial string in the dial >> plan. >> >> /O >> >> >> -- >> _____________________________________________________________________ >> -- Bandwidth and Colocation Provided by http://www.api-digital.com -- >> New to Asterisk? Join us for a live introductory webinar every Thurs: >> http://www.asterisk.org/hello >> >> asterisk-users mailing list >> To UNSUBSCRIBE or update options visit: >> http://lists.digium.com/mailman/listinfo/asterisk-users >> > >
-- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users