<div dir="ltr">Hi Victor,<div><br></div><div>I think the problem is the transcoding. Maybe the iOS call works fine because there is the codec G722 available on both legs.</div><div><br></div><div>Please find my FS configuration here. The configuration is from scratch. All other parameters value are set by default.</div><div><br></div><div>FreeSWITCH Version 1.6.8+git~20160505T153832Z~99de0ad502~64bit (git 99de0ad 2016-05-05 15:38:32Z 64bit)</div><div><br></div><div><b>vars.xml</b><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><X-PRE-PROCESS cmd="set" data="global_codec_prefs=OPUS,speex@8000h@20i,speex@16000h@20i,speex@32000h@20i"/> </blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><X-PRE-PROCESS cmd="set" data="outbound_codec_prefs=G722"/></blockquote><div><br></div><div><b>internal.xml</b></div><div><b><br></b></div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><param name="inbound-codec-prefs" value="$${global_codec_prefs}"/><br><param name="outbound-codec-prefs" value="$${outbound_codec_prefs}"/></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><param name="inbound-late-negotiation" value="false"/><br><param name="inbound-zrtp-passthru" value="false"/><br><param name="disable-transcoding" value="false"/><br><param name="inherit_codec" value="false"/><br><param name="bypass_media" value="false"/><br><param name="proxy_media" value="false"/></blockquote><div><br></div><div><b>dialplan</b></div></div><div><b><br></b></div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><action application="bridge" data="{media_mix_inbound_outbound_codecs=true,absolute_codec_string='G722'}sofia/gateway/<a href="http://sip.nl.didlogic.net/${destination_number}">sip.nl.didlogic.net/${destination_number}</a>"/></blockquote><div><br></div><div><b>show codec </b></div><div><b><br></b></div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">codec,G.722,mod_spandsp<br>codec,Speex,CORE_SPEEX_MODULE<br>codec,iLBC,mod_ilbc</blockquote></div><div> </div></div><div><b>sofia status profile internal</b><br></div><div><b><br></b></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">Name internal<br>Domain Name N/A<br>Auto-NAT false<br>DBName sofia_reg_internal<br>Pres Hosts 188.166.40.202,188.166.40.202<br>Dialplan XML<br>Context public<br>Challenge Realm auto_from<br>RTP-IP 188.166.40.202<br>SIP-IP 188.166.40.202<br>URL <a href="http://sip:mod_sofia@188.166.40.202:5060">sip:mod_sofia@188.166.40.202:5060</a><br>BIND-URL sip:mod_sofia@188.166.40.202:5060;transport=udp,tcp<br>WS-BIND-URL sip:mod_sofia@188.166.40.202:5066;transport=ws<br>WSS-BIND-URL sips:mod_sofia@188.166.40.202:7443;transport=wss<br>HOLD-MUSIC local_stream://moh<br>OUTBOUND-PROXY N/A<br>CODECS IN OPUS,speex@8000h@20i,speex@16000h@20i,speex@32000h@20i<br>CODECS OUT G722<br>TEL-EVENT 101<br>DTMF-MODE rfc2833<br>CNG 13<br>SESSION-TO 0<br>MAX-DIALOG 0<br>NOMEDIA false<br>LATE-NEG false<br>PROXY-MEDIA false<br>ZRTP-PASSTHRU false<br>AGGRESSIVENAT false<br>CALLS-IN 1<br>FAILED-CALLS-IN 1<br>CALLS-OUT 0<br>FAILED-CALLS-OUT 0<br>REGISTRATIONS 1</blockquote><div><br></div><div>Thank you for you help.</div><div><br></div><div>Kind regards,</div><div>Bastien. </div></div><div class="gmail_extra"><br><div class="gmail_quote">On 13 June 2016 at 18:31, Victor Medina <span dir="ltr"><<a href="mailto:vittico@gmail.com" target="_blank">vittico@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">In vars.XML. whats in your inbound and outbound códec list?</p><div class="HOEnZb"><div class="h5">
<div class="gmail_quote">El 12/6/2016 6:26, "Bastien LE REST" <<a href="mailto:ba.lerest@gmail.com" target="_blank">ba.lerest@gmail.com</a>> escribió:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello Victor,<div><br></div><div>Yes, I configured FS to only use iLBC codec with mod_iLBC. iOS works fine using this codec but I still have the same problem with android.</div><div><br></div><div>Here's the trace: <a href="https://pastebin.freeswitch.org/view/fcf3b334" target="_blank">https://pastebin.freeswitch.org/view/fcf3b334</a></div><div><br></div><div>Thank you for your help, it's much appreciated. </div><div><br></div><div>Kind regards,</div><div>Bastien.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 11 June 2016 at 21:22, Victor Medina <span dir="ltr"><<a href="mailto:vittico@gmail.com" target="_blank">vittico@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Are they enabled con FS side??</p><div><div>
<div class="gmail_quote">El 11/6/2016 5:39, "Bastien LE REST" <<a href="mailto:ba.lerest@gmail.com" target="_blank">ba.lerest@gmail.com</a>> escribió:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello Victor,<div><br></div><div>Thank you for your reply. I tried to add both iLBC and Speex as a priority codec in the codecs list but unfortunately that didn't fix the problem.</div><div><br></div><div>Is it normal that FS doesn't find a candidate for RTCP?</div><div><br></div><div>Kind regards,</div><div>Bastien.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 10 June 2016 at 19:33, Victor Medina <span dir="ltr"><<a href="mailto:vittico@gmail.com" target="_blank">vittico@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">More...<div><br></div><div>On iOS you seem to be sending:</div><div><br></div><div><ol style="padding:0px;margin:0px 0px 0px 40px;border:none;color:rgb(51,51,51);font-family:monospace;font-size:13px;line-height:13px"><li style="line-height:18px;vertical-align:top"><div style="font-stretch:normal;font-size:1em;line-height:1.2em;margin:0px;padding:0px;vertical-align:top;background:none"> a=rtpmap:98 speex/16000</div></li><li style="line-height:18px;vertical-align:top"><div style="font-stretch:normal;font-size:1em;line-height:1.2em;margin:0px;padding:0px;vertical-align:top;background:none"> a=rtpmap:97 speex/8000</div></li><li style="line-height:18px;vertical-align:top"><div style="font-stretch:normal;font-size:1em;line-height:1.2em;margin:0px;padding:0px;vertical-align:top;background:none"> a=rtpmap:99 speex/32000</div></li><li style="line-height:18px;vertical-align:top"><div style="font-stretch:normal;font-size:1em;line-height:1.2em;margin:0px;padding:0px;vertical-align:top;background:none"> a=rtpmap:104 iLBC/8000</div></li><li style="line-height:18px;vertical-align:top"><div style="font-stretch:normal;font-size:1em;line-height:1.2em;margin:0px;padding:0px;vertical-align:top;background:none"> a=fmtp:104 mode=30</div></li><li style="line-height:18px;vertical-align:top"><div style="font-stretch:normal;font-size:1em;line-height:1.2em;margin:0px;padding:0px;vertical-align:top;background:none"> a=rtpmap:3 GSM/8000</div></li><li style="line-height:18px;vertical-align:top"><div style="font-stretch:normal;font-size:1em;line-height:1.2em;margin:0px;padding:0px;vertical-align:top;background:none"> a=rtpmap:0 PCMU/8000</div></li><li style="line-height:18px;vertical-align:top"><div style="font-stretch:normal;font-size:1em;line-height:1.2em;margin:0px;padding:0px;vertical-align:top;background:none"> a=rtpmap:8 PCMA/8000</div></li><li style="line-height:18px;vertical-align:top"><div style="font-stretch:normal;font-size:1em;line-height:1.2em;margin:0px;padding:0px;vertical-align:top;background:none"> a=rtpmap:9 G722/8000</div></li></ol><div><font color="#333333" face="monospace"><span style="line-height:15.6px"><br></span></font></div></div><div><font color="#333333" face="monospace"><span style="line-height:15.6px">While on Android I can only see:</span></font></div><div><font color="#333333" face="monospace"><span style="line-height:15.6px"><br></span></font></div><div><ol style="padding:0px;margin:0px 0px 0px 40px;border:none;color:rgb(51,51,51);font-family:monospace;font-size:13px;line-height:13px"><li style="line-height:18px;vertical-align:top"><div style="font-stretch:normal;font-size:1em;line-height:1.2em;margin:0px;padding:0px;vertical-align:top;background:none"> a=rtpmap:98 speex/16000</div></li><li style="line-height:18px;vertical-align:top"><div style="font-stretch:normal;font-size:1em;line-height:1.2em;margin:0px;padding:0px;vertical-align:top;background:none"> a=rtpmap:97 speex/8000</div></li><li style="line-height:18px;vertical-align:top"><div style="font-stretch:normal;font-size:1em;line-height:1.2em;margin:0px;padding:0px;vertical-align:top;background:none"> a=rtpmap:99 speex/32000</div></li><li style="line-height:18px;vertical-align:top"><div style="font-stretch:normal;font-size:1em;line-height:1.2em;margin:0px;padding:0px;vertical-align:top;background:none"> a=rtpmap:104 iLBC/8000</div></li></ol><div><font color="#333333" face="monospace"><span style="line-height:15.6px"><br></span></font></div></div><div><font color="#333333" face="monospace"><span style="line-height:15.6px">FS is correctly complaining about it:</span></font></div><div><font color="#333333" face="monospace"><span style="line-height:15.6px"><br></span></font></div><div><span style="color:rgb(51,51,51);font-family:monospace;font-size:13px;line-height:15.6px">2016-06-10 12:48:33.533730 [ERR] mod_sofia.c:2346 CODEC NEGOTIATION ERROR. SDP:</span><font color="#333333" face="monospace"><span style="line-height:15.6px"><br></span></font></div></div><div class="gmail_extra"><span><br clear="all"><div><div data-smartmail="gmail_signature"><br>Sin mas a que hacer referencia, <br> <br>Victor Medina</div></div>
<br></span><div><div><div class="gmail_quote">On Fri, Jun 10, 2016 at 2:26 PM, Victor Medina <span dir="ltr"><<a href="mailto:vittico@gmail.com" target="_blank">vittico@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">There is seems to be a codec issue. <div>Are you sure codecs are right on the Android side? </div></div><div class="gmail_extra"><br clear="all"><div><div data-smartmail="gmail_signature"><br>Sin mas a que hacer referencia, <br> <br>Victor Medina</div></div>
<br><div class="gmail_quote"><div><div>On Fri, Jun 10, 2016 at 1:28 PM, Bastien LE REST <span dir="ltr"><<a href="mailto:ba.lerest@gmail.com" target="_blank">ba.lerest@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr">Bonjour,<div><br></div><div>I thought the issue was solved since the calls work just fine now with PJSIP on iOS, however the calls don't work with PJSIP on Android and I don't understand why, the PJSIP configuration is exactly the same on both devices.</div><div><br></div><div>FS finds a candidate for RTP but it doesn't find a candidate for RTCP. Please note that I only have 3 candidate.</div><div><br><div>FS trace: <a href="https://pastebin.freeswitch.org/view/8d4df983" target="_blank">https://pastebin.freeswitch.org/view/8d4df983</a></div><div><br></div><div>Could you please have a look at the trace, and let me know what am I doing wrong? </div><div><br></div><div>Thank you very much in advance for your help in this matter.</div><div><br></div><div>Kind regards,</div><div><br></div><div>Bastien.</div></div></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On 4 June 2016 at 13:44, Bastien LE REST <span dir="ltr"><<a href="mailto:ba.lerest@gmail.com" target="_blank">ba.lerest@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">
Hi,<div><br>When I enable ICE using PJSIP, FreeSwitch answers "488 Not Acceptable Here". When I disable ICE, I don't have any problems, the calls work just fine. I tried to use another SIP client with ICE and the call works fine. So I think the problem has to do with PJSIP.<br><br>I'm working on the migration from an Asterisk architecture to a FreeSwitch architecture. I have to deal with PJSIP and ICE support because my client is a mobile application who is already published on the stores.<br><br>PJSIP trace : <a href="https://pastebin.freeswitch.org/view/ddeaae4b" target="_blank">https://pastebin.freeswitch.org/view/ddeaae4b</a><br>FreeSwitch trace: <a href="https://pastebin.freeswitch.org/view/d380e01d" target="_blank">https://pastebin.freeswitch.org/view/d380e01d</a><br><br>Could you please have a look at the trace and tell me what am I doing wrong? Thank you in advance.<br><br>Kind regards,<br>Bastien.</div></div>
</blockquote></div><br></div>
</div></div><br></div></div><span>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></span></blockquote></div><br></div>
</blockquote></div><br></div></div></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div>
</div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div>
</div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><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" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>