<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">try using greedy instead of generous&nbsp; :) it will work<br><br><br>--- On <b>Sun, 6/24/12, Moises Silva <i>&lt;moises.silva@gmail.com&gt;</i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Moises Silva &lt;moises.silva@gmail.com&gt;<br>Subject: Re: [Freeswitch-users] Codec 101 - need help with the basics<br>To: "FreeSWITCH Users Help" &lt;freeswitch-users@lists.freeswitch.org&gt;<br>Date: Sunday, June 24, 2012, 6:47 AM<br><br><div id="yiv1616476381"><div class="yiv1616476381gmail_quote">On Thu, Jun 21, 2012 at 3:09 AM, ocset <span dir="ltr">&lt;<a rel="nofollow" ymailto="mailto:ocset@the800group.com" target="_blank" href="/mc/compose?to=ocset@the800group.com">ocset@the800group.com</a>&gt;</span> wrote:<br><blockquote class="yiv1616476381gmail_quote" style="margin:0 0 0
 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi<br>
<br>
I need some assistance in understanding the codec minefield.<br>
<br>
When a stream of audio is sent to FreeSWITCH (FS) using a particular<br>
codec, does FS just pass it on or is there some level of translation<br>
occurring?<br></blockquote><div><br></div><div>In some situations audio may be just passed thru, but most real life scenarios will involve some level of translation (transcoding).</div><div><br></div><div>&nbsp;</div><blockquote class="yiv1616476381gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

I guess my question relates to a situation where an FXO gateway<br>
(GXW410x) uses the G723 codec and the receiing phone does not have a<br>
matching codec (the phone has G.722, G.711 a law, G.711 u law, G.726 and<br>
G.729 as options). How is this managed by the phone, FreeSWITCH and the<br>
FXO device? Should I be setting something in FS to handle this issue?<br></blockquote><div><br></div><div>Whenever FreeSWITCH detects format mismatch between the parties it will perform transcoding (translation of one audio format to another). You have several configuration options to force a given list of codecs to be offered.&nbsp;</div>
<div><br></div><div>Now, in some shameless self-promotion, I suggest you to read or watch my presentation on FreeSWITCH media handling from here:</div><div><br></div><div><a rel="nofollow" target="_blank" href="http://www.moythreads.com/congresos/cluecon2011/media-handling-freeswitch-final.pdf">http://www.moythreads.com/congresos/cluecon2011/media-handling-freeswitch-final.pdf</a></div>
<div><a rel="nofollow" target="_blank" href="http://www.youtube.com/watch?v=508jpSQk8qE">http://www.youtube.com/watch?v=508jpSQk8qE</a></div><div><br></div><div>That should make things a bit clearer for you.</div><div>&nbsp;</div><blockquote class="yiv1616476381gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

