thanks man, worked like a charm, I was setting the &#39;codec_string&#39; only but it also requires<br><br><pre>&lt;param name=&quot;inbound-late-negotiation&quot; value=&quot;true&quot;/&gt;</pre>to work,<br><br>thanks,<br>

Lukasz<br><br><br><div class="gmail_quote">2011/5/26 Vitalie Colosov <span dir="ltr">&lt;<a href="mailto:vetali100@gmail.com">vetali100@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div>Probably late negotiation is what you need:</div>
<div><pre><a href="http://wiki.freeswitch.org/wiki/Codec_negotiation#Late_Negotiation_.28requires_param.29" target="_blank">http://wiki.freeswitch.org/wiki/Codec_negotiation#Late_Negotiation_.28requires_param.29</a></pre>

<pre>Vitalie</pre>
</div>
<div class="gmail_quote"><div><div></div><div class="h5">2011/5/26 Łukasz Zwierko <span dir="ltr">&lt;<a href="mailto:lzwierko@gmail.com" target="_blank">lzwierko@gmail.com</a>&gt;</span><br>
</div></div><blockquote style="border-left:#ccc 1px solid;margin:0px 0px 0px 0.8ex;padding-left:1ex" class="gmail_quote"><div><div></div><div class="h5">Hi guys,<br><br>Is is possible to manually select which codec will be used on the A-leg (incoming call) when using outbound event socket to control the call?<br>


My case is quite basic I guess: I want to answer the call and pass it to an application which will record raw data (so I&#39;m not bridging the call anywhere).<br>It is important for me to be able to make a per-call selection of codec.<br>


I&#39;ve been digging through the wiki the whole morning, but I&#39;ve only found out how to force a codec on the outgoing call...<br><br>thanks for any advice,<br><br>Lukasz<br><br></div></div>_______________________________________________<br>


FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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>
<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>