[Asterisk-video] dtmf not working anymore using app_mp4 > rev187

Rene van Weert rvweert at gmail.com
Thu Jan 24 05:56:14 CST 2008


Hi,

This doesn't work for me, or I have doen something wrong I guess. This is
what my code looks like now:

                                        /* Check for dtmf extension in
context */
                                        if (ast_exists_extension(chan,
chan->context, dtmf, 1, NULL)) {
                                                /* Set extension to jump */
                                                res = f->subclass;
                                                res = atoi(dtmf);
                                                /* Free frame */
                                                ast_frfree(f);
                                                /* exit */
                                                goto end;

Cheers,
Rene

On Jan 24, 2008 4:06 AM, Low Yu Siang <yusiang at yahoo.com> wrote:

> This solution works for me! I am using rev210 on
> asterisk 1.4.15.
>
> --- Valerio Puglia <valerio at oscorp.sm> wrote:
>
> > i have resolved to restore f->subclass;
> >
> > r192
> >
> <http://sip.fontventa.com/trac/asterisk/browser/app_mp4/app_mp4.c?rev=192>
> >
> >       r197
> >
> <http://sip.fontventa.com/trac/asterisk/browser/app_mp4/app_mp4.c?rev=197>
> >
> >
> >
> >     *
> >
> >
> >           /app_mp4/app_mp4.c
> >
> >
> <http://sip.fontventa.com/trac/asterisk/browser/app_mp4/app_mp4.c?rev=197>
> >
> >       r192
> >
> >
> <http://sip.fontventa.com/trac/asterisk/browser/app_mp4/app_mp4.c?rev=192>
> >               r197
> >
> >
> <http://sip.fontventa.com/trac/asterisk/browser/app_mp4/app_mp4.c?rev=197>
> >
> >       527     527
> >    if
> >       (ast_exists_extension(chan, chan->context,
> > dtmf, 1, NULL)) {
> >       528     528
> >            /* Set
> >       extension to jump */
> >       529
> >          res =
> >       f->subclass;
> >               529
> >          res =
> >       atoi(dtmf);
> >       530     530
> >            /* Free
> >       frame */
> >       531     531
> >
> >       ast_frfree(f);
> >
> >     *
> >
> >
> >           /app_rtsp/app_rtsp.c
> >
> >
> <
> http://sip.fontventa.com/trac/asterisk/browser/app_rtsp/app_rtsp.c?rev=197
> >
> >
> >       r192
> >
> >
> <
> http://sip.fontventa.com/trac/asterisk/browser/app_rtsp/app_rtsp.c?rev=192
> >
> >               r197
> >
> >
> <
> http://sip.fontventa.com/trac/asterisk/browser/app_rtsp/app_rtsp.c?rev=197
> >
> >
> >       1142    1142                                    if
> >       (ast_exists_extension(chan, chan->context,
> > dtmf, 1, NULL)) {
> >       1143    1143
> >      /* Set
> >       extension to jump */
> >       1144
> >   res = f->subclass;
> >               1144
> >   res = atoi(dtmf);
> >       1145    1145
> >      /* Free frame */
> >       1146    1146
> >
> >
> >
> > Rene van Weert ha scritto:
> > > Hey everyone,
> > >
> > > I'm using Asterisk 1.4.17 with app_mp4 and until
> > revision 187 dtmf has
> > > worked fine.
> > > After installing anything later than 187 however
> > my call ends right
> > > after entering a dtmf tone.
> > >
> > > I have another server where this behaviour doesn't
> > appear (rev210).
> > > Does anyone have an idea what could be the source
> > of this problem?
> > >
> > > Thanks in advance.
> > > René
> > >
> >
> ------------------------------------------------------------------------
> > >
> > > _______________________________________________
> > > --Bandwidth and Colocation Provided by
> > http://www.api-digital.com--
> > >
> > > asterisk-video mailing list
> > > To UNSUBSCRIBE or update options visit:
> > >
> >
> http://lists.digium.com/mailman/listinfo/asterisk-video
> >
> >
> > --
> > Best regards,
> > Valerio Puglia
> > OScorp S.P.A.
> > NETWORK Adm
> >
> >
> > _______________________________________________
> > --Bandwidth and Colocation Provided by
> > http://www.api-digital.com--
> >
> > asterisk-video mailing list
> > To UNSUBSCRIBE or update options visit:
> >
> >
> http://lists.digium.com/mailman/listinfo/asterisk-video
> >
>
>
>
>      __________________________________________________________
> Sent from Yahoo! Mail - a smarter inbox http://uk.mail.yahoo.com
>
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-video mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-video
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-video/attachments/20080124/e4a0d0ef/attachment.htm 


More information about the asterisk-video mailing list