Hi
The alg just change the ip from private to public when sending the register 
request
But it doesn't change it back to private on the ok response it sends to the 
device

The ok response contains the contact header but with the public ip

Device to network(router)
REGISTER
Contact: sip:u...@private

Network(router) to proxy 
REGISTER
Contact: sip:u...@public

Proxy to Network(router) 
200 OK
Contact: sip:u...@public

Network(router) to device
200 OK
Contact: sip:u...@public

Sofia doesn't recognize u...@public

Sent from my iPad

On Jan 12, 2011, at 3:35 PM, Pekka Pessi <ppe...@gmail.com> wrote:

> Hi Inca,
> 
> 2011/1/11 Inca Rose <incar...@gmail.com>:
>> During  a deployment with a service provider I come across several home 
>> based routers that the SIP-ALG implementation is wrong.
>> the router changes the Contact IP address from the private to the public 
>> during a REGISTER request, but do not change it back to the private address 
>> when sending
>> back the OK to the client.
>> Sofia-SIP will ignore the OK because it doesn't recognize the Contact.
>> 
>> I want to make NUA a little bit more flexible here. What will be the best 
>> approach to tell NUA to
>> ignore this erroneous SIP-ALG behavior ?
> 
> Do you get the username correct if you use NUTAG_M_USERNAME()? Or does
> the ALG drop everything from your Contact?
> 
> -- 
> Pekka.Pessi mail at nokia.com

------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to