[Freeswitch-users] Help on Explaination of the configurations parrametters

Albert Nguyen albert_nguyen16 at hotmail.com
Wed May 23 12:26:21 MSD 2012


Hi Paul,
 
I am new to FS and  trying to setup FS as a "dumb" SBC as per example 2 in the wiki website so that I can convert inband DTMF to RFC 8233 and vice versa. This is the windows version of FS. Is it possible that I can get some assistant from you guys to get it up and running? Please advise how we can proceed.
 
Regards,
 
Al

 

> Date: Thu, 17 May 2012 20:01:35 +0100
> From: paul at cupis.co.uk
> To: freeswitch-users at lists.freeswitch.org
> Subject: Re: [Freeswitch-users] Help on Explaination of the configurations parrametters
> 
> On 17/05/12 02:50, Albert Nguyen wrote:
> > I am new to FS and trying to setup a SBC using the example 2 in the FS
> > wiki website. The link is
> > http://wiki.freeswitch.org/wiki/SBC_FreeSWITCH_Configuration_Example_2.
> >
> > There are parameters in the example that I have to replaces for it to
> > work with my own scenarios. However I have problem understanding the
> > following lines. Is there anyone able to explain what does this mean
> >
> > <condition field="${sip_redirect_contact_0}"
> > expression="(((192.168.)|(172.24.)|(10.10.))\d+\.\d+(:\d+)(;dtg=\w+)?)">
> >
> > The bits I am not sure is )\d+\.\d+(:\d+)(;dtg=\w+)?). What does this do?
> 
> This will match certain (IPv4) IP addresses, with ports specified:
> 
> 192.168.x.x:y
> 172.24.x.x:y
> 10.10.x.x:y
> 
> optionally ending in:
> 
> ;dtg=xxxx
> 
> In the given example, the rest of the XML is executed conditionally on 
> this match. If the sip_redirect_contact_0 matches the expression, then 
> the <actions> are executed, otherwise the <anti-action> is executed.
> 
> Regards,
> 
> _________________________________________________________________________
> 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
> 
> Join Us At ClueCon - Aug 7-9, 2012
> 
> 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
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120523/e2491f44/attachment.html 


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