[asterisk-dev] SIP Peer option "ipaddr" What is its use?

Kevin P. Fleming kpfleming at digium.com
Sun Feb 7 19:17:23 CST 2010


Mark Michelson wrote:

> On my trip to FOSDEM, I've been analyzing the various config options 
> available in chan_sip. One of the options that can be set within a sip 
> peer is the parameter "ipaddr." This seems to function the same as if 
> you had set host=<some_ip_address>. Is there a reason for this option? 
>  From a cursory look, this appears to be a more restrictive version of 
> the "host" parameter. Unfortunately, an svn blame is not helpful for 
> finding this out since the parsing code for that option plus some others 
> around it were shuffled to fix a 100% CPU issue.

I believe that is there to store the IP address that a dynamic peer
registers from when realtime is in use.

-- 
Kevin P. Fleming
Digium, Inc. | Director of Software Technologies
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
skype: kpfleming | jabber: kpfleming at digium.com
Check us out at www.digium.com & www.asterisk.org



More information about the asterisk-dev mailing list