PRACK and local outbound proxy

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

 



Hi,

I didn't solve it.

The Invite wasn't forked. The reason that you see 2 call-IDs is that I
use SBC instead of proxy, and the SBC acts as B2BUA.

The SBC IP is 60.101.201.1 it manages 2 legs of the call independently
(meaning different dialogs).

The capture shows the UAC side.

 

Thanks,

Noga

 

________________________________

From: pjsip-bounces@xxxxxxxxxxxxxxx
[mailto:pjsip-bounces at lists.pjsip.org] On Behalf Of Benny Prijono
Sent: Monday, February 16, 2009 12:01 PM
To: pjsip list
Subject: Re: PRACK and local outbound proxy

 

Noga, have you resolved this? Looking at your pcap trace I don't see
anything wrong there. Here's what I think had happened:

 - The INVITE forked, and both 180 responses wants 100rel. 
 - PJSIP sent the first PRACK to the first call-leg (the first 180
response). It sent the PRACK to the URI in the Contact of the 180
response, as you expected. 
 - But this PRACK was responded with 481, hence terminating the dialog.

cheers
 Benny



On Wed, Feb 11, 2009 at 1:14 PM, Noga Yehudai <nogab at juniper.net> wrote:

It should deliver the next request to the URI from the contact - which
is the sbc uri.

 

Noga.

 

________________________________

From: pjsip-bounces@xxxxxxxxxxxxxxx
[mailto:pjsip-bounces at lists.pjsip.org] On Behalf Of Gang Liu
Sent: Thursday, February 05, 2009 3:29 PM


To: pjsip list
Subject: Re: PRACK and local outbound proxy

 

Pls consider, how can pjsua know where callee is if your SBC hide the
callee contact.



 

On Thu, Feb 5, 2009 at 8:47 PM, Noga Yehudai <nogab at juniper.net> wrote:

Inline

 

________________________________

From: pjsip-bounces@xxxxxxxxxxxxxxx
[mailto:pjsip-bounces at lists.pjsip.org] On Behalf Of Gang Liu
Sent: Thursday, February 05, 2009 12:58 PM 


To: pjsip list
Subject: Re: PRACK and local outbound proxy

 

inline.

On Thu, Feb 5, 2009 at 6:42 PM, Noga Yehudai <nogab at juniper.net> wrote:

New requests within the dialog will usually go where stated in contact
header of the previous response or as you said using the record route
URI.

The outbound proxy configuration claims that any request will pass
through the proxy, regardless of the contact/RR URIs.

This isn't true for RFC 3261. 

[Noga] you are right, only apply to req' uri.

	I use SBC instead of proxy, and I can't make it add record
route, therefore there will be no record route at all. But it does put
its own URI in the contact header - and this was ignored by pjsip as
well.

	 

I don't think it is SBC. It didn't change contact of 180 respond. 

[Noga] it does change the contact; please see line 5 in cap file as
opposed to line 4.

	Regards,

	Noga

	 

	 

	
________________________________


	From: pjsip-bounces@xxxxxxxxxxxxxxx
[mailto:pjsip-bounces at lists.pjsip.org] On Behalf Of Gang Liu
	Sent: Thursday, February 05, 2009 12:26 PM
	To: pjsip list
	Subject: Re: PRACK and local outbound proxy

	 

	I didn't check pjsip source code to check how PRACK handle
preloaded route set.
	But I think CANCEL goes wherever the INVITE went, using the same
route. But PRACK, UPDATE, INFO not this way.
	Correct me if my understanding is wrong.
	
	BTW, any Record-Route Header added into 200 OK respond?
	
	regards,
	Gang

	On Thu, Feb 5, 2009 at 5:28 PM, Noga Yehudai <nogab at juniper.net>
wrote:

	Isn't that the point of local outbound proxy configuration - to
always pass through the proxy?

	For example re-inv passes through the proxy with the same
configuration.

	 

	Regards,

	Noga

	 

	
________________________________


	From: pjsip-bounces@xxxxxxxxxxxxxxx
[mailto:pjsip-bounces at lists.pjsip.org] On Behalf Of Gang Liu
	Sent: Thursday, February 05, 2009 10:58 AM
	To: pjsip list
	Subject: Re: PRACK and local outbound proxy

	 

	Enable record route at your proxy and try again.
	
	180 ring from proxy don't include Record-Route Header.
	
	regards,
	
	Gang

	On Thu, Feb 5, 2009 at 3:33 PM, Noga Yehudai <nogab at juniper.net>
wrote:

	Hi,

	I found a problem when using Pjsua with -use-100rel and
-outbound.

	When using outbound proxy with PRACK, the PRACK will be sent
directly to the user and bypass the proxy.

	Do you have any idea how to overcome this issue? Is it a known
bug?

	I attached the capture of the call you can use Wireshark to view
it.

	 

	Thanks,

	Noga

	
	_______________________________________________
	Visit our blog: http://blog.pjsip.org <http://blog.pjsip.org/> 
	
	pjsip mailing list
	pjsip at lists.pjsip.org
	http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

	 

	
	_______________________________________________
	Visit our blog: http://blog.pjsip.org <http://blog.pjsip.org/> 
	
	pjsip mailing list
	pjsip at lists.pjsip.org
	http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

	 

	
	_______________________________________________
	Visit our blog: http://blog.pjsip.org <http://blog.pjsip.org/> 
	
	pjsip mailing list
	pjsip at lists.pjsip.org
	http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

 


_______________________________________________
Visit our blog: http://blog.pjsip.org <http://blog.pjsip.org/> 

pjsip mailing list
pjsip at lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

 


_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip at lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20090216/bcf29527/attachment-0001.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux