[Freeswitch-users] Bypass Media mode seems to be broken

Eliot Gable egable+freeswitch at gmail.com
Mon Jan 11 15:06:30 PST 2010


Anthony reproduced it and is fixing it right now.


On Mon, Jan 11, 2010 at 5:58 PM, Mark Campbell-Smith
<mcampbellsmith at gmail.com> wrote:
> I sent this yesterday (my FS version is FreeSWITCH Version 1.0.trunk (16131) )
>
> Not sure if this is related ...
>
> Hi!
>
> I am calling from extension 2010 to extension 1000.  Both have ip
> addesses 192.168.1.x.
>
> In the 2000 series dialplan (a separate context) I have the following
> to try to enable bypass_media.
>
>           <extension name="Local_1000_9xxx">
>                 <condition field="destination_number"
> expression="^(10[01][0-9]|9\d{3})$">
>                       <action application="set" data="dialed_extension=$1"/>
>                       <action application="set" data="proxy_media=false"/>
>                       <action application="set" data="bypass_media=true"/>
>                       <action application="transfer"
> data="${dialed_extension} XML default"/>
>                 </condition>
>           </extension>
>
> Is this how bypass media should be enabled?
>
> This fails fo me (the calls hang up and no audio).  The debug trace is
> in http://pastebin.freeswitch.org/11737
>
> What have I done wrong?
>
> Thanks
>
>
> On Tue, Jan 12, 2010 at 9:41 AM, DJB <djbinter at yahoo.com> wrote:
>> I wonder whether anyone experienced this problem.
>> SVN Version: 16249
>> Trace log:  http://pastebin.freeswitch.org/11754
>> Dialplan:
>>    <extension name="tollfree">
>>      <condition field="destination_number"
>> expression="^(\+1|1)?(8(00|88|77|66)[2-9]\d{6})$">
>>        <action application="set" data="bypass_media=true"/>
>>        <action application="bridge"
>> data="sofia/external/1$2 at sip.tollfreegateway.com"/>
>>      </condition>
>>    </extension>
>> Problem:
>> FS is not passing 200 OK to inbound leg when it received from outbound leg
>>
>> _______________________________________________
>> 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
>>
>>
>
> _______________________________________________
> 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
>



-- 
Eliot Gable

"We do not inherit the Earth from our ancestors: we borrow it from our
children." ~David Brower

"I decided the words were too conservative for me. We're not borrowing
from our children, we're stealing from them--and it's not even
considered to be a crime." ~David Brower

"Esse oportet ut vivas, non vivere ut edas." (Thou shouldst eat to
live; not live to eat.) ~Marcus Tullius Cicero




More information about the FreeSWITCH-users mailing list