[asterisk-dev] [Code Review] IPv6 in Asterisk

Simon Perreault simon.perreault at viagenie.ca
Thu Jul 8 14:09:47 CDT 2010



> On 2010-07-08 13:46:37, Mark Michelson wrote:
> > /trunk/channels/chan_sip.c, lines 25934-25942
> > <https://reviewboard.asterisk.org/r/743/diff/7/?file=11428#file11428line25934>
> >
> >     There is some missing logic here regarding the setting of the port for peer->addr. If a peer has has a non-dynamic host set, but has not specified a port, then peer->addr will have a port of 0. It needs to have the default SIP port for the transport type. I've highlighted this section of code because the trunk code on the left is basically what is needed here.

Indeed, it looks like this code just vanished in our branch. There seems to be no equivalent.

Fixed in r274772.


- Simon


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


On 2010-07-08 12:13:07, Simon Perreault wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/743/
> -----------------------------------------------------------
> 
> (Updated 2010-07-08 12:13:07)
> 
> 
> Review request for Asterisk Developers and Mark Michelson.
> 
> 
> Summary
> -------
> 
> This is the port of Asterisk to IPv6.
> 
> 
> This addresses bug 17565.
>     https://issues.asterisk.org/view.php?id=17565
> 
> 
> Diffs
> -----
> 
>   /trunk/addons/chan_ooh323.c 274727 
>   /trunk/apps/app_externalivr.c 274727 
>   /trunk/channels/chan_gtalk.c 274727 
>   /trunk/channels/chan_h323.c 274727 
>   /trunk/channels/chan_iax2.c 274727 
>   /trunk/channels/chan_jingle.c 274727 
>   /trunk/channels/chan_mgcp.c 274727 
>   /trunk/channels/chan_multicast_rtp.c 274727 
>   /trunk/channels/chan_sip.c 274727 
>   /trunk/channels/chan_skinny.c 274727 
>   /trunk/channels/chan_unistim.c 274727 
>   /trunk/channels/sip/dialplan_functions.c 274727 
>   /trunk/channels/sip/include/dialog.h 274727 
>   /trunk/channels/sip/include/globals.h 274727 
>   /trunk/channels/sip/include/reqresp_parser.h 274727 
>   /trunk/channels/sip/include/sip.h 274727 
>   /trunk/channels/sip/reqresp_parser.c 274727 
>   /trunk/include/asterisk/acl.h 274727 
>   /trunk/include/asterisk/config.h 274727 
>   /trunk/include/asterisk/dnsmgr.h 274727 
>   /trunk/include/asterisk/netsock2.h PRE-CREATION 
>   /trunk/include/asterisk/rtp_engine.h 274727 
>   /trunk/include/asterisk/tcptls.h 274727 
>   /trunk/main/acl.c 274727 
>   /trunk/main/app.c 274727 
>   /trunk/main/config.c 274727 
>   /trunk/main/dnsmgr.c 274727 
>   /trunk/main/http.c 274727 
>   /trunk/main/manager.c 274727 
>   /trunk/main/netsock2.c PRE-CREATION 
>   /trunk/main/rtp_engine.c 274727 
>   /trunk/main/tcptls.c 274727 
>   /trunk/res/res_rtp_asterisk.c 274727 
>   /trunk/res/res_rtp_multicast.c 274727 
> 
> Diff: https://reviewboard.asterisk.org/r/743/diff
> 
> 
> Testing
> -------
> 
> See test report on the mantis issue.
> 
> 
> Thanks,
> 
> Simon
> 
>




More information about the asterisk-dev mailing list