Posted: Wed Jan 23, 2008 3:47 pm Post subject: [Asterisk-video] dtmf not working anymore using app_mp4 > re
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?
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:
Quote:
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--
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:
>
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:
>
Posted: Thu Jan 24, 2008 12:57 pm Post subject: [Asterisk-video] dtmf not working anymore using app_mp4 > re
Remove this line:-
res = atoi(dtmf);
--- Rene van Weert <rvweert@gmail.com> wrote:
Quote:
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@yahoo.com> wrote:
> This solution works for me! I am using rev210 on
> asterisk 1.4.15.
>
> --- Valerio Puglia <valerio@oscorp.sm> wrote:
>
> > i have resolved to restore f->subclass;
> >
> > r192
> >
>
> >
> >
> > 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é
> > >
> >
>
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 */
> This solution works for me! I am using rev210 on
> asterisk 1.4.15.
>
> --- Valerio Puglia <valerio@oscorp.sm (valerio@oscorp.sm)> wrote:
>
> > i have resolved to restore f->subclass;
> >
> > r192
> >
>
> > 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é
> > >
> >
>
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum