[Freeswitch-users] Bypass Media not work

Cucu Florian koralu at gmail.com
Tue Apr 24 18:24:56 MSD 2012


Log when G711u not enable:

2012-04-24 17:03:36.107483 [NOTICE] switch_channel.c:926 New Channel
sofia/internal/sip:1001 at 88.88.88.88:56170
[48e4675c-8e16-11e1-ab52-23197b03d6f4]
2012-04-24 17:03:36.567473 [NOTICE] sofia.c:6293 Hangup
sofia/internal/sip:1001 at 88.88.88.88:56170 [CS_CONSUME_MEDIA]
[INCOMPATIBLE_DESTINATION]
2012-04-24 17:03:36.567473 [NOTICE] switch_ivr_originate.c:2459 Cannot
create outgoing channel of type [user] cause:
[INCOMPATIBLE_DESTINATION]
2012-04-24 17:03:36.567473 [INFO] mod_dptools.c:2916 Originate Failed.
 Cause: INCOMPATIBLE_DESTINATION
2012-04-24 17:03:36.567473 [NOTICE] mod_dptools.c:3035 Hangup
sofia/internal/1000 at floflo85.zapto.org [CS_EXECUTE]
[INCOMPATIBLE_DESTINATION]
2012-04-24 17:03:36.567473 [NOTICE] switch_core_session.c:1398 Session
2 (sofia/internal/sip:1001 at 88.88.88.88:56170) Ended
2012-04-24 17:03:36.567473 [NOTICE] switch_core_session.c:1400 Close
Channel sofia/internal/sip:1001 at 88.88.88.88:56170 [CS_DESTROY]
2012-04-24 17:03:36.588379 [NOTICE] switch_core_session.c:1398 Session
1 (sofia/internal/1000 at floflo85.zapto.org) Ended
2012-04-24 17:03:36.588379 [NOTICE] switch_core_session.c:1400 Close
Channel sofia/internal/1000 at floflo85.zapto.org [CS_DESTROY]
2012-04-24 17:04:49.567473 [NOTICE] switch_channel.c:926 New Channel
sofia/internal/1000 at floflo85.zapto.org
[74ad1b7c-8e16-11e1-ab57-23197b03d6f4]

@Ken Rice: Where should I enable the codecs?What if the codec is not
supported by FS? What I want to do is that codecs negotiation be made
by end point wihout any action by FS.

Ty

On 4/24/12, Ken Rice <krice at freeswitch.org> wrote:
> You still need to have the codecs enabled in your FreeSWITCH configuration,
> also FreeSWITCH supports iLBC and Broadvoice32 and 16 codecs along with a
> list of other codecs that are just not enabled by default...
>
> K
>
>
>
> On 4/24/12 5:19 AM, "Cucu Florian" <koralu at gmail.com> wrote:
>
>> Hello,
>>
>> I tried to test the behavior of "bypass media" in FS with the following
>> scenario: Xlite(ext.1000) -> FS <- Xlite(ext:1001)
>>
>> On each Xlite I set one single codec (that is currently unsupported by FS)
>> as
>> it said in wiki page: "This is useful if you have two end-points that need
>> to
>> use a codec that is currently not supported in FreeSWITCH "
>>
>> As the FS tutorial said "Before executing the bridge action you must set
>> the
>> "bypass_media" flag to true. " so I put the following line in my dial
>> plan.
>>
>> <extension name="extension-intercom">
>>     <condition field="destination_number" expression="1001">
>>         <action application="set" data="bypass_media=true"/>
>>         <action application="bridge" data="user/1001"/>
>>     </condition>
>> </extension>
>>
>>
>> <extension name="extension-intercom">
>>     <condition field="destination_number" expression="1000">
>>         <action application="set" data="bypass_media=true"/>
>>         <action application="bridge" data="user/1000"/>
>>     </condition>
>> </extension>
>>
>> When I put in Xlite also G711ulaw/alaw as codecs preference the calls was
>> ok.
>> But when I put only codecs that FS do not support(ex. iLBC,BroadVoice32)
>> the
>> call failed. What am I missing?
>>
>> I made this scenario because I need to route via FS some calls with G729r8
>> codec and I need no codec negotiation.
>>
>> Ty
>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> 
>> 
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.cluecon.com
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>
>



Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list