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"><<a href="mailto:emss.mail@gmail.com">emss.mail@gmail.com</a>></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>
> show codec shows the codecs that FreeSWITCH can handle, but it does<br>
> *not* show specific codecs your SIP profile is using. Look in your SIP<br>
> profile (internal.xml or external.xml or whatever) and check out the<br>
> codec_prefs.<br>
<br>
I'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>
> <include><br>
> <gateway name="<a href="http://keyyo.net" target="_blank">keyyo.net</a>"><br>
> <param name="username" value="myname"/><br>
> <param name="password" value="mypw"/><br>
> <param name="realm" value="<a href="http://keyyo.net" target="_blank">keyyo.net</a>"/><br>
> <param name="proxy" value="<a href="http://keyyo.net" target="_blank">keyyo.net</a>"/><br>
> <param name="register-proxy" value="<a href="http://keyyo.net" target="_blank">keyyo.net</a>"/><br>
> <param name="register" value="true"/><br>
> <param name="ping" value="5"/><br>
> <param name="ping-max" value="10"/><br>
> <param name="ping-min" value="3"/><br>
> <param name="retry-seconds" value="5"/><br>
> </gateway><br>
> </include><br>
<br>
user definition file in $prefix/conf/directory/default<br>
<br>
> <include><br>
> <user id="1501"><br>
> <params><br>
> <param name="password" value="$${default_password}"/><br>
> <param name="vm-password" value="1501"/><br>
> </params><br>
> <variables><br>
> <variable name="toll_allow" value="domestic,international,local"/><br>
> <variable name="accountcode" value="1501"/><br>
> <variable name="user_context" value="default"/><br>
> <variable name="effective_caller_id_name" value="XLite Test"/><br>
> <variable name="effective_caller_id_number" value="1501"/><br>
> <variable name="outbound_caller_id_name" value="$${outbound_caller_name}"/><br>
> <variable name="outbound_caller_id_number" value="$${outbound_caller_id}"/><br>
> <variable name="callgroup" value="test"/><br>
> </variables><br>
> </user><br>
> </include><br>
<br>
extension for outgoing calls in £prefix/conf/diaplan/default<br>
<br>
> <include><br>
> <extension name="outbound_calls" continue="false"><br>
> <condition field="destination_number" expression = "^0(.*)$"><br>
> <action application="set" data="effective_caller_id_name=test"/><br>
> <action application="set" data="effective_caller_id_number=0980406292"/><br>
> <action application="bridge" data="sofia/gateway/<a href="http://keyyo.net/0$1" target="_blank">keyyo.net/0$1</a>"/><br>
> </condition><br>
> </extension><br>
> </include><br>
<br>
Except these three files, everything's out of the box setup.<br>
<br>
When dialing any number, the same codec negotiation issue pops up :<br>
<br>
> 2012-02-16 19:50:40.735750 [DEBUG] sofia.c:5525 Channel sofia/external/0251685292 entering state [received][100]<br>
> 2012-02-16 19:50:40.735750 [DEBUG] sofia.c:5536 Remote SDP:<br>
> v=0^M<br>
> o=root 14865 14867 IN IP4 192.168.22.103^M<br>
> s=session^M<br>
> c=IN IP4 <a href="tel:83.136.164.34" value="+18313616434">83.136.164.34</a>^M<br>
> t=0 0^M<br>
> m=audio 58298 RTP/AVP 8 101^M<br>
> a=rtpmap:8 PCMA/8000^M<br>
> a=rtpmap:101 telephone-event/8000^M<br>
> a=fmtp:101 0-16^M<br>
> a=ptime:20^M<br>
> a=nortpproxy:yes^M<br>
><br>
> 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>
> 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>
> 2012-02-16 19:50:40.735750 [DEBUG] sofia_glue.c:4934 Set 2833 dtmf send payload to 101<br>
> 2012-02-16 19:50:40.735750 [ERR] sofia.c:6036 Reinvite Codec Error!<br>
> 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>
> 2012-02-16 19:50:40.735750 [DEBUG] switch_core_session.c:875 Send signal sofia/external/0251685292 [BREAK]<br>
> 2012-02-16 19:50:40.735750 [DEBUG] switch_core_session.c:875 Send signal sofia/external/0251685292 [BREAK]<br>
> 2012-02-16 19:50:40.735750 [DEBUG] switch_core_session.c:791 Send signal sofia/external/0251685292 [BREAK]<br>
> 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>