[asterisk-users] Sending call to specific IP address
Elliot Murdock
murdocke at gmail.com
Tue May 24 04:25:02 CDT 2011
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 <murdocke at 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 <oej at 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 "
>> >> 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.
>> >
>> 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
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110524/7464a833/attachment-0001.htm>
More information about the asterisk-users
mailing list