partysip-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Partysip-dev] REGISTER command- and Response from patysip


From: Aymeric Moizard
Subject: Re: [Partysip-dev] REGISTER command- and Response from patysip
Date: Tue, 4 Nov 2003 14:33:06 +0100 (CET)


On Tue, 4 Nov 2003, Howard March wrote:

>
> I'm using partysip/0.5.5. I've got a question on REGISTER command. To
> which ip does the partysip send the 200 OK response for a REGISTER
> command.

> 1. is it the ip:port in the Via header??
> or
> 2. from where it recieved the request.

partysip (like any compliant proxy) should send the response
to the IP address of the IP packet (no the Via) and to the port
found in the Via header.

> I'm working on symmetric NAT solution thru a TURN-like server fro my
> softphone. where all then communication from the partysip shud be routed
> thru a TURN-like server. my scenario is
>
> I have a client A who is behind NAT(ip is 202.122.122.20 )
> TURN like server hosted at ..68.122.235.171

>  say my register req is sent directly to the partysip. lets assume its
> sent from ( 202.122.122.20:7000 )
>
> my Via header conatins the user IP as 68.122.235.171:3000

>  The partysip is not using the IP address provideed in Via or the
> Contact headers but it is using the port no and the IP address of UDP
> source.
>
> in my case, partysip sends the response 202.122.122.20:3000.

This is what's expected if you follow the rfc3261.

> can somebody explain me why this behaviour is?? and what can i do to
> make the proxy use the IP provided in Via or Contact headers in REGISTER
> packet.

There is no official way to NOT be compliant!! :<

If you want partysip to send reply to IP:port of the via header,
you can try to comment the call to "__osip_message_fix_last_via_header"
in the udp plugin.

Aymeric

> Thanks.
>
> Howard
>
>
>
> ---------------------------------
> Do you Yahoo!?
> Protect your identity with Yahoo! Mail AddressGuard




reply via email to

[Prev in Thread] Current Thread [Next in Thread]