<div>Hi,</div>
<div> </div>
<div>This doesn't work for me, or I have doen something wrong I guess. This is what my code looks like now:</div>
<div> </div>
<div> /* Check for dtmf extension in context */<br> if (ast_exists_extension(chan, chan->context, dtmf, 1, NULL)) {<br> /* Set extension to jump */
<br> res = f->subclass;<br> res = atoi(dtmf);<br> /* Free frame */<br> ast_frfree(f);
<br> /* exit */<br> goto end;<br></div>
<div> </div>
<div>Cheers,</div>
<div>Rene<br><br></div>
<div class="gmail_quote">On Jan 24, 2008 4:06 AM, 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">This solution works for me! I am using rev210 on<br>asterisk 1.4.15.<br>
<div>
<div></div>
<div class="Wj3C7c"><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><<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><<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><<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><<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><<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><<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>> r192<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>> r197<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>> 1142 1142 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 until<br>> revision 187 dtmf has
<br>> > worked fine.<br>> > After installing anything later than 187 however<br>> my call ends right<br>> > after entering a dtmf tone.<br>> ><br>> > I have another server where this behaviour doesn't
<br>> appear (rev210).<br>> > Does anyone have an idea what could be the source<br>> of this problem?<br>> ><br>> > Thanks in advance.<br>> > René<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><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><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></div></div>
<div class="WgoR0d"> __________________________________________________________<br>Sent from Yahoo! Mail - a smarter inbox <a href="http://uk.mail.yahoo.com/" target="_blank">http://uk.mail.yahoo.com</a><br></div>
<div>
<div></div>
<div class="Wj3C7c"><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>