[pjsip] PRACK and local outbound proxy
Gang Liu
gangban.lau at gmail.com
Thu Feb 5 08:29:19 EST 2009
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 at lists.pjsip.org [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: [pjsip] 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 at lists.pjsip.org [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: [pjsip] 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 at lists.pjsip.org [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: [pjsip] 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
>
> 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
>
>
>
>
> _______________________________________________
> 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
>
>
>
> _______________________________________________
> 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/20090205/823d5380/attachment-0001.html>
More information about the pjsip
mailing list