<p>In theory he could use those variable names but it would involve some extra work ;)</p>
<div class="gmail_quote">On 2012-01-06 7:24 AM, &quot;Kristian Kielhofner&quot; &lt;<a href="mailto:kris@kriskinc.com">kris@kriskinc.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
inbound_codec_prefs<br>
outbound_codec_prefs<br>
<br>
These are Sofia profile configuration options.  They are NOT valid<br>
options for the directory UNLESS you&#39;re setting them as variable to<br>
use in your dialplan later.<br>
<br>
If you want to control codes on a per-user basis you have to set late<br>
negotiation and use the dialplan.<br>
<br>
On Fri, Jan 6, 2012 at 8:18 AM, Bharat Lalcheta<br>
&lt;<a href="mailto:bharatlalcheta@gmail.com">bharatlalcheta@gmail.com</a>&gt; wrote:<br>
&gt; Hiii,<br>
&gt;<br>
&gt; I am new to freeswitch. Prior to freeswitch i was using asterisk.<br>
&gt;<br>
&gt; I have 200 extensions working in my office and want to move all to<br>
&gt; freeswitch from asterisk.<br>
&gt;<br>
&gt; In asterisk, i can give codec selection and preferance in sip.conf to all<br>
&gt; extensions. In the same way i created 200 extensions under internal profile<br>
&gt; in freeswitch.<br>
&gt;<br>
&gt; Follwing is one example....<br>
&gt; -----------------------------------------------------------------<br>
&gt; &lt;include&gt;<br>
&gt;   &lt;user id=&quot;590&quot;&gt;<br>
&gt;     &lt;params&gt;<br>
&gt;       &lt;param name=&quot;password&quot; value=&quot;590&quot;/&gt;<br>
&gt;       &lt;param name=&quot;vm-password&quot; value=&quot;&quot;/&gt;<br>
&gt;       &lt;param name=&quot;vm-enabled&quot; value=&quot;true&quot;/&gt;<br>
&gt;       &lt;param name=&quot;inbound_codec_prefs&quot; value=&quot;PCMA,H264&quot;/&gt;<br>
&gt;       &lt;param name=&quot;outbound_codec_prefs&quot; value=&quot;PCMA,H264&quot;/&gt;<br>
&gt;     &lt;/params&gt;<br>
&gt;     &lt;variables&gt;<br>
&gt;       &lt;variable name=&quot;accountcode&quot; value=&quot;&quot;/&gt;<br>
&gt;       &lt;variable name=&quot;user_context&quot; value=&quot;default&quot;/&gt;<br>
&gt;       &lt;variable name=&quot;max-calls&quot; value=&quot;2&quot;/&gt;<br>
&gt;       &lt;variable name=&quot;bypass_media_after_bridge&quot; value=&quot;no&quot;/&gt;<br>
&gt;     &lt;/variables&gt;<br>
&gt;   &lt;/user&gt;<br>
&gt; &lt;/include&gt;<br>
&gt; ----------------------------------------------------------<br>
&gt;<br>
&gt; Now when ever i called to 590 freeswitch sends all codecs to 590 sip phone<br>
&gt; other than defined in 590.xml. It is seding codes which is mentioned in my<br>
&gt; conf/sip_profiles/internal.xml and codec negotiation done on whatever codec<br>
&gt; my sip phone having.<br>
&gt;<br>
&gt; I want to use different codecs for different extensions.<br>
&gt;<br>
&gt; Is it common behaviour of Freeswitch ? Should i override codec prerfrance in<br>
&gt; my extension list from my internal profile or not ?<br>
&gt;<br>
&gt; If no, then is it that i have to create 200 profiles in freeswitch to solve<br>
&gt; this problem ?<br>
&gt;<br>
&gt; Please guide me and provide solution for the same<br>
&gt;<br>
&gt;<br>
&gt; Thanks in advance<br>
&gt;<br>
&gt; Bharat Lalcheta<br>
&gt;<br>
&gt; _________________________________________________________________________<br>
&gt; Professional FreeSWITCH Consulting Services:<br>
&gt; <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
&gt; <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
&gt;<br>
&gt; FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
&gt; <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
&gt;<br>
&gt; Official FreeSWITCH Sites<br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt; <a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
&gt; <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
&gt;<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>
<br>
<br>
<br>
--<br>
Kristian Kielhofner<br>
<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>
</blockquote></div>