Yes, don't use proxy media. Use absolute_codec_string as you already were to enforce it.<br><br>There is no way if you're using proxy media.<br><br>-Steve<br><br><br><div class="gmail_quote">On 2 August 2010 08:23, Nyamul Hassan <span dir="ltr"><<a href="mailto:mnhassan@usa.net">mnhassan@usa.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Thank you for the explanation Steven. However, if we see that there is a common codec, say G729, and we want to make sure that the call gets connected on G729, is there any way to enforce this?<div>
<br></div><div>Regards</div>
<div>HASSAN</div><div><div></div><div class="h5"><div><br></div><div><br><br><div class="gmail_quote">On Mon, Aug 2, 2010 at 12:44, Steven Ayre <span dir="ltr"><<a href="mailto:steveayre@gmail.com" target="_blank">steveayre@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
In proxy media mode FS will pass media straight through without any processing. It won't do any transcoding or any SDP modifcation, so it can't transcode PCMU <-> G729 and absolute_codec_string will be ignored - it'll just pass the codec settings straight through from the A leg to the B leg.<br>
<br>So it's expected behaviour.<br><br>-Steve<div><div></div><div><br><br><br><br><div class="gmail_quote">On 2 August 2010 04:55, Dome Charoenyost <span dir="ltr"><<a href="mailto:dome@tel.co.th" target="_blank">dome@tel.co.th</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Dear All,<br>
I'm not sure it's bug or not ?<br>
I try to test codec negotate. with 3 FS box<br>
FS1 send PCMA to FS2 and FS2 send G729 to FS3<br>
<br>
FS1 -----> [PCMU] ----> FS2 ------> [G729] -------> FS3 (10.20.2.49)<br>
My dialplan<br>
<action application="bridge"<br>
data="{absolute_codec_string='G729'}sofia/internal/<a href="http://2222@10.20.2.49:5080" target="_blank">2222@10.20.2.49:5080</a>"/><br>
It's work fine<br>
When i try<br>
<action application="set" data="proxy_media=true"/><br>
<action application="bridge"<br>
data="{absolute_codec_string='G729'}sofia/internal/<a href="http://2222@10.20.2.49:5080" target="_blank">2222@10.20.2.49:5080</a>"/><br>
Call fail. because FS2 ignore absolute_codec_string='G729' and send<br>
only PCMU (I think by pass from FS1)<br>
<br>
It's bug or not ?<br>
<br>
Dome C.<br>
<br>
_______________________________________________<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>
</blockquote></div><br>
</div></div><br>_______________________________________________<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></div>
</div></div><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>