Re: Problems when listening to all interfaces

"M. Ranganathan" <[email protected]> Fri, 26 Jan 2007 10:09:31 -0500
Newsgroups gmane.comp.voip.nist-sip
Message-ID <[email protected]>
Yes your suggested fix seems to be on the mark. I am cc-ing Emil as he 
had put that original line in there.

Ranga

Stefano Zappaterra wrote:

> Hi Ranga
>
> I've configured the stack to listen to all interfaces, using a single 
> ListeningPoint bound to "0.0.0.0 <http://0.0.0.0>" ip address.
> The stack correctly receives messages, but does not send them, 
> displaying this error:
> "sentBy does not match the sentby setting of the ListeningPoint 
> 192.168.1.3:5060 <http://192.168.1.3:5060>"
>
> In line 288 in file SipProviderImpl.java I've found
> !listeningPoint.getSentBy().equalsIgnoreCase(IN_ADDR_ANY)
>
> shouldn't it be
> !listeningPoint.getIPAddress().equalsIgnoreCase(IN_ADDR_ANY)   ?
>
> The same observation applies in the next line for IN6_ADDR_ANY.
>
> Thanks,
> Stefano
>
>------------------------------------------------------------------------
>
>_______________________________________________
>nist-sip mailing list
>[email protected]
>http://www-x.antd.nist.gov/mailman/listinfo/nist-sip
>  
>


-- 
M. Ranganathan 

Advanced Networking Technologies Division,
National Institute of Standards and Technology (NIST),
100 Bureau Drive, Stop 8920, Gaithersburg, MD 20899. 
tel:301 975 3664 , fax:301 590 0932 http://w3.antd.nist.gov/
Advanced Networking Technologies For the People!