[ERR] mod_sofia.c:2332 CODEC NEGOTIATION ERROR.

994 views
Skip to first unread message

2600hz-dev

unread,
Feb 7, 2017, 10:25:35 AM2/7/17
to 2600hz-dev
Greetings fellow kazooers! does anyone know if there are any bugs in Freeswitch in regards to codec negotiation ?
My Kazoo setup is refusing to accept incoming calls from my provider, but outbound calls works fine, the inbound call leg has PCMU and PCMA  activated, and so has freeswitch...
I have this default setup in the freeswitch configs in regards to codecs: 

/etc/kazoo/freeswitch/freeswitch.xml:
freeswitch.xml:    <X-PRE-PROCESS cmd="set" data="codecs=OPUS,VP8,H263,H264,G7221@32000h,G7221@16000h,G722,PCMU,PCMA,G729,GSM,Speex"/>

/etc/kazoo/freeswitch/sip_profiles/sipinterface_1.xml:
            <!-- Codecs -->
            <!--<param name="codec-prefs" value="$${codecs}"/>-->
            <param name="inbound-codec-prefs" value="$${codecs}"/>
            <param name="outbound-codec-prefs" value="$${codecs}"/>
            <param name="inbound-codec-negotiation" value="greedy"/>
            <param name="inbound-late-negotiation" value="true"/>
            <!--<param name="bitpacking" value="aal2"/> -->
            <param name="disable-transcoding" value="false"/>
            <!--<param name="NDLB-allow-bad-iananame" value="true"/>-->
            <param name="t38-passthru" value="true"/>

Freeswitch Log from a call: http://pastebin.com/zGK5qBkA

Any pointers or help is greatly appreciated!
Cheers

2600hz-dev

unread,
Feb 7, 2017, 10:38:59 AM2/7/17
to 2600hz-dev
Further search and troubleshooting showed me that it's due to the provider putting T38 settings in the initial SDP header, and the new Freeswitch version apparently does not like this.

altm

unread,
Feb 7, 2017, 11:33:49 PM2/7/17
to 2600hz-dev
is mod_spansdp loaded and t38 enabled in your freeswitch server? 

Sergey Safarov

unread,
Feb 7, 2017, 11:43:53 PM2/7/17
to 2600hz-dev
Think T.38 must work out of box.

Test on vanilla FreeSwitch config. If reproduced then make bugreport to FreeSwitch jira.

Sergey

вторник, 7 февраля 2017 г., 18:38:59 UTC+3 пользователь 2600hz-dev написал:

2600hz-dev

unread,
Feb 14, 2017, 7:25:11 AM2/14/17
to 2600hz-dev
Sorry for the long delay in my reply, but I have been away on holiday :-)

My solution was to get my provider to stop sending T38 in the SDP header, as this was due to me being on some old equipment they used for customers that needs FAX.

My Freeswitch server is pretty much configured as standard, so not sure if T38 is enabled.

/Michael


Den tirsdag den 7. februar 2017 kl. 16.25.35 UTC+1 skrev 2600hz-dev:
Reply all
Reply to author
Forward
0 new messages