What G729 module are you using, and what codec is in use on the other leg? G729 needs licenses due to patents. mod_g729 is passthrough only but requires no licenses. This is because it merely forwards the data, but doesn't perform the encoding/transcoding step that the patents cover. But that means it can't transcode between different codecs. mod_com_g729 is the licensed version: http://www.freeswitch.org/node/235 With the passthrough mod_g729 codec, if the other leg has selected a codec other than g729 you'll see an error in your logs and it'll hangup with that reason. You can tweak your codec negotiation to avoid this (eg late-negotiation=true), or you can use the licensed version. On 16 December 2012 11:40, Balamurugan Mahendran <b2m@a-cti.com> wrote:
Need help on Codec Negotiation
2012-12-16 11:35:52.246422 [DEBUG] sofia_glue.c:4798 Audio Codec Compare * [G729:0:8000:20:64000]/[G729:18:8000:20:8000]* 2012-12-16 11:35:52.246422 [DEBUG] sofia_glue.c:4798 Audio Codec Compare [G729:0:8000:20:64000]/[SILK:117:8000:20:20000] 2012-12-16 11:35:52.246422 [DEBUG] sofia_glue.c:4798 Audio Codec Compare [G729:0:8000:20:64000]/[SILK:118:12000:20:25000] 2012-12-16 11:35:52.246422 [DEBUG] sofia_glue.c:4798 Audio Codec Compare [G729:0:8000:20:64000]/[SILK:119:16000:20:30000] 2012-12-16 11:35:52.246422 [DEBUG] sofia_glue.c:4798 Audio Codec Compare [G729:0:8000:20:64000]/[SILK:120:24000:20:40000] 2012-12-16 11:35:52.246422 [DEBUG] sofia_glue.c:4798 Audio Codec Compare [G729:0:8000:20:64000]/[G7221:115:32000:20:48000] 2012-12-16 11:35:52.246422 [DEBUG] sofia_glue.c:4798 Audio Codec Compare [G729:0:8000:20:64000]/[G7221:107:16000:20:32000] 2012-12-16 11:35:52.246422 [DEBUG] sofia_glue.c:4798 Audio Codec Compare [G729:0:8000:20:64000]/[G722:9:8000:20:64000] 2012-12-16 11:35:52.246422 [DEBUG] sofia_glue.c:4798 Audio Codec Compare [G729:0:8000:20:64000]/[PCMU:0:8000:20:64000] 2012-12-16 11:35:52.246422 [DEBUG] sofia_glue.c:4798 Audio Codec Compare [G729:0:8000:20:64000]/[PCMA:8:8000:20:64000] 2012-12-16 11:35:52.246422 [DEBUG] sofia_glue.c:4798 Audio Codec Compare [G729:0:8000:20:64000]/[GSM:3:8000:20:13200] 2012-12-16 11:35:52.246422 [DEBUG] sofia_glue.c:4798 Audio Codec Compare [telephone-event:101:8000:20:0]/[G729:18:8000:20:8000] 2012-12-16 11:35:52.246422 [DEBUG] sofia_glue.c:4798 Audio Codec Compare [telephone-event:101:8000:20:0]/[SILK:117:8000:20:20000] 2012-12-16 11:35:52.246422 [DEBUG] sofia_glue.c:4798 Audio Codec Compare [telephone-event:101:8000:20:0]/[SILK:118:12000:20:25000] 2012-12-16 11:35:52.246422 [DEBUG] sofia_glue.c:4798 Audio Codec Compare [telephone-event:101:8000:20:0]/[SILK:119:16000:20:30000] 2012-12-16 11:35:52.246422 [DEBUG] sofia_glue.c:4798 Audio Codec Compare [telephone-event:101:8000:20:0]/[SILK:120:24000:20:40000] 2012-12-16 11:35:52.246422 [DEBUG] sofia_glue.c:4798 Audio Codec Compare [telephone-event:101:8000:20:0]/[G7221:115:32000:20:48000] 2012-12-16 11:35:52.246422 [DEBUG] sofia_glue.c:4798 Audio Codec Compare [telephone-event:101:8000:20:0]/[G7221:107:16000:20:32000] 2012-12-16 11:35:52.246422 [DEBUG] sofia_glue.c:4798 Audio Codec Compare [telephone-event:101:8000:20:0]/[G722:9:8000:20:64000] 2012-12-16 11:35:52.246422 [DEBUG] sofia_glue.c:4798 Audio Codec Compare [telephone-event:101:8000:20:0]/[PCMU:0:8000:20:64000] 2012-12-16 11:35:52.246422 [DEBUG] sofia_glue.c:4798 Audio Codec Compare [telephone-event:101:8000:20:0]/[PCMA:8:8000:20:64000] 2012-12-16 11:35:52.246422 [DEBUG] sofia_glue.c:4798 Audio Codec Compare [telephone-event:101:8000:20:0]/[GSM:3:8000:20:13200] 2012-12-16 11:35:52.246422 [DEBUG] sofia_glue.c:4919 Set 2833 dtmf send/recv payload to 101
2012-12-16 11:35:52.246422 [DEBUG] switch_channel.c:2852 (sofia/internal/ 501@50.54.12.39) Callstate Change DOWN -> HANGUP 2012-12-16 11:35:52.246422 [NOTICE] sofia.c:5781 Hangup sofia/internal/ 501@50.54.12.39 [CS_NEW] *[INCOMPATIBLE_DESTINATION]*
Thanks, Bala
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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