[asterisk-dev] [Code Review] 4032: PJSIP: Force transport on contact rewrite

Joshua Colp reviewboard at asterisk.org
Mon Sep 29 14:47:44 CDT 2014


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/4032/#review13400
-----------------------------------------------------------



branches/12/res/res_pjsip_nat.c
<https://reviewboard.asterisk.org/r/4032/#comment23885>

    What will this do for UDP transport? For those the transport should be empty.


- Joshua Colp


On Sept. 29, 2014, 7:25 p.m., opticron wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/4032/
> -----------------------------------------------------------
> 
> (Updated Sept. 29, 2014, 7:25 p.m.)
> 
> 
> Review request for Asterisk Developers.
> 
> 
> Repository: Asterisk
> 
> 
> Description
> -------
> 
> If contact rewriting is enabled but the contact differs in transport from what is actually being used, messages after the initial INVITE transaction can be sent to an incorrect transport/port combination. In the case where this bug occurred the remote party never received a BYE since it was sent to the remote party's TCP port over UDP.
> 
> 
> Diffs
> -----
> 
>   branches/12/res/res_pjsip_nat.c 424094 
> 
> Diff: https://reviewboard.asterisk.org/r/4032/diff/
> 
> 
> Testing
> -------
> 
> Ensured that this patch allowed the BYE to be sent properly.
> 
> 
> Thanks,
> 
> opticron
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20140929/54bb93a5/attachment.html>


More information about the asterisk-dev mailing list