Somehow your codec prefs are getting messed up. Go to your fs_cli and type this:<br>sofia status profile external<br><br>Put the output here. Hopefully it will have a clue for us.<br>-MC<br><br><div class="gmail_quote">On Thu, Feb 16, 2012 at 10:59 AM, Eric Masson <span dir="ltr">&lt;<a href="mailto:emss.mail@gmail.com">emss.mail@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">Le 15/02/2012 20:29, Michael Collins a écrit :<br>
<br>
Hello Michael,<br>
<br>
&gt; show codec shows the codecs that FreeSWITCH can handle, but it does<br>
&gt; *not* show specific codecs your SIP profile is using. Look in your SIP<br>
&gt; profile (internal.xml or external.xml or whatever) and check out the<br>
&gt; codec_prefs.<br>
<br>
I&#39;ve fully reinstalled fs and sample configuration files (rm -rf<br>
$prefix, gmake install, gmake samples, gmake sounds/moh)<br>
<br>
The following files have been added to the base config.<br>
<br>
gateway definition file in $prefix/conf/sip_profiles/external :<br>
<br>
&gt; &lt;include&gt;<br>
&gt;   &lt;gateway name=&quot;<a href="http://keyyo.net" target="_blank">keyyo.net</a>&quot;&gt;<br>
&gt;     &lt;param name=&quot;username&quot; value=&quot;myname&quot;/&gt;<br>
&gt;     &lt;param name=&quot;password&quot; value=&quot;mypw&quot;/&gt;<br>
&gt;     &lt;param name=&quot;realm&quot; value=&quot;<a href="http://keyyo.net" target="_blank">keyyo.net</a>&quot;/&gt;<br>
&gt;     &lt;param name=&quot;proxy&quot; value=&quot;<a href="http://keyyo.net" target="_blank">keyyo.net</a>&quot;/&gt;<br>
&gt;     &lt;param name=&quot;register-proxy&quot; value=&quot;<a href="http://keyyo.net" target="_blank">keyyo.net</a>&quot;/&gt;<br>
&gt;     &lt;param name=&quot;register&quot; value=&quot;true&quot;/&gt;<br>
&gt;     &lt;param name=&quot;ping&quot; value=&quot;5&quot;/&gt;<br>
&gt;     &lt;param name=&quot;ping-max&quot; value=&quot;10&quot;/&gt;<br>
&gt;     &lt;param name=&quot;ping-min&quot; value=&quot;3&quot;/&gt;<br>
&gt;     &lt;param name=&quot;retry-seconds&quot; value=&quot;5&quot;/&gt;<br>
&gt;   &lt;/gateway&gt;<br>
&gt; &lt;/include&gt;<br>
<br>
user definition file in $prefix/conf/directory/default<br>
<br>
&gt; &lt;include&gt;<br>
&gt;   &lt;user id=&quot;1501&quot;&gt;<br>
&gt;     &lt;params&gt;<br>
&gt;       &lt;param name=&quot;password&quot; value=&quot;$${default_password}&quot;/&gt;<br>
&gt;       &lt;param name=&quot;vm-password&quot; value=&quot;1501&quot;/&gt;<br>
&gt;     &lt;/params&gt;<br>
&gt;     &lt;variables&gt;<br>
&gt;       &lt;variable name=&quot;toll_allow&quot; value=&quot;domestic,international,local&quot;/&gt;<br>
&gt;       &lt;variable name=&quot;accountcode&quot; value=&quot;1501&quot;/&gt;<br>
&gt;       &lt;variable name=&quot;user_context&quot; value=&quot;default&quot;/&gt;<br>
&gt;       &lt;variable name=&quot;effective_caller_id_name&quot; value=&quot;XLite Test&quot;/&gt;<br>
&gt;       &lt;variable name=&quot;effective_caller_id_number&quot; value=&quot;1501&quot;/&gt;<br>
&gt;       &lt;variable name=&quot;outbound_caller_id_name&quot; value=&quot;$${outbound_caller_name}&quot;/&gt;<br>
&gt;       &lt;variable name=&quot;outbound_caller_id_number&quot; value=&quot;$${outbound_caller_id}&quot;/&gt;<br>
&gt;       &lt;variable name=&quot;callgroup&quot; value=&quot;test&quot;/&gt;<br>
&gt;     &lt;/variables&gt;<br>
&gt;   &lt;/user&gt;<br>
&gt; &lt;/include&gt;<br>
<br>
extension for outgoing calls in £prefix/conf/diaplan/default<br>
<br>
&gt; &lt;include&gt;<br>
&gt;   &lt;extension name=&quot;outbound_calls&quot; continue=&quot;false&quot;&gt;<br>
&gt;     &lt;condition field=&quot;destination_number&quot; expression = &quot;^0(.*)$&quot;&gt;<br>
&gt;       &lt;action application=&quot;set&quot; data=&quot;effective_caller_id_name=test&quot;/&gt;<br>
&gt;       &lt;action application=&quot;set&quot; data=&quot;effective_caller_id_number=0980406292&quot;/&gt;<br>
&gt;       &lt;action application=&quot;bridge&quot; data=&quot;sofia/gateway/<a href="http://keyyo.net/0$1" target="_blank">keyyo.net/0$1</a>&quot;/&gt;<br>
&gt;     &lt;/condition&gt;<br>
&gt;   &lt;/extension&gt;<br>
&gt; &lt;/include&gt;<br>
<br>
Except these three files, everything&#39;s out of the box setup.<br>
<br>
When dialing any number, the same codec negotiation issue pops up :<br>
<br>
&gt; 2012-02-16 19:50:40.735750 [DEBUG] sofia.c:5525 Channel sofia/external/0251685292 entering state [received][100]<br>
&gt; 2012-02-16 19:50:40.735750 [DEBUG] sofia.c:5536 Remote SDP:<br>
&gt; v=0^M<br>
&gt; o=root 14865 14867 IN IP4 192.168.22.103^M<br>
&gt; s=session^M<br>
&gt; c=IN IP4 <a href="tel:83.136.164.34" value="+18313616434">83.136.164.34</a>^M<br>
&gt; t=0 0^M<br>
&gt; m=audio 58298 RTP/AVP 8 101^M<br>
&gt; a=rtpmap:8 PCMA/8000^M<br>
&gt; a=rtpmap:101 telephone-event/8000^M<br>
&gt; a=fmtp:101 0-16^M<br>
&gt; a=ptime:20^M<br>
&gt; a=nortpproxy:yes^M<br>
&gt;<br>
&gt; 2012-02-16 19:50:40.735750 [DEBUG] sofia_glue.c:4820 Audio Codec Compare [PCMA:8:8000:20:64000]/[GSM:3:8000:20:13200]<br>
&gt; 2012-02-16 19:50:40.735750 [DEBUG] sofia_glue.c:4820 Audio Codec Compare [telephone-event:101:8000:20:0]/[GSM:3:8000:20:13200]<br>
&gt; 2012-02-16 19:50:40.735750 [DEBUG] sofia_glue.c:4934 Set 2833 dtmf send payload to 101<br>
&gt; 2012-02-16 19:50:40.735750 [ERR] sofia.c:6036 Reinvite Codec Error!<br>
&gt; 2012-02-16 19:50:40.735750 [DEBUG] sofia.c:5525 Channel sofia/internal/<a href="mailto:1501@srvbsdfenssv.interne.associated-bears.org">1501@srvbsdfenssv.interne.associated-bears.org</a> entering state [ready][200]<br>

&gt; 2012-02-16 19:50:40.735750 [DEBUG] switch_core_session.c:875 Send signal sofia/external/0251685292 [BREAK]<br>
&gt; 2012-02-16 19:50:40.735750 [DEBUG] switch_core_session.c:875 Send signal sofia/external/0251685292 [BREAK]<br>
&gt; 2012-02-16 19:50:40.735750 [DEBUG] switch_core_session.c:791 Send signal sofia/external/0251685292 [BREAK]<br>
&gt; 2012-02-16 19:50:40.735750 [DEBUG] switch_core_session.c:791 Send signal sofia/internal/<a href="mailto:1501@srvbsdfenssv.interne.associated-bears.org">1501@srvbsdfenssv.interne.associated-bears.org</a> [BREAK]<br>
<br>
So, any help solving this issue would be gladly received.<br>
<br>
Éric Masson<br>
<br>
<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>
</blockquote></div><br>