Get a pcap of both the working and the failing calls and compare them in wireshark. Also, compare the console output of the working and the failing calls. Look for differences. You may see a clue. If you need assistance then pastebin the output and we&#39;ll all have a look.<div>
<br></div><div>-MC<br><br><div class="gmail_quote">On Thu, Feb 24, 2011 at 4:59 PM, Mac <span dir="ltr">&lt;<a href="mailto:mbsip@gazeta.pl">mbsip@gazeta.pl</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Okay i&#39;ve found sth.<br>
<br>
I was trying to achieve that by using<br>
&lt;action application=&quot;bridge&quot;<br>
data=&quot;{execute_on_answer=start_dtmf}sofia/gateway/OPERATOR_2/$0&quot;/&quot;/&gt;<br>
and it failes to convert dtmf<br>
<br>
While using &lt;action application=&quot;bridge&quot;<br>
data=&quot;{execute_on_answer=start_dtmf}sofia/$0@IP_ADDR_OF_OPERATOR_2&quot;/&gt;<br>
and it was success.<br>
<br>
Is that mean that i my sip profile need to be adjusted somehow?<br>
<br>
Thx,<br>
<font color="#888888">Mac<br>
</font><div><div></div><div class="h5"><br>
<br>
&gt; Thanks for feedback<br>
&gt;<br>
&gt; Inbound leg has RFC2833, outbound has inband dtmf, so i&#39;ve changed a<br>
&gt; part of public.xml as you mentioned:<br>
&gt;                &lt;action application=&quot;set&quot; data=&quot;proxy_media=false&quot;/&gt;<br>
&gt;                &lt;action application=&quot;set&quot; data=&quot;bypass_media=false&quot;/&gt;<br>
&gt;                &lt;!--&lt;action application=&quot;start_dtmf&quot;/&gt;--&gt;<br>
&gt;                &lt;action application=&quot;bridge&quot;<br>
&gt; data=&quot;{execute_on_answer=start_dtmf}sofia/OPERATOR_2//$0&quot;/&gt;<br>
&gt;<br>
&gt; Unfortunately it doesn&#39;t work.<br>
&gt;<br>
&gt; Thx,<br>
&gt; Mac<br>
&gt;<br>
&gt;<br>
&gt;&gt; you need to run the start_dtmf() application on the leg that has inband DTMF<br>
&gt;&gt;<br>
&gt;&gt; if its the inbound leg, add it to the DP<br>
&gt;&gt; &lt;action application=&quot;start_dtmf&quot;/&gt;<br>
&gt;&gt;<br>
&gt;&gt; if it&#39;s the outbound leg you need to set it in execute_on_answer in<br>
&gt;&gt; the bridge line<br>
&gt;&gt;<br>
&gt;&gt; &lt;action application=&quot;bridge&quot;<br>
&gt;&gt; data=&quot;{execute_on_answer=start_dtmf}sofia/OPERATOR_2/46111223344&quot;/&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Thu, Feb 24, 2011 at 4:58 PM, Mac &lt;<a href="mailto:mbsip@gazeta.pl">mbsip@gazeta.pl</a>&gt; wrote:<br>
&gt;&gt;&gt; Hi,<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Here they are:<br>
&gt;&gt;&gt; <a href="http://pastebin.freeswitch.org/15473" target="_blank">http://pastebin.freeswitch.org/15473</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Thanks,<br>
&gt;&gt;&gt; Mac<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Get a debug-level log with siptrace enabled and paste it so we can see<br>
&gt;&gt;&gt;&gt; what&#39;s going on.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; -Steve<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; On 22 February 2011 01:16, Mac &lt;<a href="mailto:mbsip@gazeta.pl">mbsip@gazeta.pl</a>&gt; wrote:<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; Hello,<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; Could somebody give me a hint?<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; Thanks,<br>
&gt;&gt;&gt;&gt;&gt; Mac<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; &gt; Hi Steven,<br>
&gt;&gt;&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt;&gt;&gt; &gt; There is much better :)<br>
&gt;&gt;&gt;&gt;&gt; &gt; I have different SDPs right now. The one is with rtpmap:101<br>
&gt;&gt;&gt;&gt;&gt; &gt; telephone-event/8000 (leg that is working with RFC2833), the opposite<br>
&gt;&gt;&gt;&gt;&gt; &gt; one incorporates a=rtpmap:101 telephone-event/8000 in INVITE SDP and<br>
&gt;&gt;&gt;&gt;&gt; &gt; pure codec rtpmaps.<br>
&gt;&gt;&gt;&gt;&gt; &gt; There is rtp.p_type == 101 working only on the left side. I cannot<br>
&gt;&gt;&gt;&gt;&gt; &gt; find any rtp.p_type == 101 on thark in opposide side which is okay.<br>
&gt;&gt;&gt;&gt;&gt; &gt; But the problem still persists.<br>
&gt;&gt;&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt;&gt;&gt; &gt; Once setting my UA to work with Inband DTMF everything works fine.<br>
&gt;&gt;&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt;&gt;&gt; &gt; Thanks,<br>
&gt;&gt;&gt;&gt;&gt; &gt; Mac<br>
&gt;&gt;&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt;&gt;&gt; &gt; 2011/2/20 Steven Ayre &lt;<a href="mailto:steveayre@gmail.com">steveayre@gmail.com</a>&gt;:<br>
&gt;&gt;&gt;&gt;&gt; &gt;&gt; &lt;action application=&quot;set&quot; data=&quot;proxy_media=true&quot;/&gt;<br>
&gt;&gt;&gt;&gt;&gt; &gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; &gt;&gt; As indicated by the error, this is the problem. &quot;proxy passthrough&quot;. In<br>
&gt;&gt;&gt;&gt;&gt; &gt;&gt; proxy mode you pass the media straight through (passthrough). You can&#39;t<br>
&gt;&gt;&gt;&gt;&gt; &gt;&gt; process passthrough media, such as is needed to mix in inband dtmf.<br>
&gt;&gt;&gt;&gt;&gt; &gt;&gt; Use proxy_media=false and bypass_media=false. That&#39;s actually the<br>
&gt;&gt;&gt;&gt;&gt; &gt;&gt; default so<br>
&gt;&gt;&gt;&gt;&gt; &gt;&gt; unless you&#39;re setting either to true in the sip profile, you can remove<br>
&gt;&gt;&gt;&gt;&gt; &gt;&gt; those lines from the dialplan completely.<br>
&gt;&gt;&gt;&gt;&gt; &gt;&gt; Steve on iPhone<br>
&gt;&gt;&gt;&gt;&gt; &gt;&gt; On 20 Feb 2011, at 18:51, Mac &lt;<a href="mailto:mbsip@gazeta.pl">mbsip@gazeta.pl</a>&gt; wrote:<br>
&gt;&gt;&gt;&gt;&gt; &gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; &gt;&gt; action application=&quot;set&quot; data=&quot;proxy_media=true&quot;/&gt;<br>
&gt;&gt;&gt;&gt;&gt; &gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; &gt;&gt; _______________________________________________<br>
&gt;&gt;&gt;&gt;&gt; &gt;&gt; FreeSWITCH-users mailing list<br>
&gt;&gt;&gt;&gt;&gt; &gt;&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt;&gt;&gt;&gt;&gt; &gt;&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt;&gt;&gt;&gt;&gt; &gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; &gt;&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt;&gt;&gt;&gt;&gt; &gt;&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;&gt;&gt;&gt;&gt; &gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; &gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt;&gt;&gt; FreeSWITCH-users mailing list<br>
&gt;&gt;&gt;&gt;&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt;&gt;&gt;&gt;&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt;&gt;&gt;&gt;&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt;&gt;&gt;&gt;&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt;&gt; FreeSWITCH-users mailing list<br>
&gt;&gt;&gt;&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt;&gt;&gt;&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt;&gt;&gt;&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt;&gt;&gt;&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt; FreeSWITCH-users mailing list<br>
&gt;&gt;&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt;&gt;&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt;&gt;&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt;&gt;&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; Anthony Minessale II<br>
&gt;&gt;<br>
&gt;&gt; FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>
&gt;&gt; ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
&gt;&gt; Twitter: <a href="http://twitter.com/FreeSWITCH_wire" target="_blank">http://twitter.com/FreeSWITCH_wire</a><br>
&gt;&gt;<br>
&gt;&gt; AIM: anthm<br>
&gt;&gt; <a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>
&gt;&gt; GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
&gt;&gt; IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br>
&gt;&gt;<br>
&gt;&gt; FreeSWITCH Developer Conference<br>
&gt;&gt; <a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br>
&gt;&gt; <a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
&gt;&gt; pstn:+19193869900<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; FreeSWITCH-users mailing list<br>
&gt;&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt;&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt;&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt;&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;&gt;<br>
&gt;<br>
<br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br></div>