[Freeswitch-dev] Query on no_media variable

Anthony Minessale anthmct at yahoo.com
Mon Jan 14 09:11:59 EST 2008


I added it to the wiki here:

http://wiki.freeswitch.org/wiki/Channel_Variables

 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
MSN:anthony_minessale at hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org
pstn:213-799-1400


----- Original Message ----
From: sanjeev mudholkar <sanjeev.mudholkar at gmail.com>
To: freeswitch-dev at lists.freeswitch.org
Sent: Monday, January 14, 2008 4:07:52 AM
Subject: Re: [Freeswitch-dev] Query on no_media variable


Thanks for the info Anthony.
That serves my purpose.

By the way is this info documented anywhere as the documents
available still talk about "no_media" variable.
I have been looking into freeswitch wiki and 

http://www.0xdecafbad.com/files/fsdoc.pdf.

Is there a updated document available for any such changes?

Thanks
-Sanjeev


On Jan 11, 2008 4:48 PM, Anthony Minessale <anthmct at yahoo.com> wrote:

the var name was changed to bypass_media 
 
Anthony Minessale II

FreeSWITCH 
http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm

MSN:anthony_minessale at hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
IRC: irc.freenode.net
 #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org

iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org
pstn:213-799-1400



----- Original Message ----
From: sanjeev mudholkar <
sanjeev.mudholkar at gmail.com>

To: freeswitch-dev at lists.freeswitch.org

Sent: Friday, January 11, 2008 5:26:39 AM

Subject: [Freeswitch-dev] Query on no_media variable


Hi,
  I have been trying to use the variable "no_media" to enable the media flow
directly between the registered endpoints. Irrespective of the value of "no_media"
variable the media always flows through the freeswitch.


Here is my setup
Two SIP end points(1001 and 1002)  registered to Freeswitch.

Dial plan:
<extension name="test"> 
      <condition field="destination_number" expression="^(1002)$">

      <action application="set" data="no_media=true"/>
      <action application="bridge" data="sofia/$${domain}/1002%freeswitch_ip"/>
    </condition>


</extension>


My requirement is to set the media path(direct or through freeswitch) based on the 
destination and not for all SIP calls.

(Note: I had a quick look at audio_bridge_function in mod_dptools.c. I do not see 

the no_media variable used. Please ignore this note if this is not the right function)


Thanks in advance

-Sanjeev









      Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.


_______________________________________________

Freeswitch-dev mailing list
Freeswitch-dev at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev

UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev

http://www.freeswitch.org










      ____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20080114/713fab45/attachment.html 


More information about the Freeswitch-dev mailing list