[Freeswitch-users] bypass media

Anthony Minessale anthony.minessale at gmail.com
Sat Aug 23 10:09:40 PDT 2008


route the call to the info app to test out all the things you can use in the
regex.

<action application="info"/>

anything you see that starts with variable_ is available as a variable
so variable_sip_from_domain: cool.com can be accessed as ${sip_from_domain}

There is for sure some stuff in there that will tell you.

Any variable is valid in the field attr of a condition

ex.

<condition field="${sip_from_domain}" expression="cool.com"/>

also you can use the function sofia_contact to do a regex on the contact
addr of the registered user

${sofia_contact(1000 at xyz.com)}

Much of this should be documented in the default configs in tree and on the
wiki

http://wiki.freeswitch.org/wiki/Mod_dialplan_xml



On Sat, Aug 23, 2008 at 2:28 AM, Juan Backson <juanbackson at gmail.com> wrote:

> Hi,
>
> Is there anyway that I can tell if one of either leg A or leg B is a client
> behind NAT?  I would like to find a way to do that in order to dynamically
> determine whether bypass_media or proxy_media should be used.
>
> Thanks,
> JB
>
> _______________________________________________
> 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
>
>


-- 
Anthony Minessale II

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

AIM: anthm
MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:213-799-1400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20080823/b1fa0e99/attachment-0002.html 


More information about the FreeSWITCH-users mailing list