I have 2 cordless Siemens C610 IP phones an I am having sound quality<br>
issues (incoming sound is soft) and I was wondering how big a part the<br>
codec plays in this equation. I have desk phones that are from the same<br>
manufacturer as the FXO gateway (Grandstream) and they have very good<br>
sound quality.<br></blockquote><div><br></div><div>I don't think the codec has a role in your issue, if the audio is soft or quiet it has more to do with the gain control. If you place calls to those Siemens phones without using the gateway (ie, calling in to play a file) is the audio still low?</div>
<br class="yiv1616476381Apple-interchange-newline"><table style="width:486.3pt;border-collapse:collapse;" border="0" cellpadding="0" cellspacing="0" width="648"><tbody><tr style="height:60.55pt;"><td style="border-style:dotted none none;padding:1.45pt 5.75pt;height:60.55pt;">
<p style="margin:0px;line-height:15px;"><b><span style="font-size:8pt;line-height:12px;font-family:Arial, sans-serif;color:rgb(14,93,167);" lang="PT-BR">Moises Silva<br></span></b><b><i><span style="font-size:8pt;line-height:12px;font-family:Arial, sans-serif;color:rgb(128,176,214);" lang="EN-CA">Manager, Software Engineering</span></i></b><b><span style="font-size:8pt;line-height:12px;font-family:Arial, sans-serif;color:rgb(14,93,167);" lang="PT-BR"></span></b></p>
<p style="margin:0px;line-height:15px;"><span style="font-size:8pt;line-height:12px;font-family:Arial, sans-serif;color:rgb(0,92,165);" lang="EN-CA"><a rel="nofollow" ymailto="mailto:msilva@sangoma.com" target="_blank" href="/mc/compose?to=msilva@sangoma.com">msilva@sangoma.com</a></span></p>
<p style="margin:0px;line-height:15px;"><span style="font-size:8pt;line-height:12px;font-family:Arial, sans-serif;color:rgb(0,92,165);" lang="EN-CA">Sangoma Technologies</span></p><p style="margin:0px;line-height:15px;"><span style="font-size:8pt;line-height:12px;font-family:Arial, sans-serif;color:rgb(0,92,165);" lang="EN-CA">100 Renfrew Drive, Suite 100, Markham, ON L3R 9R6 Canada</span><span style="font-size:8pt;line-height:12px;font-family:Arial, sans-serif;color:rgb(255,192,0);" lang="EN-CA"></span></p>
</td><td style="width:140.45pt;border-style:dotted none none;padding:1.45pt 5.75pt;height:60.55pt;" width="187"><p style="margin:0px;line-height:15px;"><span style="font-size:8pt;line-height:12px;font-family:Arial, sans-serif;color:rgb(0,92,165);" lang="EN-CA"><br>
t.&nbsp;&nbsp; +1 800 388 2475 (N. America)</span></p><p style="margin:0px;line-height:15px;"><span style="font-size:8pt;line-height:12px;font-family:Arial, sans-serif;color:rgb(0,92,165);" lang="EN-CA">t.&nbsp;&nbsp; +1 905 474 1990 x128</span></p>
<p style="margin:0px;line-height:15px;"><span style="font-size:8pt;line-height:12px;font-family:Arial, sans-serif;color:rgb(0,92,165);" lang="EN-CA">f.&nbsp;&nbsp; +1 905 474 9223</span></p><p style="margin:0px;line-height:15px;"><span style="font-size:8pt;line-height:12px;font-family:Arial, sans-serif;color:rgb(31,73,125);" lang="EN-CA">&nbsp;</span></p>
</td><td rowspan="2" style="width:111.55pt;border-style:dotted none;border-top-color:rgb(128,176,214);border-top-width:1pt;border-bottom-color:rgb(128,176,214);border-bottom-width:1pt;padding:1.45pt 5.75pt;height:60.55pt;" width="149">
<p style="margin:0px;line-height:15px;"><a rel="nofollow" target="_blank" href="http://www.sangoma.com/contact?utm_source=signature&amp;utm_medium=email&amp;utm_campaign=email+signatures"><b><span style="color:rgb(31,73,125);text-decoration:none;"><img border="0" height="15" width="96"></span></b></a><span style="color:rgb(31,73,125);"></span></p>
</td></tr><tr><td colspan="2" style="width:374.75pt;border-style:none none dotted;padding:1.45pt 5.75pt;" width="500"><p style="margin:0px;line-height:15px;"><a rel="nofollow" target="_blank" href="http://sangoma.com/products?utm_source=signature&amp;utm_medium=email&amp;utm_campaign=email%2Bsignatures"><span style="font-size:8pt;line-height:12px;font-family:Arial, sans-serif;color:rgb(128,176,214);" lang="PT-BR">Products</span></a><span style="font-size:8pt;line-height:12px;font-family:Arial, sans-serif;color:rgb(128,176,214);" lang="PT-BR">&nbsp;|&nbsp;</span><a rel="nofollow" target="_blank" href="http://sangoma.com/solutions?utm_source=signature&amp;utm_medium=email&amp;utm_campaign=email%2Bsignatures"><span style="font-size:8pt;line-height:12px;font-family:Arial, sans-serif;color:rgb(128,176,214);" lang="PT-BR">Solutions</span></a><span style="font-size:8pt;line-height:12px;font-family:Arial, sans-serif;color:rgb(128,176,214);"
 lang="PT-BR">&nbsp;|&nbsp;</span><a rel="nofollow" target="_blank" href="http://sangoma.com/about_us/events?utm_source=signature&amp;utm_medium=email&amp;utm_campaign=email%2Bsignatures"><span style="font-size:8pt;line-height:12px;font-family:Arial, sans-serif;color:rgb(128,176,214);" lang="PT-BR">Events</span></a><span style="font-size:8pt;line-height:12px;font-family:Arial, sans-serif;color:rgb(128,176,214);" lang="PT-BR">&nbsp;|&nbsp;</span><a rel="nofollow" target="_blank" href="http://www.sangoma.com/contact?utm_source=signature&amp;utm_medium=email&amp;utm_campaign=email%2Bsignatures"><span style="font-size:8pt;line-height:12px;font-family:Arial, sans-serif;color:rgb(128,176,214);" lang="PT-BR">Contact</span></a><span style="font-size:8pt;line-height:12px;font-family:Arial, sans-serif;color:rgb(128,176,214);" lang="PT-BR">&nbsp;|&nbsp;</span><a rel="nofollow" target="_blank"
 href="http://wiki.sangoma.com/?utm_source=signature&amp;utm_medium=email&amp;utm_campaign=email%2Bsignatures"><span style="font-size:8pt;line-height:12px;font-family:Arial, sans-serif;color:rgb(128,176,214);" lang="PT-BR">Wiki</span></a><span style="font-size:8pt;line-height:12px;font-family:Arial, sans-serif;color:rgb(128,176,214);" lang="PT-BR">&nbsp;|&nbsp;</span><a rel="nofollow" target="_blank" href="http://www.facebook.com/pages/Sangoma-VoIP-Cards/43578453335?utm_source=signature&amp;utm_medium=email&amp;utm_campaign=email%2Bsignatures"><span style="font-size:8pt;line-height:12px;font-family:Arial, sans-serif;color:rgb(128,176,214);" lang="PT-BR">Facebook</span></a><span style="font-size:8pt;line-height:12px;font-family:Arial, sans-serif;color:rgb(128,176,214);" lang="PT-BR">&nbsp;|&nbsp;</span><a rel="nofollow" target="_blank" href="http://www.twitter.com/sangoma?utm_source=signature&amp;utm_medium=email&amp;utm_campaign=email%2Bsignatures"><span
 style="font-size:8pt;line-height:12px;font-family:Arial, sans-serif;color:rgb(128,176,214);" lang="PT-BR">Twitter</span></a><span style="font-size:8pt;line-height:12px;font-family:Arial, sans-serif;color:rgb(128,176,214);" lang="PT-BR">`| |&nbsp;</span><a rel="nofollow" target="_blank" href="http://www.youtube.com/sangomatechnologies?utm_source=signature&amp;utm_medium=email&amp;utm_campaign=email%2Bsignatures"><span style="font-size:8pt;line-height:12px;font-family:Arial, sans-serif;color:rgb(128,176,214);" lang="PT-BR">YouTube</span></a><span style="font-size:8pt;line-height:12px;color:rgb(31,73,125);"></span></p>
</td></tr></tbody></table><p style="margin:0px;">&nbsp;</p></div>
</div><br>-----Inline Attachment Follows-----<br><br><div class="plainMail">_________________________________________________________________________<br>Professional FreeSWITCH Consulting Services:<br><a ymailto="mailto:consulting@freeswitch.org" href="/mc/compose?to=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>Join Us At ClueCon - Aug 7-9, 2012<br><br>FreeSWITCH-users mailing list<br><a
 ymailto="mailto:FreeSWITCH-users@lists.freeswitch.org" href="/mc/compose?to=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></div></blockquote></td></tr></table>