Help on Explaination of the configurations parrametters
Hi, 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? Thanks in advance. Al
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,
Hi Paul, Thanks very much for your help on this. Now I know what to replace with this parrametter. Kind regards, Al
Date: Thu, 17 May 2012 20:01:35 +0100 From: paul@cupis.co.uk To: freeswitch-users@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@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
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@cupis.co.uk To: freeswitch-users@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@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Hi When I start FS, I get a warning message from FS like [WARNING] switch_core.c:1206 can not locate domain 10.239.236.1 but 10.239.236.1 is the local NIC ip address. How can I fix this problem? Thanks in advance. Al
What shows up when you type "sofia status" at the fs_cli? -MC On Fri, May 18, 2012 at 2:34 AM, Albert Nguyen <albert_nguyen16@hotmail.com>wrote:
------------------------------ Hi
When I start FS, I get a warning message from FS like
[WARNING] switch_core.c:1206 can not locate domain 10.239.236.1
but 10.239.236.1 is the local NIC ip address. How can I fix this problem?
Thanks in advance.
Al
Hi, Is there any one know how to resolve this? It gives me this error message and it doesn't allow connection to the switch through this IP interface From: albert_nguyen16@hotmail.com To: freeswitch-users@lists.freeswitch.org Date: Fri, 18 May 2012 09:34:02 +0000 Subject: Re: [Freeswitch-users] [WARNING] switch_core.c:1206 can not locate domain 10.239.236.1 Hi When I start FS, I get a warning message from FS like [WARNING] switch_core.c:1206 can not locate domain 10.239.236.1 but 10.239.236.1 is the local NIC ip address. How can I fix this problem? Thanks in advance. Al _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (3)
-
Albert Nguyen
-
Michael Collins
-
Paul Cupis