<div dir="ltr">try prepending the bridge url with {absolute_codec_string=PCMA} </div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Aug 6, 2013 at 6:32 AM, Javier Menendez <span dir="ltr">&lt;<a href="mailto:menendez.garcia@gmail.com" target="_blank">menendez.garcia@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div><div><div>Hi,<br><br></div>I am trying to make an outbound call to a webrtc softphone using jssip, I initiate the call from an asterisk box :<br>
<br></div>[Asterisk] -&gt; [FS] -&gt;[jssip]<br>
<br></div>I always get an  INCOMPATIBLE_DESTINATION error, looking at the trace logs I found out that the problem is the codec negotiation but I can not make it work, AFAIK the call should use the ALAW codec as it is compatible with all legs involved. this is the asterisk SDP<br>

<br>2013-08-06 13:16:50.892293 [DEBUG] sofia.c:5802 Remote SDP:<br>v=0<br>o=root 451068671 451068671 IN IP4 192.168.90.16<br>s=Asterisk PBX 1.8.16.0<br>c=IN IP4 192.168.90.16<br>t=0 0<br>m=audio 16126 RTP/AVP 8 101<br>a=rtpmap:8 PCMA/8000<br>

a=rtpmap:101 telephone-event/8000<br>a=fmtp:101 0-16<br>a=ptime:20<br><br></div>And this is the SDP from FS wich is sent to the jssip client<br><br>2013-08-06 13:16:50.912323 [DEBUG] sofia_glue.c:1220 Local SDP:<br>v=0<br>

o=FreeSWITCH 1375766038 1375766039 IN IP4 PUBLIC_IP<br>s=FreeSWITCH<br>c=IN IP4 PUBLIC_IP<br>t=0 0<br>a=msid-semantic: WMS 9hJmtW2hnx2uG5S2obryUBUKGF35tgps<br>m=audio 21772 RTP/SAVPF 8 0 101 13<br>a=rtpmap:101 telephone-event/8000<br>

a=rtcp-mux<br>a=rtcp:21772 IN IP4 PUBLIC_IP<br>a=ssrc:3456358538 cname:oZFIMxPZUIkrD3jS<br>a=ssrc:3456358538 msid:9hJmtW2hnx2uG5S2obryUBUKGF35tgps a0<br>a=ssrc:3456358538 mslabel:9hJmtW2hnx2uG5S2obryUBUKGF35tgps<br>a=ssrc:3456358538 label:9hJmtW2hnx2uG5S2obryUBUKGF35tgpsa0<br>

a=ice-ufrag:4BgP20qzvjuPqK7E<br>a=ice-pwd:ADcc0S2Lqc2T5cB0<br>a=candidate:3263618716 1 udp 659136 212.230.135.231 21772 typ host generation 0<br>a=candidate:3263618716 2 udp 659136 212.230.135.231 21772 typ host generation 0<br>

a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:JbAOcaClBcoNLW6zjoucy5BU0mfS+UQqWcyYh9+7<br>a=ptime:20<br>a=sendrecv<br><br></div>Shouldn&#39;t it include the PCMA codec? I hace tried to enable it in configuration but it doesn&#39;t work, also tried to set it with<br>

<br>  &lt;action application=&quot;export&quot; data=&quot;nolocal:absolute_codec_string=PCMA,PCMU&quot;/&gt;<br><br></div>before bridge, but no luck.<br><br></div>Funny thing is that it is working if i innitiate the call from the jssip client. [jssip] -&gt; [FS] -&gt;[Asterisk]<br>

<br></div>Any clue?<br><div><div><div><br><br><div><br></div></div></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" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" 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" 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></blockquote></div><br><br clear="all"><div><br></div>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire">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">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
</div>