seven,
of course, codec negotiation depends on the order of codecs in the *_codec_prefs variables. but, the opposite end has also it's own codecs prefs, too. fs can accept the other end's prefs (inbound_codec_negotiation=generous) or imposes it's own prefs (=greedy). you must include the codec in the *_codec_prefs to activate it. is this correct?
-nandy
absolutely not.codec negotiate depending on your conf. do you have a sip trace?On Jul 1, 2009, at 2:48 PM, qian ma wrote:_______________________________________________hi allfreeswitch support PCMU only?i follow the http://wiki.freeswitch.org/wiki/Codecs#sofia.conf.xml, but freeswitch still support PCMU only,below is the trace:2009-07-01 14:39:35.571364 [DEBUG] sofia_glue.c:3070 Audio Codec Compare [PCMA:8:8000:0]/[PCMU:0:8000:20]
2009-07-01 14:39:35.571364 [DEBUG] sofia_glue.c:3030 Set 2833 dtmf payload to 101
2009-07-01 14:39:35.571364 [DEBUG] sofia_glue.c:3070 Audio Codec Compare [telephone-event:101:8000:0]/[PCMU:0:8000:20]
2009-07-01 14:39:35.571364 [NOTICE] sofia.c:3423 Hangup sofia/maq/9876@58.212.219.104 [CS_NEW] [INCOMPATIBLE_DESTINATION]
2009-07-01 14:39:35.571364 [DEBUG] switch_channel.c:1683 Send signal sofia/maq/9876@58.212.219.104 [KILL]
2009-07-01 14:39:35.571364 [DEBUG] switch_core_session.c:933 Send signal sofia/maq/9876@58.212.219.104 [BREAK]
2009-07-01 14:39:35.572807 [DEBUG] switch_core_state_machine.c:397 (sofia/maq/9876@58.212.219.104) Running State Change CS_HANGUP
2009-07-01 14:39:35.572807 [DEBUG] switch_core_state_machine.c:433 (sofia/maq/9876@58.212.219.104) State HANGUPhow to configure the freeswitch??support more codecs???thx!m.q
Freeswitch-users mailing list
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org