Discussion:
[Freeswitch-users] Codec Mismatch Because of Different Frame Size
Jan Riedinger
2010-09-30 10:25:19 UTC
Permalink
I'm using the following configuration:

vars.xml:
<X-PRE-PROCESS cmd="set"
data="global_codec_prefs=G729,PCMU,PCMA,G723,G7221 at 32000h,G7221 at 16000h,G722,GSM"/>
<X-PRE-PROCESS cmd="set"
data="outbound_codec_prefs=G729,PCMU,PCMA,G723,GSM"/>

external.xml (my standard sip profile):
<param name="inbound-codec-negotiation" value="greedy"/>
<param name="inbound-late-negotiation" value="false"/>
<param name="disable-transcoding" value="true"/>

With this configuration I want to restrict the allowed codecs, force the
usage of G729 as first choice, if available and to minimize the calls
with transcoding. I don't want to force the usage of a specific frame size.

Now a lot of calls get rejected with "incompatible destination" by
FreeSwitch, because the frame size of the incoming calls differs from
the Freeswitch default (mostly 20 ms), see the debug log below.

Is this the intended behaviour? If it is, how can I circumvent it? Do I
have to list every codec with every possible frame size in the
global_codec_prefs list?

Thank you in advance
Jan

2010-09-30 10:25:45.798068 [DEBUG] sofia.c:4469 Channel
sofia/external/0049xxx at X.X.X.X entering state [received][100]
2010-09-30 10:25:45.798068 [DEBUG] sofia.c:4480 Remote SDP:
v=0

o=- 554229 1 IN IP4 X.X.X.X

s=-

c=IN IP4 X.X.X.X

t=0 0

a=sendrecv

m=audio 26044 RTP/AVP 18 4 0 8 96 101

a=fmtp:18 annexb=yes

a=rtpmap:96 G726-32/8000

a=rtpmap:101 telephone-event/8000

a=ptime:60

a=silenceSupp:off - - - -


