<div class="gmail_extra">It works. Thank you Anthony for the advice with late-negotiation and thank you Peter for your replay. Me stupid, I forgot to restart sofia profile.<br><br><div class="gmail_quote">On Tue, Apr 24, 2012 at 7:32 PM, Peter Olsson <span dir="ltr"><<a href="mailto:peter.olsson@visionutveckling.se" target="_blank">peter.olsson@visionutveckling.se</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Did you restart the sofia profile after the change?<br>
<br>
/Peter<br>
<br>
24 apr 2012 kl. 18:03 skrev "Cucu Florian" <<a href="mailto:koralu@gmail.com">koralu@gmail.com</a>>:<br>
<div><div class="h5"><br>
> Thank you for the replies but didn't work.<br>
><br>
> I uncomment late-negotioation parameter in sip_profile/internal.xml<br>
> <param name="inbound-late-negotiation" value="true"/><br>
><br>
> I put <action application="set" data="bypass_media=true"/> in my dial plan.<br>
><br>
> I set for both Xlite only iLBC codec. The logs are:<br>
><br>
> 2012-04-24 18:48:58.207474 [DEBUG] sofia_glue.c:4827 Audio Codec<br>
> Compare [iLBC:98:8000:30:13330]/[G7221:115:32000:20:48000]<br>
> 2012-04-24 18:48:58.207474 [DEBUG] sofia_glue.c:4827 Audio Codec<br>
> Compare [iLBC:98:8000:30:13330]/[G7221:107:16000:20:32000]<br>
> 2012-04-24 18:48:58.207474 [DEBUG] sofia_glue.c:4827 Audio Codec<br>
> Compare [iLBC:98:8000:30:13330]/[G722:9:8000:20:64000]<br>
> 2012-04-24 18:48:58.207474 [DEBUG] sofia_glue.c:4827 Audio Codec<br>
> Compare [iLBC:98:8000:30:13330]/[PCMU:0:8000:20:64000]<br>
> 2012-04-24 18:48:58.207474 [DEBUG] sofia_glue.c:4827 Audio Codec<br>
> Compare [iLBC:98:8000:30:13330]/[PCMA:8:8000:20:64000]<br>
> 2012-04-24 18:48:58.207474 [DEBUG] sofia_glue.c:4827 Audio Codec<br>
> Compare [iLBC:98:8000:30:13330]/[GSM:3:8000:20:13200]<br>
> 2012-04-24 18:48:58.207474 [DEBUG] sofia_glue.c:4827 Audio Codec<br>
> Compare [telephone-event:101:8000:30:0]/[G7221:115:32000:20:48000]<br>
> 2012-04-24 18:48:58.207474 [DEBUG] sofia_glue.c:4827 Audio Codec<br>
> Compare [telephone-event:101:8000:30:0]/[G7221:107:16000:20:32000]<br>
> 2012-04-24 18:48:58.207474 [DEBUG] sofia_glue.c:4827 Audio Codec<br>
> Compare [telephone-event:101:8000:30:0]/[G722:9:8000:20:64000]<br>
> 2012-04-24 18:48:58.207474 [DEBUG] sofia_glue.c:4827 Audio Codec<br>
> Compare [telephone-event:101:8000:30:0]/[PCMU:0:8000:20:64000]<br>
> 2012-04-24 18:48:58.207474 [DEBUG] sofia_glue.c:4827 Audio Codec<br>
> Compare [telephone-event:101:8000:30:0]/[PCMA:8:8000:20:64000]<br>
> 2012-04-24 18:48:58.207474 [DEBUG] sofia_glue.c:4827 Audio Codec<br>
> Compare [telephone-event:101:8000:30:0]/[GSM:3:8000:20:13200]<br>
> 2012-04-24 18:48:58.207474 [DEBUG] sofia_glue.c:4948 Set 2833 dtmf<br>
> send/recv payload to 101<br>
> 2012-04-24 18:48:58.207474 [DEBUG] switch_channel.c:2848<br>
> (sofia/internal/<a href="mailto:1001@floflo85.zapto.org">1001@floflo85.zapto.org</a>) Callstate Change DOWN -><br>
> HANGUP<br>
> 2012-04-24 18:48:58.207474 [DEBUG] switch_core_state_machine.c:362<br>
> (sofia/internal/<a href="mailto:1001@floflo85.zapto.org">1001@floflo85.zapto.org</a>) Running State Change<br>
> CS_HANGUP<br>
> 2012-04-24 18:48:58.207474 [NOTICE] sofia.c:5805 Hangup<br>
> sofia/internal/<a href="mailto:1001@floflo85.zapto.org">1001@floflo85.zapto.org</a> [CS_NEW]<br>
> [INCOMPATIBLE_DESTINATION]<br>
><br>
> When I set for just one Xlite iLBC and also G711 the call is ok.<br>
><br>
> Ty.<br>
><br>
> On 4/24/12, Anthony Minessale <<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>> wrote:<br>
>> To use bypass from the bypassl_media=true variable you must enable<br>
>> inbound-late-negotiation in your sofia profile.<br>
>><br>
>><br>
>> On Tue, Apr 24, 2012 at 8:55 AM, Ken Rice <<a href="mailto:krice@freeswitch.org">krice@freeswitch.org</a>> wrote:<br>
>>> You still need to have the codecs enabled in your FreeSWITCH<br>
>>> configuration,<br>
>>> also FreeSWITCH supports iLBC and Broadvoice32 and 16 codecs along with a<br>
>>> list of other codecs that are just not enabled by default...<br>
>>><br>
>>> K<br>
>>><br>
>>><br>
>>><br>
>>><br>
>>> On 4/24/12 5:19 AM, "Cucu Florian" <<a href="mailto:koralu@gmail.com">koralu@gmail.com</a>> wrote:<br>
>>><br>
>>> Hello,<br>
>>><br>
>>> I tried to test the behavior of "bypass media" in FS with the following<br>
>>> scenario: Xlite(ext.1000) -> FS <- Xlite(ext:1001)<br>
>>><br>
>>> On each Xlite I set one single codec (that is currently unsupported by FS)<br>
>>> as it said in wiki page: "This is useful if you have two end-points that<br>
>>> need to use a codec that is currently not supported in FreeSWITCH "<br>
>>><br>
>>> As the FS tutorial said "Before executing the bridge action you must set<br>
>>> the<br>
>>> "bypass_media" flag to true. " so I put the following line in my dial<br>
>>> plan.<br>
>>><br>
>>> <extension name="extension-intercom"><br>
>>> <condition field="destination_number" expression="1001"><br>
>>> <action application="set" data="bypass_media=true"/><br>
>>> <action application="bridge" data="user/1001"/><br>
>>> </condition><br>
>>> </extension><br>
>>><br>
>>><br>
>>> <extension name="extension-intercom"><br>
>>> <condition field="destination_number" expression="1000"><br>
>>> <action application="set" data="bypass_media=true"/><br>
>>> <action application="bridge" data="user/1000"/><br>
>>> </condition><br>
>>> </extension><br>
>>><br>
>>> When I put in Xlite also G711ulaw/alaw as codecs preference the calls was<br>
>>> ok. But when I put only codecs that FS do not support(ex.<br>
>>> iLBC,BroadVoice32)<br>
>>> the call failed. What am I missing?<br>
>>><br>
>>> I made this scenario because I need to route via FS some calls with G729r8<br>
>>> codec and I need no codec negotiation.<br>
>>><br>
>>> Ty<br>
>>><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>
>>><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>
>>><br>
>><br>
>><br>
>><br>
>> --<br>
>> Anthony Minessale II<br>
>><br>
>> FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>
>> ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
>> Twitter: <a href="http://twitter.com/FreeSWITCH_wire" target="_blank">http://twitter.com/FreeSWITCH_wire</a><br>
>><br>
>> AIM: anthm<br>
>> <a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>
>> GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
>> IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br>
>><br>
>> FreeSWITCH Developer Conference<br>
>> <a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br>
>> <a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
>> pstn:<a href="tel:%2B19193869900" value="+19193869900">+19193869900</a><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>
>><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>
><br>
</div></div>> !DSPAM:4f96cbdf32769280115710!<br>
<div class="HOEnZb"><div class="h5">><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>
</div></div></blockquote></div><br></div>