<div>Working flawlessly now! (r210)</div>
<div>Thanks a bunch!</div>
<div> </div>
<div>René<br><br></div>
<div class="gmail_quote">On Jan 24, 2008 1:52 PM, Low Yu Siang <<a href="mailto:yusiang@yahoo.com">yusiang@yahoo.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Remove this line:-<br> res = atoi(dtmf);<br>
<div>
<div></div>
<div class="Wj3C7c"><br>--- Rene van Weert <<a href="mailto:rvweert@gmail.com">rvweert@gmail.com</a>> wrote:<br><br>> Hi,<br>><br>> This doesn't work for me, or I have doen something<br>> wrong I guess. This is
<br>> what my code looks like now:<br>><br>> /* Check for<br>> dtmf extension in<br>> context */<br>> if<br>> (ast_exists_extension(chan,
<br>> chan->context, dtmf, 1, NULL)) {<br>> /*<br>> Set extension to jump */<br>> res<br>> = f->subclass;
<br>> res<br>> = atoi(dtmf);<br>> /*<br>> Free frame */<br>><br>> ast_frfree(f);<br>> /*
<br>> exit */<br>> goto<br>> end;<br>><br>> Cheers,<br>> Rene<br>><br>> On Jan 24, 2008 4:06 AM, Low Yu Siang<br>> <<a href="mailto:yusiang@yahoo.com">
yusiang@yahoo.com</a>> wrote:<br>><br>> > This solution works for me! I am using rev210 on<br>> > asterisk 1.4.15.<br>> ><br>> > --- Valerio Puglia <<a href="mailto:valerio@oscorp.sm">valerio@oscorp.sm
</a>> wrote:<br>> ><br>> > > i have resolved to restore f->subclass;<br>> > ><br>> > > r192<br>> > ><br>> ><br>><br><<a href="http://sip.fontventa.com/trac/asterisk/browser/app_mp4/app_mp4.c?rev=192" target="_blank">
http://sip.fontventa.com/trac/asterisk/browser/app_mp4/app_mp4.c?rev=192</a>><br>> > ><br>> > > r197<br>> > ><br>> ><br>><br><<a href="http://sip.fontventa.com/trac/asterisk/browser/app_mp4/app_mp4.c?rev=197" target="_blank">
http://sip.fontventa.com/trac/asterisk/browser/app_mp4/app_mp4.c?rev=197</a>><br>> > ><br>> > ><br>> > ><br>> > > *<br>> > ><br>> > ><br>> > > /app_mp4/app_mp4.c
<br>> > ><br>> > ><br>> ><br>><br><<a href="http://sip.fontventa.com/trac/asterisk/browser/app_mp4/app_mp4.c?rev=197" target="_blank">http://sip.fontventa.com/trac/asterisk/browser/app_mp4/app_mp4.c?rev=197
</a>><br>> > ><br>> > > r192<br>> > ><br>> > ><br>> ><br>><br><<a href="http://sip.fontventa.com/trac/asterisk/browser/app_mp4/app_mp4.c?rev=192" target="_blank">http://sip.fontventa.com/trac/asterisk/browser/app_mp4/app_mp4.c?rev=192
</a>><br>> > > r197<br>> > ><br>> > ><br>> ><br>><br><<a href="http://sip.fontventa.com/trac/asterisk/browser/app_mp4/app_mp4.c?rev=197" target="_blank">http://sip.fontventa.com/trac/asterisk/browser/app_mp4/app_mp4.c?rev=197
</a>><br>> > ><br>> > > 527 527<br>> > > if<br>> > > (ast_exists_extension(chan, chan->context,<br>> > > dtmf, 1, NULL)) {<br>> > > 528 528
<br>> > > /* Set<br>> > > extension to jump */<br>> > > 529<br>> > > res =<br>> > > f->subclass;<br>> > > 529<br>
> > > res =<br>> > > atoi(dtmf);<br>> > > 530 530<br>> > > /* Free<br>> > > frame */<br>> > > 531 531<br>> > >
<br>> > > ast_frfree(f);<br>> > ><br>> > > *<br>> > ><br>> > ><br>> > > /app_rtsp/app_rtsp.c<br>> > ><br>> > ><br>> > <<br>
> ><br>><br><a href="http://sip.fontventa.com/trac/asterisk/browser/app_rtsp/app_rtsp.c?rev=197" target="_blank">http://sip.fontventa.com/trac/asterisk/browser/app_rtsp/app_rtsp.c?rev=197</a><br>> > ><br>
> > ><br>> > > r192<br>> > ><br>> > ><br>> > <<br>> ><br>><br><a href="http://sip.fontventa.com/trac/asterisk/browser/app_rtsp/app_rtsp.c?rev=192" target="_blank">
http://sip.fontventa.com/trac/asterisk/browser/app_rtsp/app_rtsp.c?rev=192</a><br>> > ><br>> > > r197<br>> > ><br>> > ><br>> > <<br>> ><br>><br><a href="http://sip.fontventa.com/trac/asterisk/browser/app_rtsp/app_rtsp.c?rev=197" target="_blank">
http://sip.fontventa.com/trac/asterisk/browser/app_rtsp/app_rtsp.c?rev=197</a><br>> > ><br>> > ><br>> > > 1142 1142<br>> if<br>> > > (ast_exists_extension(chan, chan->context,
<br>> > > dtmf, 1, NULL)) {<br>> > > 1143 1143<br>> > > /* Set<br>> > > extension to jump */<br>> > > 1144<br>> > > res = f->subclass;<br>
> > > 1144<br>> > > res = atoi(dtmf);<br>> > > 1145 1145<br>> > > /* Free frame */<br>> > > 1146 1146<br>> > ><br>> > >
<br>> > ><br>> > > Rene van Weert ha scritto:<br>> > > > Hey everyone,<br>> > > ><br>> > > > I'm using Asterisk 1.4.17 with app_mp4 and<br>> until<br>> > > revision 187 dtmf has
<br>> > > > worked fine.<br>> > > > After installing anything later than 187<br>> however<br>> > > my call ends right<br>> > > > after entering a dtmf tone.<br>> > > >
<br>> > > > I have another server where this behaviour<br>> doesn't<br>> > > appear (rev210).<br>> > > > Does anyone have an idea what could be the<br>> source<br>> > > of this problem?
<br>> > > ><br>> > > > Thanks in advance.<br>> > > > René<br>> > > ><br>> > ><br>> ><br>><br>------------------------------------------------------------------------
<br>> > > ><br>> > > ><br>> _______________________________________________<br>> > > > --Bandwidth and Colocation Provided by<br>> > > <a href="http://www.api-digital.com--/" target="_blank">
http://www.api-digital.com--</a><br>> > > ><br>> > > > asterisk-video mailing list<br>> > > > To UNSUBSCRIBE or update options visit:<br>> > > ><br>> > ><br>> >
<br>><br><a href="http://lists.digium.com/mailman/listinfo/asterisk-video" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-video</a><br>> > ><br>> > ><br>> > > --<br>> > > Best regards,
<br>> > > Valerio Puglia<br>> > > OScorp S.P.A.<br>> > > NETWORK Adm<br>> > ><br>> > ><br>> > > _______________________________________________<br>> > > --Bandwidth and Colocation Provided by
<br>> > > <a href="http://www.api-digital.com--/" target="_blank">http://www.api-digital.com--</a><br>> > ><br>> > > asterisk-video mailing list<br>> > > To UNSUBSCRIBE or update options visit:
<br>> > ><br>> > ><br>> ><br>><br><a href="http://lists.digium.com/mailman/listinfo/asterisk-video" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-video</a><br>> > ><br>
> ><br>> ><br>> ><br>> ><br>><br>__________________________________________________________<br>> > Sent from Yahoo! Mail - a smarter inbox<br>> <a href="http://uk.mail.yahoo.com/" target="_blank">
http://uk.mail.yahoo.com</a><br>> ><br>> ><br>><br></div></div>=== message truncated ===><br>
<div>
<div></div>
<div class="Wj3C7c">_______________________________________________<br>> --Bandwidth and Colocation Provided by<br>> <a href="http://www.api-digital.com--/" target="_blank">http://www.api-digital.com--</a><br>><br>
> asterisk-video mailing list<br>> To UNSUBSCRIBE or update options visit:<br>><br><a href="http://lists.digium.com/mailman/listinfo/asterisk-video" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-video
</a><br><br><br><br> __________________________________________________________<br>Sent from Yahoo! Mail - a smarter inbox <a href="http://uk.mail.yahoo.com/" target="_blank">http://uk.mail.yahoo.com</a><br><br><br>_______________________________________________
<br>--Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--/" target="_blank">http://www.api-digital.com--</a><br><br>asterisk-video mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-video" target="_blank">
http://lists.digium.com/mailman/listinfo/asterisk-video</a><br></div></div></blockquote></div><br>