<div dir="ltr">Hi, <div><br></div><div>You can set codec from dialplan. </div><div>See</div><div><a href="http://wiki.freeswitch.org/wiki/Codec_negotiation">http://wiki.freeswitch.org/wiki/Codec_negotiation</a>
</div><div><br></div><div>make sure to set inbound-codec-negotiation from generous to greedy in your sip profile </div><div><param name="inbound-codec-negotiation" value="greedy"/></div><div><br clear="all">
<div dir="ltr">Regards,<br>Zohair Raza<div><br></div></div>
<br><br><div class="gmail_quote">On Fri, Jan 6, 2012 at 5:18 PM, Bharat Lalcheta <span dir="ltr"><<a href="mailto:bharatlalcheta@gmail.com">bharatlalcheta@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>Hiii,</div><div> </div><div>I am new to freeswitch. Prior to freeswitch i was using asterisk.</div><div> </div><div>I have 200 extensions working in my office and want to move all to freeswitch from asterisk. </div>
<div>
</div><div>In asterisk, i can give codec selection and preferance in sip.conf to all extensions. In the same way i created 200 extensions under internal profile in freeswitch.</div><div> </div><div>Follwing is one example....</div>
<div>-----------------------------------------------------------------</div><div><include><br> <user id="590"><br> <params><br> <param name="password" value="590"/><br>
<param name="vm-password" value=""/><br> <param name="vm-enabled" value="true"/></div><div> <param name="inbound_codec_prefs" value="PCMA,H264"/><br>
<param name="outbound_codec_prefs" value="PCMA,H264"/><br></div><div> </params><br> <variables><br> <variable name="accountcode" value=""/><br>
<variable name="user_context" value="default"/><br> <variable name="max-calls" value="2"/><br> <variable name="bypass_media_after_bridge" value="no"/><br>
</variables><br> </user><br></include><br>----------------------------------------------------------</div><div> </div><div>Now when ever i called to 590 freeswitch sends all codecs to 590 sip phone other than defined in 590.xml. It is seding codes which is mentioned in my conf/sip_profiles/internal.xml and codec negotiation done on whatever codec my sip phone having. </div>
<div> </div><div>I want to use different codecs for different extensions.</div><div> </div><div>Is it common behaviour of Freeswitch ? Should i override codec prerfrance in my extension list from my internal profile or not ?</div>
<div> </div><div>If no, then is it that i have to create 200 profiles in freeswitch to solve this problem ?</div><div> </div><div>Please guide me and provide solution for the same</div><div> </div><div> </div><div>Thanks in advance</div>
<span class="HOEnZb"><font color="#888888">
<div> </div><div>Bharat Lalcheta<br>
</div>
</font></span><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></div>