What G729 module are you using, and what codec is in use on the other leg?<div><br></div><div>G729 needs licenses due to patents.</div><div><br></div><div>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.</div>
<div>mod_com_g729 is the licensed version: <a href="http://www.freeswitch.org/node/235">http://www.freeswitch.org/node/235</a></div><div><br></div><div>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.</div>
<div><br></div><div>You can tweak your codec negotiation to avoid this (eg late-negotiation=true), or you can use the licensed version.</div><div><br></div><div><br></div><div><br><br><div class="gmail_quote">On 16 December 2012 11:40, Balamurugan Mahendran <span dir="ltr"><<a href="mailto:b2m@a-cti.com" target="_blank">b2m@a-cti.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Need help on Codec Negotiation <br clear="all"><div><div><br></div><div><br></div><div><div>2012-12-16 11:35:52.246422 [DEBUG] sofia_glue.c:4798 Audio Codec Compare <b>[G729:0:8000:20:64000]/[G729:18:8000:20:8000]</b></div>
<div>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]</div><div>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]</div>
<div>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]</div><div>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]</div>
<div>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]</div><div>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]</div>
<div>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]</div><div>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]</div>
<div>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]</div><div>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]</div>
<div>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]</div><div>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]</div>
<div>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]</div><div>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]</div>
<div>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]</div><div>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]</div>
<div>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]</div><div>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]</div>
<div>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]</div><div>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]</div>
<div>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]</div><div>2012-12-16 11:35:52.246422 [DEBUG] sofia_glue.c:4919 Set 2833 dtmf send/recv payload to 101</div>
</div><div><br></div><div><br></div><div><div>2012-12-16 11:35:52.246422 [DEBUG] switch_channel.c:2852 (sofia/internal/<a href="mailto:501@50.54.12.39" target="_blank">501@50.54.12.39</a>) Callstate Change DOWN -> HANGUP</div>
<div>2012-12-16 11:35:52.246422 [NOTICE] sofia.c:5781 Hangup sofia/internal/<a href="mailto:501@50.54.12.39" target="_blank">501@50.54.12.39</a> [CS_NEW] <b>[INCOMPATIBLE_DESTINATION]</b></div>
</div><div><br></div><div>Thanks,</div><div>Bala</div><div><br></div></div>
<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>
<br></blockquote></div><br></div>