2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [G729:18:8000:60:0]/[G729:18:8000:20:8000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [G723:4:8000:60:0]/[G729:18:8000:20:8000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [PCMU:0:8000:60:0]/[G729:18:8000:20:8000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [PCMA:8:8000:60:0]/[G729:18:8000:20:8000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [G726-32:96:8000:60:0]/[G729:18:8000:20:8000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [telephone-event:101:8000:60:0]/[G729:18:8000:20:8000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4335 Set 2833
dtmf send/recv payload to 101
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [G729:18:8000:60:0]/[PCMU:0:8000:20:64000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [G723:4:8000:60:0]/[PCMU:0:8000:20:64000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [PCMU:0:8000:60:0]/[PCMU:0:8000:20:64000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [PCMA:8:8000:60:0]/[PCMU:0:8000:20:64000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [G726-32:96:8000:60:0]/[PCMU:0:8000:20:64000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [telephone-event:101:8000:60:0]/[PCMU:0:8000:20:64000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4335 Set 2833
dtmf send/recv payload to 101
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [G729:18:8000:60:0]/[PCMA:8:8000:20:64000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [G723:4:8000:60:0]/[PCMA:8:8000:20:64000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [PCMU:0:8000:60:0]/[PCMA:8:8000:20:64000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [PCMA:8:8000:60:0]/[PCMA:8:8000:20:64000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [G726-32:96:8000:60:0]/[PCMA:8:8000:20:64000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [telephone-event:101:8000:60:0]/[PCMA:8:8000:20:64000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4335 Set 2833
dtmf send/recv payload to 101
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [G729:18:8000:60:0]/[G7221:115:32000:20:48000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [G723:4:8000:60:0]/[G7221:115:32000:20:48000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [PCMU:0:8000:60:0]/[G7221:115:32000:20:48000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [PCMA:8:8000:60:0]/[G7221:115:32000:20:48000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [G726-32:96:8000:60:0]/[G7221:115:32000:20:48000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [telephone-event:101:8000:60:0]/[G7221:115:32000:20:48000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4335 Set 2833
dtmf send/recv payload to 101
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [G729:18:8000:60:0]/[G7221:107:16000:20:32000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [G723:4:8000:60:0]/[G7221:107:16000:20:32000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [PCMU:0:8000:60:0]/[G7221:107:16000:20:32000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [PCMA:8:8000:60:0]/[G7221:107:16000:20:32000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [G726-32:96:8000:60:0]/[G7221:107:16000:20:32000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [telephone-event:101:8000:60:0]/[G7221:107:16000:20:32000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4335 Set 2833
dtmf send/recv payload to 101
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [G729:18:8000:60:0]/[G722:9:8000:20:64000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [G723:4:8000:60:0]/[G722:9:8000:20:64000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [PCMU:0:8000:60:0]/[G722:9:8000:20:64000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [PCMA:8:8000:60:0]/[G722:9:8000:20:64000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [G726-32:96:8000:60:0]/[G722:9:8000:20:64000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [telephone-event:101:8000:60:0]/[G722:9:8000:20:64000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4335 Set 2833
dtmf send/recv payload to 101
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [G729:18:8000:60:0]/[GSM:3:8000:20:13200]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [G723:4:8000:60:0]/[GSM:3:8000:20:13200]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [PCMU:0:8000:60:0]/[GSM:3:8000:20:13200]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [PCMA:8:8000:60:0]/[GSM:3:8000:20:13200]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [G726-32:96:8000:60:0]/[GSM:3:8000:20:13200]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [telephone-event:101:8000:60:0]/[GSM:3:8000:20:13200]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4335 Set 2833
dtmf send/recv payload to 101
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4335 Set 2833
dtmf send/recv payload to 101
2010-09-30 10:25:45.799052 [DEBUG]
switch_core_state_machine.c:314 (sofia/external/0049xxx at x.x.x.x) Running
State Change CS_NEW
2010-09-30 10:25:45.799052 [DEBUG]
switch_core_state_machine.c:320 (sofia/external/0049xxx at x.x.x.x) State NEW
2010-09-30 10:25:45.799052 [DEBUG] switch_channel.c:2359
(sofia/external/0049xxx at x.x.x.x) Callstate Change DOWN -> HANGUP
2010-09-30 10:25:45.799052 [DEBUG]
switch_core_state_machine.c:314 (sofia/external/0049xxx at x.x.x.x) Running
State Change CS_HANGUP
2010-09-30 10:25:45.799052 [NOTICE] sofia.c:4686 Hangup
sofia/external/0049xxx at x.x.x.x [CS_NEW] [INCOMPATIBLE_DESTINATION]
--
Jan Riedinger Phone : +49-30-39 73 19 66
Dipl.-Inf. | Managing Director Fax : +49-30-39 73 19 64
E-Mail: riedinger at sns.eu
SNS Consult GmbH ICQ : 163-237-041
S?dwestkorso 49a MSN : jan at sns-consult.de
14197 Berlin GERMANY Skype : Jan Riedinger

AG Charlottenburg - HRB 71973
David Ponzone
2010-09-30 10:45:55 UTC
Permalink
Jan,

as far as I know, FS does not care about the ptime.
The behaviour you are noticing is weird.

Can you tell us which version you are using ?

David Ponzone Direction Technique
email: david.ponzone at ipeva.fr
tel: 01 74 03 18 97
gsm: 06 66 98 76 34

Service Client IPeva
tel: 0811 46 26 26
www.ipeva.fr - www.ipeva-studio.com

Ce message et toutes les pi?ces jointes sont confidentiels et ?tablis
? l'intention exclusive de ses destinataires. Toute utilisation ou
diffusion non autoris?e est interdite. Tout message ?lectronique est
susceptible d'alt?ration. IPeva d?cline toute responsabilit? au
titre de ce message s'il a ?t? alt?r?, d?form? ou falsifi?. Si
vous n'?tes pas destinataire de ce message, merci de le d?truire
imm?diatement et d'avertir l'exp?diteur.
Post by Jan Riedinger
<X-PRE-PROCESS cmd="set"
data
=
"global_codec_prefs
=G729,PCMU,PCMA,G723,G7221 at 32000h,G7221 at 16000h,G722,GSM"/>
<X-PRE-PROCESS cmd="set"
data="outbound_codec_prefs=G729,PCMU,PCMA,G723,GSM"/>
<param name="inbound-codec-negotiation" value="greedy"/>
<param name="inbound-late-negotiation" value="false"/>
<param name="disable-transcoding" value="true"/>
With this configuration I want to restrict the allowed codecs, force the
usage of G729 as first choice, if available and to minimize the calls
with transcoding. I don't want to force the usage of a specific frame size.
Now a lot of calls get rejected with "incompatible destination" by
FreeSwitch, because the frame size of the incoming calls differs from
the Freeswitch default (mostly 20 ms), see the debug log below.
Is this the intended behaviour? If it is, how can I circumvent it? Do I
have to list every codec with every possible frame size in the
global_codec_prefs list?
Thank you in advance
Jan
2010-09-30 10:25:45.798068 [DEBUG] sofia.c:4469 Channel
sofia/external/0049xxx at X.X.X.X entering state [received][100]
v=0
o=- 554229 1 IN IP4 X.X.X.X
s=-
c=IN IP4 X.X.X.X
t=0 0
a=sendrecv
m=audio 26044 RTP/AVP 18 4 0 8 96 101
a=fmtp:18 annexb=yes
a=rtpmap:96 G726-32/8000
a=rtpmap:101 telephone-event/8000
a=ptime:60
a=silenceSupp:off - - - -
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [G729:18:8000:60:0]/[G729:18:8000:20:8000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [G723:4:8000:60:0]/[G729:18:8000:20:8000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [PCMU:0:8000:60:0]/[G729:18:8000:20:8000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [PCMA:8:8000:60:0]/[G729:18:8000:20:8000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [G726-32:96:8000:60:0]/[G729:18:8000:20:8000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [telephone-event:101:8000:60:0]/[G729:18:8000:20:8000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4335 Set 2833
dtmf send/recv payload to 101
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [G729:18:8000:60:0]/[PCMU:0:8000:20:64000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [G723:4:8000:60:0]/[PCMU:0:8000:20:64000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [PCMU:0:8000:60:0]/[PCMU:0:8000:20:64000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [PCMA:8:8000:60:0]/[PCMU:0:8000:20:64000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [G726-32:96:8000:60:0]/[PCMU:0:8000:20:64000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [telephone-event:101:8000:60:0]/[PCMU:0:8000:20:64000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4335 Set 2833
dtmf send/recv payload to 101
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [G729:18:8000:60:0]/[PCMA:8:8000:20:64000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [G723:4:8000:60:0]/[PCMA:8:8000:20:64000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [PCMU:0:8000:60:0]/[PCMA:8:8000:20:64000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [PCMA:8:8000:60:0]/[PCMA:8:8000:20:64000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [G726-32:96:8000:60:0]/[PCMA:8:8000:20:64000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [telephone-event:101:8000:60:0]/[PCMA:8:8000:20:64000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4335 Set 2833
dtmf send/recv payload to 101
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [G729:18:8000:60:0]/[G7221:115:32000:20:48000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [G723:4:8000:60:0]/[G7221:115:32000:20:48000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [PCMU:0:8000:60:0]/[G7221:115:32000:20:48000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [PCMA:8:8000:60:0]/[G7221:115:32000:20:48000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [G726-32:96:8000:60:0]/[G7221:115:32000:20:48000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [telephone-event:101:8000:60:0]/[G7221:115:32000:20:48000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4335 Set 2833
dtmf send/recv payload to 101
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [G729:18:8000:60:0]/[G7221:107:16000:20:32000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [G723:4:8000:60:0]/[G7221:107:16000:20:32000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [PCMU:0:8000:60:0]/[G7221:107:16000:20:32000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [PCMA:8:8000:60:0]/[G7221:107:16000:20:32000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [G726-32:96:8000:60:0]/[G7221:107:16000:20:32000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [telephone-event:101:8000:60:0]/[G7221:107:16000:20:32000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4335 Set 2833
dtmf send/recv payload to 101
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [G729:18:8000:60:0]/[G722:9:8000:20:64000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [G723:4:8000:60:0]/[G722:9:8000:20:64000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [PCMU:0:8000:60:0]/[G722:9:8000:20:64000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [PCMA:8:8000:60:0]/[G722:9:8000:20:64000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [G726-32:96:8000:60:0]/[G722:9:8000:20:64000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [telephone-event:101:8000:60:0]/[G722:9:8000:20:64000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4335 Set 2833
dtmf send/recv payload to 101
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [G729:18:8000:60:0]/[GSM:3:8000:20:13200]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [G723:4:8000:60:0]/[GSM:3:8000:20:13200]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [PCMU:0:8000:60:0]/[GSM:3:8000:20:13200]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [PCMA:8:8000:60:0]/[GSM:3:8000:20:13200]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [G726-32:96:8000:60:0]/[GSM:3:8000:20:13200]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [telephone-event:101:8000:60:0]/[GSM:3:8000:20:13200]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4335 Set 2833
dtmf send/recv payload to 101
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4335 Set 2833
dtmf send/recv payload to 101
2010-09-30 10:25:45.799052 [DEBUG]
switch_core_state_machine.c:314 (sofia/external/0049xxx at x.x.x.x) Running
State Change CS_NEW
2010-09-30 10:25:45.799052 [DEBUG]
switch_core_state_machine.c:320 (sofia/external/0049xxx at x.x.x.x) State NEW
2010-09-30 10:25:45.799052 [DEBUG] switch_channel.c:2359
(sofia/external/0049xxx at x.x.x.x) Callstate Change DOWN -> HANGUP
2010-09-30 10:25:45.799052 [DEBUG]
switch_core_state_machine.c:314 (sofia/external/0049xxx at x.x.x.x) Running
State Change CS_HANGUP
2010-09-30 10:25:45.799052 [NOTICE] sofia.c:4686 Hangup
sofia/external/0049xxx at x.x.x.x [CS_NEW] [INCOMPATIBLE_DESTINATION]
--
Jan Riedinger Phone : +49-30-39 73 19 66
Dipl.-Inf. | Managing Director Fax : +49-30-39 73 19 64
E-Mail: riedinger at sns.eu
SNS Consult GmbH ICQ : 163-237-041
S?dwestkorso 49a MSN : jan at sns-consult.de
14197 Berlin GERMANY Skype : Jan Riedinger
AG Charlottenburg - HRB 71973
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100930/92fdf795/attachment-0001.html
Jan Riedinger
2010-09-30 11:16:06 UTC
Permalink
It's the git version from yesterday evening:

freeswitch at internal> version
FreeSWITCH Version 1.0.head (git-633f193 2010-09-29 16-52-43 -0500)

BR
Jan
Post by David Ponzone
Jan,
as far as I know, FS does not care about the ptime.
The behaviour you are noticing is weird.
Can you tell us which version you are using ?
David Ponzone Direction Technique
email: david.ponzone at ipeva.fr <mailto:david.ponzone at ipeva.fr>
tel: 01 74 03 18 97
gsm: 06 66 98 76 34
Service Client IP eva
tel: 0811 46 26 26
www.ipeva.fr <BLOCKED::http://www.ipeva.fr/> - www.ipeva-studio.com
<BLOCKED::http://www.ipeva-studio.com/>
/Ce message et toutes les pi?ces jointes sont confidentiels et ?tablis
? l'intention exclusive de ses destinataires. Toute utilisation ou
diffusion non autoris?e est interdite. Tout message ?lectronique est
susceptible d'alt?ration. /*/IPeva/*/ d?cline toute responsabilit? au
titre de ce message s'il a ?t? alt?r?, d?form? ou falsifi?. Si vous
n'?tes pas destinataire de ce message, merci de le d?truire
imm?diatement et d'avertir l'exp?diteur./
/
/
Post by Jan Riedinger
<X-PRE-PROCESS cmd="set"
data="global_codec_prefs=G729,PCMU,PCMA,G723,G7221 at 32000h,G7221 at 16000h,G722,GSM"/>
<X-PRE-PROCESS cmd="set"
data="outbound_codec_prefs=G729,PCMU,PCMA,G723,GSM"/>
<param name="inbound-codec-negotiation" value="greedy"/>
<param name="inbound-late-negotiation" value="false"/>
<param name="disable-transcoding" value="true"/>
With this configuration I want to restrict the allowed codecs, force the
usage of G729 as first choice, if available and to minimize the calls
with transcoding. I don't want to force the usage of a specific frame size.
Now a lot of calls get rejected with "incompatible destination" by
FreeSwitch, because the frame size of the incoming calls differs from
the Freeswitch default (mostly 20 ms), see the debug log below.
Is this the intended behaviour? If it is, how can I circumvent it? Do I
have to list every codec with every possible frame size in the
global_codec_prefs list?
Thank you in advance
Jan
2010-09-30 10:25:45.798068 [DEBUG] sofia.c:4469 Channel
sofia/external/0049xxx at X.X.X.X
<mailto:sofia/external/0049xxx at X.X.X.X> entering state [received][100]
v=0
o=- 554229 1 IN IP4 X.X.X.X
s=-
c=IN IP4 X.X.X.X
t=0 0
a=sendrecv
m=audio 26044 RTP/AVP 18 4 0 8 96 101
a=fmtp:18 annexb=yes
a=rtpmap:96 G726-32/8000
a=rtpmap:101 telephone-event/8000
a=ptime:60
a=silenceSupp:off - - - -
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [G729:18:8000:60:0]/[G729:18:8000:20:8000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [G723:4:8000:60:0]/[G729:18:8000:20:8000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [PCMU:0:8000:60:0]/[G729:18:8000:20:8000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [PCMA:8:8000:60:0]/[G729:18:8000:20:8000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [G726-32:96:8000:60:0]/[G729:18:8000:20:8000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [telephone-event:101:8000:60:0]/[G729:18:8000:20:8000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4335 Set 2833
dtmf send/recv payload to 101
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [G729:18:8000:60:0]/[PCMU:0:8000:20:64000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [G723:4:8000:60:0]/[PCMU:0:8000:20:64000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [PCMU:0:8000:60:0]/[PCMU:0:8000:20:64000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [PCMA:8:8000:60:0]/[PCMU:0:8000:20:64000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [G726-32:96:8000:60:0]/[PCMU:0:8000:20:64000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [telephone-event:101:8000:60:0]/[PCMU:0:8000:20:64000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4335 Set 2833
dtmf send/recv payload to 101
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [G729:18:8000:60:0]/[PCMA:8:8000:20:64000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [G723:4:8000:60:0]/[PCMA:8:8000:20:64000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [PCMU:0:8000:60:0]/[PCMA:8:8000:20:64000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [PCMA:8:8000:60:0]/[PCMA:8:8000:20:64000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [G726-32:96:8000:60:0]/[PCMA:8:8000:20:64000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [telephone-event:101:8000:60:0]/[PCMA:8:8000:20:64000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4335 Set 2833
dtmf send/recv payload to 101
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [G729:18:8000:60:0]/[G7221:115:32000:20:48000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [G723:4:8000:60:0]/[G7221:115:32000:20:48000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [PCMU:0:8000:60:0]/[G7221:115:32000:20:48000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [PCMA:8:8000:60:0]/[G7221:115:32000:20:48000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [G726-32:96:8000:60:0]/[G7221:115:32000:20:48000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [telephone-event:101:8000:60:0]/[G7221:115:32000:20:48000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4335 Set 2833
dtmf send/recv payload to 101
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [G729:18:8000:60:0]/[G7221:107:16000:20:32000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [G723:4:8000:60:0]/[G7221:107:16000:20:32000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [PCMU:0:8000:60:0]/[G7221:107:16000:20:32000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [PCMA:8:8000:60:0]/[G7221:107:16000:20:32000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [G726-32:96:8000:60:0]/[G7221:107:16000:20:32000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [telephone-event:101:8000:60:0]/[G7221:107:16000:20:32000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4335 Set 2833
dtmf send/recv payload to 101
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [G729:18:8000:60:0]/[G722:9:8000:20:64000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [G723:4:8000:60:0]/[G722:9:8000:20:64000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [PCMU:0:8000:60:0]/[G722:9:8000:20:64000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [PCMA:8:8000:60:0]/[G722:9:8000:20:64000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [G726-32:96:8000:60:0]/[G722:9:8000:20:64000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [telephone-event:101:8000:60:0]/[G722:9:8000:20:64000]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4335 Set 2833
dtmf send/recv payload to 101
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [G729:18:8000:60:0]/[GSM:3:8000:20:13200]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [G723:4:8000:60:0]/[GSM:3:8000:20:13200]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [PCMU:0:8000:60:0]/[GSM:3:8000:20:13200]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [PCMA:8:8000:60:0]/[GSM:3:8000:20:13200]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [G726-32:96:8000:60:0]/[GSM:3:8000:20:13200]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4233 Audio Codec
Compare [telephone-event:101:8000:60:0]/[GSM:3:8000:20:13200]
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4335 Set 2833
dtmf send/recv payload to 101
2010-09-30 10:25:45.798068 [DEBUG] sofia_glue.c:4335 Set 2833
dtmf send/recv payload to 101
2010-09-30 10:25:45.799052 [DEBUG]
switch_core_state_machine.c:314 (sofia/external/0049xxx at x.x.x.x
<mailto:sofia/external/0049xxx at x.x.x.x>) Running
State Change CS_NEW
2010-09-30 10:25:45.799052 [DEBUG]
switch_core_state_machine.c:320 (sofia/external/0049xxx at x.x.x.x
<mailto:sofia/external/0049xxx at x.x.x.x>) State NEW
2010-09-30 10:25:45.799052 [DEBUG] switch_channel.c:2359
(sofia/external/0049xxx at x.x.x.x
<mailto:sofia/external/0049xxx at x.x.x.x>) Callstate Change DOWN -> HANGUP
2010-09-30 10:25:45.799052 [DEBUG]
switch_core_state_machine.c:314 (sofia/external/0049xxx at x.x.x.x
<mailto:sofia/external/0049xxx at x.x.x.x>) Running
State Change CS_HANGUP
2010-09-30 10:25:45.799052 [NOTICE] sofia.c:4686 Hangup
sofia/external/0049xxx at x.x.x.x
<mailto:sofia/external/0049xxx at x.x.x.x> [CS_NEW]
[INCOMPATIBLE_DESTINATION]
--
Jan Riedinger Phone : +49-30-39 73 19 66
Dipl.-Inf. | Managing Director Fax : +49-30-39 73 19 64
E-Mail: riedinger at sns.eu
<mailto:riedinger at sns.eu>
SNS Consult GmbH ICQ : 163-237-041
S?dwestkorso 49a MSN : jan at sns-consult.de
<mailto:jan at sns-consult.de>
14197 Berlin GERMANY Skype : Jan Riedinger
AG Charlottenburg - HRB 71973
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
<mailto:FreeSWITCH-users at lists.freeswitch.org>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
--
Jan Riedinger Phone : +49-30-39 73 19 66
Dipl.-Inf. | Managing Director Fax : +49-30-39 73 19 64
E-Mail: riedinger at sns.eu
SNS Consult GmbH ICQ : 163-237-041
S?dwestkorso 49a MSN : jan at sns-consult.de
14197 Berlin GERMANY Skype : Jan Riedinger

AG Charlottenburg - HRB 71973

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100930/47de2f96/attachment-0001.html
Brock Williams
2010-09-30 16:24:04 UTC
Permalink
We are experiencing the same problem on a git pull from yesterday.

Brock
Post by Jan Riedinger
freeswitch at internal> version
FreeSWITCH Version 1.0.head (git-633f193 2010-09-29 16-52-43 -0500)
BR
Jan
--
Brock Williams bwilliams at lightnex.com
LightNex Communications, Inc.
www.lightnex.com 1-877-FIBER-MT
Brian West
2010-09-30 16:46:11 UTC
Permalink
Codec interface was changed a little bit yesterday to support per codec fmtp parsing and bitrates for g722.1 which was the reason it was changed. Please make sure your tree is clean and do a make current again and see if that solves your problem.

/b
Post by Brock Williams
We are experiencing the same problem on a git pull from yesterday.
Brock
Post by Jan Riedinger
freeswitch at internal> version
FreeSWITCH Version 1.0.head (git-633f193 2010-09-29 16-52-43 -0500)
BR
Jan
Kristian Kielhofner
2010-09-30 18:21:56 UTC
Permalink
Brian,

This is neat... I asked about this a while back for SILK. Is this
done generically in the codec interface or is it specific to G.722.1?
Codec interface was changed a little bit yesterday to support per codec fmtp parsing and bitrates for g722.1 which was the reason it was changed. ?Please make sure your tree is clean and do a make current again and see if that solves your problem.
/b
--
Kristian Kielhofner
http://www.astlinux.org
http://blog.krisk.org
http://www.star2star.com
http://www.submityoursip.com
http://www.voalte.com
Anthony Minessale
2010-09-30 20:21:27 UTC
Permalink
Indeed it's a regression from last night, please update again.
Post by Kristian Kielhofner
Brian,
?This is neat... I asked about this a while back for SILK. ?Is this
done generically in the codec interface or is it specific to G.722.1?
Codec interface was changed a little bit yesterday to support per codec fmtp parsing and bitrates for g722.1 which was the reason it was changed. ?Please make sure your tree is clean and do a make current again and see if that solves your problem.
/b
--
Kristian Kielhofner
http://www.astlinux.org
http://blog.krisk.org
http://www.star2star.com
http://www.submityoursip.com
http://www.voalte.com
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale at hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org
googletalk:conf+888 at conference.freeswitch.org
pstn:+19193869900
Jan Riedinger
2010-09-30 21:09:35 UTC
Permalink
I checked out and compiled the current git version some hours ago.
Unfortunately the problem seems to be still not fixed. I tried to
examine it more detailed. I will attach this e-mail additionally in a
text file to avoid that it get unreadable by line wrapping.

A call from a Cisco is working, if "codec g729 bytes 60" is configured only:

v=0
o=CiscoSystemsSIP-GW-UserAgent 5025 3066 IN IP4 a.b.c.d
s=SIP Call
c=IN IP4 a.b.c.d
t=0 0
m=audio 16408 RTP/AVP 18
c=IN IP4 a.b.c.d
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=ptime:60

2010-09-30 21:37:44.297076 [DEBUG] sofia_glue.c:3873 Activate Buggy
RFC2833 Mode!
m2010-09-30 21:37:44.297076 [DEBUG] sofia_glue.c:4229 Audio Codec
Compare [G729:18:8000:60:0]/[G729:18:8000:20:8000]
m2010-09-30 21:37:44.297076 [DEBUG] sofia_glue.c:4282 Substituting codec
G729 at ***@8000h
2010-09-30 21:37:44.297076 [DEBUG] sofia_glue.c:3873 Activate Buggy
RFC2833 Mode!
2010-09-30 21:37:44.297076 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[G729:18:8000:60:0]/[G729:18:8000:20:8000]
2010-09-30 21:37:44.297076 [DEBUG] sofia_glue.c:4282 Substituting codec
G729 at ***@8000h

For a Cisco, on which I configured a codec list with frame sizes of 80
bytes, the matching is working as well. Maybe it's because no ptime is
set at all:

2010-09-30 22:06:45.598963 [DEBUG] sofia.c:4469 Channel
sofia/external/3039731964 at a.b.c.d entering state [received][100]
2010-09-30 22:06:45.598963 [DEBUG] sofia.c:4480 Remote SDP:
v=0
o=CiscoSystemsSIP-GW-UserAgent 6897 7698 IN IP4 a.b.c.d
s=SIP Call
c=IN IP4 a.b.c.d
t=0 0
m=audio 17640 RTP/AVP 18 8 0
c=IN IP4 a.b.c.d
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000


2010-09-30 22:06:45.598963 [DEBUG] sofia_glue.c:3873 Activate Buggy
RFC2833 Mode!
2010-09-30 22:06:45.598963 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[G729:18:8000:20:0]/[G729:18:8000:20:8000]
2010-09-30 22:06:45.598963 [DEBUG] sofia_glue.c:2600 Set Codec
sofia/external/3039731964 at a.b.c.d G729/8000 20 ms 160 samples 8000 bits

But I still can observe problems, when a codec list is used and some
kind of ptime is set. Unfortunately I can't trigger such calls, I have
to wait until I receive them from my customers:

2010-09-30 22:50:14.152164 [NOTICE] switch_channel.c:779 New Channel
sofia/external/12345 at a.b.c.d [c02c759a-2d43-445f-992f-8c3f59d6171a]
2010-09-30 22:50:14.152164 [DEBUG] sofia.c:4469 Channel
sofia/external/12345 at a.b.c.d entering state [received][100]
2010-09-30 22:50:14.152164 [DEBUG] sofia.c:4480 Remote SDP:
v=0
o=Sonus_UAC 10702 20259 IN IP4 a.b.c.d
s=SIP Media Capabilities
c=IN IP4 195.219.240.20
t=0 0
m=audio 26128 RTP/AVP 8 0 18 4 101
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:4 G723/8000
a=fmtp:4 bitrate=6.3
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=maxptime:30


2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[PCMA:8:8000:30:0]/[G729:18:8000:20:8000]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[PCMU:0:8000:30:0]/[G729:18:8000:20:8000]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[G729:18:8000:30:0]/[G729:18:8000:20:8000]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[G723:4:8000:30:0]/[G729:18:8000:20:8000]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[telephone-event:101:8000:30:0]/[G729:18:8000:20:8000]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4331 Set 2833 dtmf
send/recv payload to 101
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[PCMA:8:8000:30:0]/[PCMU:0:8000:20:64000]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[PCMU:0:8000:30:0]/[PCMU:0:8000:20:64000]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[G729:18:8000:30:0]/[PCMU:0:8000:20:64000]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[G723:4:8000:30:0]/[PCMU:0:8000:20:64000]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[telephone-event:101:8000:30:0]/[PCMU:0:8000:20:64000]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4331 Set 2833 dtmf
send/recv payload to 101
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[PCMA:8:8000:30:0]/[PCMA:8:8000:20:64000]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[PCMU:0:8000:30:0]/[PCMA:8:8000:20:64000]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[G729:18:8000:30:0]/[PCMA:8:8000:20:64000]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[G723:4:8000:30:0]/[PCMA:8:8000:20:64000]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[telephone-event:101:8000:30:0]/[PCMA:8:8000:20:64000]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4331 Set 2833 dtmf
send/recv payload to 101
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[PCMA:8:8000:30:0]/[G7221:115:32000:20:48000]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[PCMU:0:8000:30:0]/[G7221:115:32000:20:48000]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[G729:18:8000:30:0]/[G7221:115:32000:20:48000]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[G723:4:8000:30:0]/[G7221:115:32000:20:48000]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[telephone-event:101:8000:30:0]/[G7221:115:32000:20:48000]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4331 Set 2833 dtmf
send/recv payload to 101
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[PCMA:8:8000:30:0]/[G7221:107:16000:20:32000]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[PCMU:0:8000:30:0]/[G7221:107:16000:20:32000]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[G729:18:8000:30:0]/[G7221:107:16000:20:32000]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[G723:4:8000:30:0]/[G7221:107:16000:20:32000]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[telephone-event:101:8000:30:0]/[G7221:107:16000:20:32000]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4331 Set 2833 dtmf
send/recv payload to 101
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[PCMA:8:8000:30:0]/[G722:9:8000:20:64000]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[PCMU:0:8000:30:0]/[G722:9:8000:20:64000]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[G729:18:8000:30:0]/[G722:9:8000:20:64000]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[G723:4:8000:30:0]/[G722:9:8000:20:64000]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[telephone-event:101:8000:30:0]/[G722:9:8000:20:64000]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4331 Set 2833 dtmf
send/recv payload to 101
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[PCMA:8:8000:30:0]/[GSM:3:8000:20:13200]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[PCMU:0:8000:30:0]/[GSM:3:8000:20:13200]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[G729:18:8000:30:0]/[GSM:3:8000:20:13200]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[G723:4:8000:30:0]/[GSM:3:8000:20:13200]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[telephone-event:101:8000:30:0]/[GSM:3:8000:20:13200]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4331 Set 2833 dtmf
send/recv payload to 101
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4331 Set 2833 dtmf
send/recv payload to 101
2010-09-30 22:50:14.152164 [DEBUG] switch_channel.c:2359
(sofia/external/12345 at a.b.c.d) Callstate Change DOWN -> HANGUP
2010-09-30 22:50:14.152164 [NOTICE] sofia.c:4686 Hangup
sofia/external/12345 at a.b.c.d [CS_NEW] [INCOMPATIBLE_DESTINATION]

Does anybody have any ideas?

Thank you in advance
Jan
Post by Brian West
Codec interface was changed a little bit yesterday to support per codec fmtp parsing and bitrates for g722.1 which was the reason it was changed. Please make sure your tree is clean and do a make current again and see if that solves your problem.
/b
Post by Brock Williams
We are experiencing the same problem on a git pull from yesterday.
Brock
freeswitch at internal> version
FreeSWITCH Version 1.0.head (git-633f193 2010-09-29 16-52-43 -0500)
BR
Jan
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
--
Jan Riedinger Phone : +49-30-39 73 19 66
Dipl.-Inf. | Managing Director Fax : +49-30-39 73 19 64
E-Mail: riedinger at sns.eu
SNS Consult GmbH ICQ : 163-237-041
S?dwestkorso 49a MSN : jan at sns-consult.de
14197 Berlin GERMANY Skype : Jan Riedinger

AG Charlottenburg - HRB 71973

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100930/d9da9305/attachment-0001.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Codec Mismathc because of Different Frame Size.doc
Type: application/msword
Size: 33792 bytes
Desc: not available
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100930/d9da9305/attachment-0001.doc
Anthony Minessale
2010-09-30 21:23:56 UTC
Permalink
Was it sooner than when I sent the email?
When I said to update it was 30 seconds after I committed the patch
which was only 1 hour ago.

commit f8c9ef5f9deca6345f3d598c4f511b4a21f237bb
Author: Anthony Minessale <anthm at freeswitch.org>
Date: Thu Sep 30 15:15:33 2010 -0500

fix codec regression from yesterday
Post by Jan Riedinger
I checked out and compiled the current git version some hours ago.
Unfortunately the problem seems to be still not fixed. I tried to examine it
more detailed. I will attach this e-mail additionally in a text file to
avoid that it get unreadable by line wrapping.
v=0
o=CiscoSystemsSIP-GW-UserAgent 5025 3066 IN IP4 a.b.c.d
s=SIP Call
c=IN IP4 a.b.c.d
t=0 0
m=audio 16408 RTP/AVP 18
c=IN IP4 a.b.c.d
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=ptime:60
2010-09-30 21:37:44.297076 [DEBUG] sofia_glue.c:3873 Activate Buggy RFC2833
Mode!
m2010-09-30 21:37:44.297076 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[G729:18:8000:60:0]/[G729:18:8000:20:8000]
m2010-09-30 21:37:44.297076 [DEBUG] sofia_glue.c:4282 Substituting codec
2010-09-30 21:37:44.297076 [DEBUG] sofia_glue.c:3873 Activate Buggy RFC2833
Mode!
2010-09-30 21:37:44.297076 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[G729:18:8000:60:0]/[G729:18:8000:20:8000]
2010-09-30 21:37:44.297076 [DEBUG] sofia_glue.c:4282 Substituting codec
For a Cisco, on which I configured a codec list with frame sizes of 80
bytes, the matching is working as well. Maybe it's because no ptime is set
2010-09-30 22:06:45.598963 [DEBUG] sofia.c:4469 Channel
sofia/external/3039731964 at a.b.c.d entering state [received][100]
v=0
o=CiscoSystemsSIP-GW-UserAgent 6897 7698 IN IP4 a.b.c.d
s=SIP Call
c=IN IP4 a.b.c.d
t=0 0
m=audio 17640 RTP/AVP 18 8 0
c=IN IP4 a.b.c.d
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
2010-09-30 22:06:45.598963 [DEBUG] sofia_glue.c:3873 Activate Buggy RFC2833
Mode!
2010-09-30 22:06:45.598963 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[G729:18:8000:20:0]/[G729:18:8000:20:8000]
2010-09-30 22:06:45.598963 [DEBUG] sofia_glue.c:2600 Set Codec
sofia/external/3039731964 at a.b.c.d G729/8000 20 ms 160 samples 8000 bits
But I still can observe problems, when a codec list is used and some kind of
ptime is set. Unfortunately I can't trigger such calls, I have to wait until
2010-09-30 22:50:14.152164 [NOTICE] switch_channel.c:779 New Channel
sofia/external/12345 at a.b.c.d [c02c759a-2d43-445f-992f-8c3f59d6171a]
2010-09-30 22:50:14.152164 [DEBUG] sofia.c:4469 Channel
sofia/external/12345 at a.b.c.d entering state [received][100]
v=0
o=Sonus_UAC 10702 20259 IN IP4 a.b.c.d
s=SIP Media Capabilities
c=IN IP4 195.219.240.20
t=0 0
m=audio 26128 RTP/AVP 8 0 18 4 101
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:4 G723/8000
a=fmtp:4 bitrate=6.3
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=maxptime:30
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[PCMA:8:8000:30:0]/[G729:18:8000:20:8000]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[PCMU:0:8000:30:0]/[G729:18:8000:20:8000]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[G729:18:8000:30:0]/[G729:18:8000:20:8000]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[G723:4:8000:30:0]/[G729:18:8000:20:8000]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[telephone-event:101:8000:30:0]/[G729:18:8000:20:8000]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4331 Set 2833 dtmf send/recv
payload to 101
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[PCMA:8:8000:30:0]/[PCMU:0:8000:20:64000]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[PCMU:0:8000:30:0]/[PCMU:0:8000:20:64000]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[G729:18:8000:30:0]/[PCMU:0:8000:20:64000]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[G723:4:8000:30:0]/[PCMU:0:8000:20:64000]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[telephone-event:101:8000:30:0]/[PCMU:0:8000:20:64000]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4331 Set 2833 dtmf send/recv
payload to 101
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[PCMA:8:8000:30:0]/[PCMA:8:8000:20:64000]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[PCMU:0:8000:30:0]/[PCMA:8:8000:20:64000]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[G729:18:8000:30:0]/[PCMA:8:8000:20:64000]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[G723:4:8000:30:0]/[PCMA:8:8000:20:64000]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[telephone-event:101:8000:30:0]/[PCMA:8:8000:20:64000]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4331 Set 2833 dtmf send/recv
payload to 101
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[PCMA:8:8000:30:0]/[G7221:115:32000:20:48000]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[PCMU:0:8000:30:0]/[G7221:115:32000:20:48000]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[G729:18:8000:30:0]/[G7221:115:32000:20:48000]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[G723:4:8000:30:0]/[G7221:115:32000:20:48000]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[telephone-event:101:8000:30:0]/[G7221:115:32000:20:48000]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4331 Set 2833 dtmf send/recv
payload to 101
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[PCMA:8:8000:30:0]/[G7221:107:16000:20:32000]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[PCMU:0:8000:30:0]/[G7221:107:16000:20:32000]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[G729:18:8000:30:0]/[G7221:107:16000:20:32000]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[G723:4:8000:30:0]/[G7221:107:16000:20:32000]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[telephone-event:101:8000:30:0]/[G7221:107:16000:20:32000]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4331 Set 2833 dtmf send/recv
payload to 101
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[PCMA:8:8000:30:0]/[G722:9:8000:20:64000]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[PCMU:0:8000:30:0]/[G722:9:8000:20:64000]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[G729:18:8000:30:0]/[G722:9:8000:20:64000]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[G723:4:8000:30:0]/[G722:9:8000:20:64000]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[telephone-event:101:8000:30:0]/[G722:9:8000:20:64000]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4331 Set 2833 dtmf send/recv
payload to 101
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[PCMA:8:8000:30:0]/[GSM:3:8000:20:13200]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[PCMU:0:8000:30:0]/[GSM:3:8000:20:13200]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[G729:18:8000:30:0]/[GSM:3:8000:20:13200]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[G723:4:8000:30:0]/[GSM:3:8000:20:13200]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[telephone-event:101:8000:30:0]/[GSM:3:8000:20:13200]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4331 Set 2833 dtmf send/recv
payload to 101
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4331 Set 2833 dtmf send/recv
payload to 101
2010-09-30 22:50:14.152164 [DEBUG] switch_channel.c:2359
(sofia/external/12345 at a.b.c.d) Callstate Change DOWN -> HANGUP
2010-09-30 22:50:14.152164 [NOTICE] sofia.c:4686 Hangup
sofia/external/12345 at a.b.c.d [CS_NEW] [INCOMPATIBLE_DESTINATION]
Does anybody have any ideas?
Thank you in advance
????????????? Jan
Codec interface was changed a little bit yesterday to support per codec fmtp
parsing and bitrates for g722.1 which was the reason it was changed. Please
make sure your tree is clean and do a make current again and see if that
solves your problem.
/b
We are experiencing the same problem on a git pull from yesterday.
Brock
freeswitch at internal> version
FreeSWITCH Version 1.0.head (git-633f193 2010-09-29 16-52-43 -0500)
BR
Jan
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
--
Jan Riedinger Phone : +49-30-39 73 19 66
Dipl.-Inf. | Managing Director Fax : +49-30-39 73 19 64
E-Mail: riedinger at sns.eu
SNS Consult GmbH ICQ : 163-237-041
S?dwestkorso 49a MSN : jan at sns-consult.de
14197 Berlin GERMANY Skype : Jan Riedinger
AG Charlottenburg - HRB 71973
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale at hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org
googletalk:conf+888 at conference.freeswitch.org
pstn:+19193869900
Jan Riedinger
2010-09-30 22:16:45 UTC
Permalink
Hi Anthony!

I tried it some hours after I received the hint from Brian I should
retry and some hours before your e-mail below.

I recompiled once more 45 min ago and the problem seems indeed to be
fixed. I will write another e-mail, if I should observe the codec
matching problem again within the next days.

Best regards and thank you
Jan
Post by Anthony Minessale
Was it sooner than when I sent the email?
When I said to update it was 30 seconds after I committed the patch
which was only 1 hour ago.
commit f8c9ef5f9deca6345f3d598c4f511b4a21f237bb
Author: Anthony Minessale<anthm at freeswitch.org>
Date: Thu Sep 30 15:15:33 2010 -0500
fix codec regression from yesterday
Post by Jan Riedinger
I checked out and compiled the current git version some hours ago.
Unfortunately the problem seems to be still not fixed. I tried to examine it
more detailed. I will attach this e-mail additionally in a text file to
avoid that it get unreadable by line wrapping.
v=0
o=CiscoSystemsSIP-GW-UserAgent 5025 3066 IN IP4 a.b.c.d
s=SIP Call
c=IN IP4 a.b.c.d
t=0 0
m=audio 16408 RTP/AVP 18
c=IN IP4 a.b.c.d
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=ptime:60
2010-09-30 21:37:44.297076 [DEBUG] sofia_glue.c:3873 Activate Buggy RFC2833
Mode!
m2010-09-30 21:37:44.297076 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[G729:18:8000:60:0]/[G729:18:8000:20:8000]
m2010-09-30 21:37:44.297076 [DEBUG] sofia_glue.c:4282 Substituting codec
2010-09-30 21:37:44.297076 [DEBUG] sofia_glue.c:3873 Activate Buggy RFC2833
Mode!
2010-09-30 21:37:44.297076 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[G729:18:8000:60:0]/[G729:18:8000:20:8000]
2010-09-30 21:37:44.297076 [DEBUG] sofia_glue.c:4282 Substituting codec
For a Cisco, on which I configured a codec list with frame sizes of 80
bytes, the matching is working as well. Maybe it's because no ptime is set
2010-09-30 22:06:45.598963 [DEBUG] sofia.c:4469 Channel
sofia/external/3039731964 at a.b.c.d entering state [received][100]
v=0
o=CiscoSystemsSIP-GW-UserAgent 6897 7698 IN IP4 a.b.c.d
s=SIP Call
c=IN IP4 a.b.c.d
t=0 0
m=audio 17640 RTP/AVP 18 8 0
c=IN IP4 a.b.c.d
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
2010-09-30 22:06:45.598963 [DEBUG] sofia_glue.c:3873 Activate Buggy RFC2833
Mode!
2010-09-30 22:06:45.598963 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[G729:18:8000:20:0]/[G729:18:8000:20:8000]
2010-09-30 22:06:45.598963 [DEBUG] sofia_glue.c:2600 Set Codec
sofia/external/3039731964 at a.b.c.d G729/8000 20 ms 160 samples 8000 bits
But I still can observe problems, when a codec list is used and some kind of
ptime is set. Unfortunately I can't trigger such calls, I have to wait until
2010-09-30 22:50:14.152164 [NOTICE] switch_channel.c:779 New Channel
sofia/external/12345 at a.b.c.d [c02c759a-2d43-445f-992f-8c3f59d6171a]
2010-09-30 22:50:14.152164 [DEBUG] sofia.c:4469 Channel
sofia/external/12345 at a.b.c.d entering state [received][100]
v=0
o=Sonus_UAC 10702 20259 IN IP4 a.b.c.d
s=SIP Media Capabilities
c=IN IP4 195.219.240.20
t=0 0
m=audio 26128 RTP/AVP 8 0 18 4 101
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:4 G723/8000
a=fmtp:4 bitrate=6.3
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=maxptime:30
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[PCMA:8:8000:30:0]/[G729:18:8000:20:8000]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[PCMU:0:8000:30:0]/[G729:18:8000:20:8000]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[G729:18:8000:30:0]/[G729:18:8000:20:8000]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[G723:4:8000:30:0]/[G729:18:8000:20:8000]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[telephone-event:101:8000:30:0]/[G729:18:8000:20:8000]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4331 Set 2833 dtmf send/recv
payload to 101
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[PCMA:8:8000:30:0]/[PCMU:0:8000:20:64000]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[PCMU:0:8000:30:0]/[PCMU:0:8000:20:64000]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[G729:18:8000:30:0]/[PCMU:0:8000:20:64000]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[G723:4:8000:30:0]/[PCMU:0:8000:20:64000]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[telephone-event:101:8000:30:0]/[PCMU:0:8000:20:64000]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4331 Set 2833 dtmf send/recv
payload to 101
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[PCMA:8:8000:30:0]/[PCMA:8:8000:20:64000]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[PCMU:0:8000:30:0]/[PCMA:8:8000:20:64000]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[G729:18:8000:30:0]/[PCMA:8:8000:20:64000]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[G723:4:8000:30:0]/[PCMA:8:8000:20:64000]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[telephone-event:101:8000:30:0]/[PCMA:8:8000:20:64000]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4331 Set 2833 dtmf send/recv
payload to 101
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[PCMA:8:8000:30:0]/[G7221:115:32000:20:48000]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[PCMU:0:8000:30:0]/[G7221:115:32000:20:48000]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[G729:18:8000:30:0]/[G7221:115:32000:20:48000]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[G723:4:8000:30:0]/[G7221:115:32000:20:48000]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[telephone-event:101:8000:30:0]/[G7221:115:32000:20:48000]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4331 Set 2833 dtmf send/recv
payload to 101
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[PCMA:8:8000:30:0]/[G7221:107:16000:20:32000]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[PCMU:0:8000:30:0]/[G7221:107:16000:20:32000]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[G729:18:8000:30:0]/[G7221:107:16000:20:32000]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[G723:4:8000:30:0]/[G7221:107:16000:20:32000]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[telephone-event:101:8000:30:0]/[G7221:107:16000:20:32000]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4331 Set 2833 dtmf send/recv
payload to 101
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[PCMA:8:8000:30:0]/[G722:9:8000:20:64000]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[PCMU:0:8000:30:0]/[G722:9:8000:20:64000]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[G729:18:8000:30:0]/[G722:9:8000:20:64000]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[G723:4:8000:30:0]/[G722:9:8000:20:64000]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[telephone-event:101:8000:30:0]/[G722:9:8000:20:64000]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4331 Set 2833 dtmf send/recv
payload to 101
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[PCMA:8:8000:30:0]/[GSM:3:8000:20:13200]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[PCMU:0:8000:30:0]/[GSM:3:8000:20:13200]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[G729:18:8000:30:0]/[GSM:3:8000:20:13200]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[G723:4:8000:30:0]/[GSM:3:8000:20:13200]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4229 Audio Codec Compare
[telephone-event:101:8000:30:0]/[GSM:3:8000:20:13200]
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4331 Set 2833 dtmf send/recv
payload to 101
2010-09-30 22:50:14.152164 [DEBUG] sofia_glue.c:4331 Set 2833 dtmf send/recv
payload to 101
2010-09-30 22:50:14.152164 [DEBUG] switch_channel.c:2359
(sofia/external/12345 at a.b.c.d) Callstate Change DOWN -> HANGUP
2010-09-30 22:50:14.152164 [NOTICE] sofia.c:4686 Hangup
sofia/external/12345 at a.b.c.d [CS_NEW] [INCOMPATIBLE_DESTINATION]
Does anybody have any ideas?
Thank you in advance
Jan
Codec interface was changed a little bit yesterday to support per codec fmtp
parsing and bitrates for g722.1 which was the reason it was changed. Please
make sure your tree is clean and do a make current again and see if that
solves your problem.
/b
We are experiencing the same problem on a git pull from yesterday.
Brock
freeswitch at internal> version
FreeSWITCH Version 1.0.head (git-633f193 2010-09-29 16-52-43 -0500)
BR
Jan
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
--
Jan Riedinger Phone : +49-30-39 73 19 66
Dipl.-Inf. | Managing Director Fax : +49-30-39 73 19 64
E-Mail: riedinger at sns.eu
SNS Consult GmbH ICQ : 163-237-041
S?dwestkorso 49a MSN : jan at sns-consult.de
14197 Berlin GERMANY Skype : Jan Riedinger
AG Charlottenburg - HRB 71973
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
--
Jan Riedinger Phone : +49-30-39 73 19 66
Dipl.-Inf. | Managing Director Fax : +49-30-39 73 19 64
E-Mail: riedinger at sns.eu
SNS Consult GmbH ICQ : 163-237-041
S?dwestkorso 49a MSN : jan at sns-consult.de
14197 Berlin GERMANY Skype : Jan Riedinger

AG Charlottenburg - HRB 71973
Jan Riedinger
2010-09-30 10:55:25 UTC
Permalink
Here is the same e-mail, which I sent a little bit ago, but with a
better readable debug log.

BR
Jan Riedinger
Post by Jan Riedinger
<X-PRE-PROCESS cmd="set"
data="global_codec_prefs=G729,PCMU,PCMA,G723,G7221 at 32000h,G7221 at 16000h,G722,GSM"/>
<X-PRE-PROCESS cmd="set"
data="outbound_codec_prefs=G729,PCMU,PCMA,G723,GSM"/>
<param name="inbound-codec-negotiation" value="greedy"/>
<param name="inbound-late-negotiation" value="false"/>
<param name="disable-transcoding" value="true"/>
With this configuration I want to restrict the allowed codecs, force
the usage of G729 as first choice, if available and to minimize the
calls with transcoding. I don't want to force the usage of a specific
frame size.
Now a lot of calls get rejected with "incompatible destination" by
FreeSwitch, because the frame size of the incoming calls differs from
the Freeswitch default (mostly 20 ms), see the debug log below.
Is this the intended behaviour? If it is, how can I circumvent it? Do
I have to list every codec with every possible frame size in the
global_codec_prefs list?
Thank you in advance
Jan
--
Jan Riedinger Phone : +49-30-39 73 19 66
Dipl.-Inf. | Managing Director Fax : +49-30-39 73 19 64
E-Mail: riedinger at sns.eu
SNS Consult GmbH ICQ : 163-237-041
S?dwestkorso 49a MSN : jan at sns-consult.de
14197 Berlin GERMANY Skype : Jan Riedinger

AG Charlottenburg - HRB 71973

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: codec-mismatch.txt
Url: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100930/8b4a8fcf/attachment.txt
Loading...