[asterisk-dev] [Code Review] 2455: Add support for DTMF via SIP INFO
Joshua Colp
reviewboard at asterisk.org
Tue Apr 16 17:51:23 CDT 2013
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/2455/#review8296
-----------------------------------------------------------
/team/group/pimp_my_sip/channels/chan_gulp.c
<https://reviewboard.asterisk.org/r/2455/#comment15968>
As mentioned below - when you allocate this make sure it gets freed here appropriately.
/team/group/pimp_my_sip/channels/chan_gulp.c
<https://reviewboard.asterisk.org/r/2455/#comment15966>
tdata memory leak
/team/group/pimp_my_sip/channels/chan_gulp.c
<https://reviewboard.asterisk.org/r/2455/#comment15967>
No can do! Since you made this async now dtmf_data has to be allocated, and you also need to ensure it gets freed if pushing it fails.
/team/group/pimp_my_sip/channels/chan_gulp.c
<https://reviewboard.asterisk.org/r/2455/#comment15969>
Remember to bump the ref for session up.
- Joshua Colp
On April 16, 2013, 8:26 p.m., Jason Parker wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/2455/
> -----------------------------------------------------------
>
> (Updated April 16, 2013, 8:26 p.m.)
>
>
> Review request for Asterisk Developers.
>
>
> Bugs: ASTERISK-21261
> https://issues.asterisk.org/jira/browse/ASTERISK-21261
>
>
> Repository: Asterisk
>
>
> Description
> -------
>
> Sending is done inside of chan_gulp, if the dtmf= setting in res_sip.conf is set to info. Receiving is done as a separate module, since that made the most sense, to me.
>
>
> Diffs
> -----
>
> /team/group/pimp_my_sip/channels/chan_gulp.c 385911
> /team/group/pimp_my_sip/res/res_sip_dtmf_info.c PRE-CREATION
>
> Diff: https://reviewboard.asterisk.org/r/2455/diff/
>
>
> Testing
> -------
>
> DTMF gets parsed properly. Outgoing packet looks okay.
>
>
> Thanks,
>
> Jason Parker
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20130416/46e14a2b/attachment.htm>
More information about the asterisk-dev
mailing list