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