xml dialplan - regurlar expression question / Sanity Check!
HI, I really hope this question is not as dumb as some of my recent questions (Anybody else wiped out you O/S lately?)! Anyway, I have an xml dial plan: <extension name="ten_or eleven_digiti_dial" > <condition field="destination_number" expression="^1?(\d{10})$"> <action application="set" data="ringback=${us-ring}"/> <action application="set" data="effective_caller_id_number=${outbound_caller_id_number}"/> <action application="set" data="ani=${outbound_caller_id_number}"/> <action application="set" data="effective_caller_id_name=${outbound_caller_id_name}"/> <action application="set" data="hangup_after_bridge=true"/> <action application="bridge" data="sofia/gateway/vitelity-inbound/1$1"/> </condition> </extension> I thought that would accept either 10 or 11 digit numbers starting with 1 and bridge to the gateway always using 1 plus the 10 digits. In fact in my log I can see: Dialplan: sofia/external/220@fs_bfis.bizfocused.com Regex (PASS) [ten_or eleven_digiti_dial] destination_number(14104207777) =~ /^1?(\d{10})$/ break=on-false Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(ringback=${us-ring}) Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(effective_caller_id_number=${outbound_caller_id_number}) Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(ani=${outbound_caller_id_number}) Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(effective_caller_id_name=${outbound_caller_id_name}) Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(hangup_after_bridge=true) Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action bridge(sofia/gateway/vitelity-inbound/14104207777) BUT It does not work for my customer : Dialplan: sofia/external/101@fs_alst.bizfocused.com Regex (PASS) [ten_or_eleven_digiti_dial] destination_number(1800336940) =~ /^1?(\d{10})$/ break=on-false Dialplan: sofia/external/101@fs_alst.bizfocused.com Action set(ringback=${us-ring}) Dialplan: sofia/external/101@fs_alst.bizfocused.com Action set(effective_caller_id_number=${outbound_caller_id_number}) Dialplan: sofia/external/101@fs_alst.bizfocused.com Action set(ani=${outbound_caller_id_number}) Dialplan: sofia/external/101@fs_alst.bizfocused.com Action set(effective_caller_id_name=${outbound_caller_id_name}) Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(hangup_after_bridge=true) Dialplan: sofia/external/101@fs_alst.bizfocused.com Action bridge(sofia/gateway/vitelity-inbound/11800336940) NOTE THE EXTRA LEADING 1 So, what am I missing? Thanks, Sean
<action application="bridge" data="sofia/gateway/vitelity-inbound/1$1" />**** João Mesquit On Wed, Jan 9, 2013 at 5:48 PM, Sean Devoy <sdevoy@bizfocused.com> wrote:
<action application="bridge" data=" sofia/gateway/vitelity-inbound/1$1"/>****
*1800336940 is 10-digits; therefore, it will match (\d{10}), which will be $1. $1 = 1800336940 * *Then, in your bridge you add 1 in front, so it is correct. * *What behaviors are you looking for in this case? * *-djbinter * On Wed, Jan 9, 2013 at 11:48 AM, Sean Devoy <sdevoy@bizfocused.com> wrote:
HI,****
** **
I really hope this question is not as dumb as some of my recent questions (Anybody else wiped out you O/S lately?)!****
** **
Anyway, I have an xml dial plan:****
<extension name="ten_or eleven_digiti_dial" >****
<condition field="destination_number" expression="^1?(\d{10})$">****
<action application="set" data="ringback=${us-ring}"/>****
<action application="set" data=" effective_caller_id_number=${outbound_caller_id_number}"/>****
<action application="set" data="ani=${outbound_caller_id_number}"/>* ***
<action application="set" data=" effective_caller_id_name=${outbound_caller_id_name}"/>****
<action application="set" data="hangup_after_bridge=true"/>****
<action application="bridge" data=" sofia/gateway/vitelity-inbound/1$1"/>****
</condition>****
</extension>****
** **
I thought that would accept either 10 or 11 digit numbers starting with 1 and bridge to the gateway always using 1 plus the 10 digits.****
** **
In fact in my log I can see:****
Dialplan: sofia/external/220@fs_bfis.bizfocused.com Regex *(PASS)*[ten_or eleven_digiti_dial] destination_number *(14104207777*) =~ /^1?(\d{10})$/ break=on-false****
Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(ringback=${us-ring}) ****
Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(effective_caller_id_number=${outbound_caller_id_number}) ****
Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(ani=${outbound_caller_id_number}) ****
Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(effective_caller_id_name=${outbound_caller_id_name}) ****
Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(hangup_after_bridge=true) ****
Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action bridge* (sofia/gateway/vitelity-inbound/14104207777*)****
** **
*BUT*
It does not work for my customer :****
Dialplan: sofia/external/101@fs_alst.bizfocused.com Regex *(PASS*) [ten_or_eleven_digiti_dial] destination_number(*1800336940*) =~ /^1?(\d{10})$/ break=on-false****
Dialplan: sofia/external/101@fs_alst.bizfocused.com Action set(ringback=${us-ring}) ****
Dialplan: sofia/external/101@fs_alst.bizfocused.com Action set(effective_caller_id_number=${outbound_caller_id_number}) ****
Dialplan: sofia/external/101@fs_alst.bizfocused.com Action set(ani=${outbound_caller_id_number}) ****
Dialplan: sofia/external/101@fs_alst.bizfocused.com Action set(effective_caller_id_name=${outbound_caller_id_name}) ****
Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(hangup_after_bridge=true) ****
Dialplan: sofia/external/101@fs_alst.bizfocused.com Action bridge* (sofia/gateway/vitelity-inbound/11800336940*) NOTE THE EXTRA LEADING 1*** *
** **
So, what am I missing?****
** **
Thanks,****
Sean****
_________________________________________________________________________ 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
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
If you are trying to filter NANPA numbers why not use a tighter REGEX like ^(?:+1|1)?([2-9]\d{2}[2-9]\d{6})$ This would leave the base 10 digit number in $1 On 1/9/13 2:00 PM, "DJB International" <djbinter@gmail.com> wrote:
1800336940 is 10-digits; therefore, it will match (\d{10}), which will be $1.
$1 = 1800336940
Then, in your bridge you add 1 in front, so it is correct.
What behaviors are you looking for in this case?
-djbinter
On Wed, Jan 9, 2013 at 11:48 AM, Sean Devoy <sdevoy@bizfocused.com> wrote:
HI, I really hope this question is not as dumb as some of my recent questions (Anybody else wiped out you O/S lately?)! Anyway, I have an xml dial plan: <extension name="ten_or eleven_digiti_dial" > <condition field="destination_number" expression="^1?(\d{10})$"> <action application="set" data="ringback=${us-ring}"/> <action application="set" data="effective_caller_id_number=${outbound_caller_id_number}"/> <action application="set" data="ani=${outbound_caller_id_number}"/> <action application="set" data="effective_caller_id_name=${outbound_caller_id_name}"/> <action application="set" data="hangup_after_bridge=true"/> <action application="bridge" data="sofia/gateway/vitelity-inbound/1$1"/> </condition> </extension> I thought that would accept either 10 or 11 digit numbers starting with 1 and bridge to the gateway always using 1 plus the 10 digits. In fact in my log I can see: Dialplan: sofia/external/220@fs_bfis.bizfocused.com Regex (PASS) [ten_or eleven_digiti_dial] destination_number(14104207777 <tel:%2814104207777> ) =~ /^1?(\d{10})$/ break=on-false Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(ringback=${us-ring}) Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(effective_caller_id_number=${outbound_caller_id_number}) Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(ani=${outbound_caller_id_number}) Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(effective_caller_id_name=${outbound_caller_id_name}) Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(hangup_after_bridge=true) Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action bridge(sofia/gateway/vitelity-inbound/14104207777 <tel:14104207777> ) BUT It does not work for my customer : Dialplan: sofia/external/101@fs_alst.bizfocused.com Regex (PASS) [ten_or_eleven_digiti_dial] destination_number(1800336940) =~ /^1?(\d{10})$/ break=on-false Dialplan: sofia/external/101@fs_alst.bizfocused.com Action set(ringback=${us-ring}) Dialplan: sofia/external/101@fs_alst.bizfocused.com Action set(effective_caller_id_number=${outbound_caller_id_number}) Dialplan: sofia/external/101@fs_alst.bizfocused.com Action set(ani=${outbound_caller_id_number}) Dialplan: sofia/external/101@fs_alst.bizfocused.com Action set(effective_caller_id_name=${outbound_caller_id_name}) Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(hangup_after_bridge=true) Dialplan: sofia/external/101@fs_alst.bizfocused.com Action bridge(sofia/gateway/vitelity-inbound/11800336940) NOTE THE EXTRA LEADING 1 So, what am I missing? Thanks, Sean
_________________________________________________________________________ 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
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
_________________________________________________________________________ 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
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
-- Ken http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org irc.freenode.net #freeswitch
It's better to remove trailing "$", there could be more digits on handset's redial after entering DTMF codes on previous call. On Wednesday 09 January 2013 15:33:57 Ken Rice wrote:
If you are trying to filter NANPA numbers why not use a tighter REGEX like ^(?:+1|1)?([2-9]\d{2}[2-9]\d{6})$
This would leave the base 10 digit number in $1
On 1/9/13 2:00 PM, "DJB International" <djbinter@gmail.com> wrote:
1800336940 is 10-digits; therefore, it will match (\d{10}), which will be $1.
$1 = 1800336940
Then, in your bridge you add 1 in front, so it is correct.
What behaviors are you looking for in this case?
-djbinter
On Wed, Jan 9, 2013 at 11:48 AM, Sean Devoy <sdevoy@bizfocused.com> wrote:
HI,
I really hope this question is not as dumb as some of my recent questions (Anybody else wiped out you O/S lately?)!
Anyway, I have an xml dial plan: <extension name="ten_or eleven_digiti_dial" > <condition field="destination_number" expression="^1?(\d{10})$"> <action application="set" data="ringback=${us-ring}"/> <action application="set" data="effective_caller_id_number=${outbound_caller_id_number}"/> <action application="set" data="ani=${outbound_caller_id_number}"/> <action application="set" data="effective_caller_id_name=${outbound_caller_id_name}"/> <action application="set" data="hangup_after_bridge=true"/> <action application="bridge" data="sofia/gateway/vitelity-inbound/1$1"/> </condition> </extension>
I thought that would accept either 10 or 11 digit numbers starting with 1 and bridge to the gateway always using 1 plus the 10 digits.
In fact in my log I can see: Dialplan: sofia/external/220@fs_bfis.bizfocused.com Regex (PASS) [ten_or eleven_digiti_dial] destination_number(14104207777 <tel:%2814104207777> ) =~ /^1?(\d{10})$/ break=on-false Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(ringback=${us-ring}) Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(effective_caller_id_number=${outbound_caller_id_number}) Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(ani=${outbound_caller_id_number}) Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(effective_caller_id_name=${outbound_caller_id_name}) Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(hangup_after_bridge=true) Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action bridge(sofia/gateway/vitelity-inbound/14104207777 <tel:14104207777> )
BUT It does not work for my customer : Dialplan: sofia/external/101@fs_alst.bizfocused.com Regex (PASS) [ten_or_eleven_digiti_dial] destination_number(1800336940) =~ /^1?(\d{10})$/ break=on-false Dialplan: sofia/external/101@fs_alst.bizfocused.com Action set(ringback=${us-ring}) Dialplan: sofia/external/101@fs_alst.bizfocused.com Action set(effective_caller_id_number=${outbound_caller_id_number}) Dialplan: sofia/external/101@fs_alst.bizfocused.com Action set(ani=${outbound_caller_id_number}) Dialplan: sofia/external/101@fs_alst.bizfocused.com Action set(effective_caller_id_name=${outbound_caller_id_name}) Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(hangup_after_bridge=true) Dialplan: sofia/external/101@fs_alst.bizfocused.com Action bridge(sofia/gateway/vitelity-inbound/11800336940) NOTE THE EXTRA LEADING 1 So, what am I missing?
Thanks, Sean
_________________________________________________________________________ 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
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
_________________________________________________________________________ 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
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
We can agree to disagree on that... I would argue if that's happening they need to update their handset... Its not 1985 any more On 1/9/13 3:44 PM, "Sergey Okhapkin" <sos@sokhapkin.dyndns.org> wrote:
It's better to remove trailing "$", there could be more digits on handset's redial after entering DTMF codes on previous call.
On Wednesday 09 January 2013 15:33:57 Ken Rice wrote:
If you are trying to filter NANPA numbers why not use a tighter REGEX like ^(?:+1|1)?([2-9]\d{2}[2-9]\d{6})$
This would leave the base 10 digit number in $1
On 1/9/13 2:00 PM, "DJB International" <djbinter@gmail.com> wrote:
1800336940 is 10-digits; therefore, it will match (\d{10}), which will be $1.
$1 = 1800336940
Then, in your bridge you add 1 in front, so it is correct.
What behaviors are you looking for in this case?
-djbinter
On Wed, Jan 9, 2013 at 11:48 AM, Sean Devoy <sdevoy@bizfocused.com> wrote:
HI,
I really hope this question is not as dumb as some of my recent questions (Anybody else wiped out you O/S lately?)!
Anyway, I have an xml dial plan: <extension name="ten_or eleven_digiti_dial" > <condition field="destination_number" expression="^1?(\d{10})$"> <action application="set" data="ringback=${us-ring}"/> <action application="set" data="effective_caller_id_number=${outbound_caller_id_number}"/> <action application="set" data="ani=${outbound_caller_id_number}"/> <action application="set" data="effective_caller_id_name=${outbound_caller_id_name}"/> <action application="set" data="hangup_after_bridge=true"/> <action application="bridge" data="sofia/gateway/vitelity-inbound/1$1"/> </condition> </extension>
I thought that would accept either 10 or 11 digit numbers starting with 1 and bridge to the gateway always using 1 plus the 10 digits.
In fact in my log I can see: Dialplan: sofia/external/220@fs_bfis.bizfocused.com Regex (PASS) [ten_or eleven_digiti_dial] destination_number(14104207777 <tel:%2814104207777> ) =~ /^1?(\d{10})$/ break=on-false Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(ringback=${us-ring}) Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(effective_caller_id_number=${outbound_caller_id_number}) Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(ani=${outbound_caller_id_number}) Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(effective_caller_id_name=${outbound_caller_id_name}) Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(hangup_after_bridge=true) Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action bridge(sofia/gateway/vitelity-inbound/14104207777 <tel:14104207777> )
BUT It does not work for my customer : Dialplan: sofia/external/101@fs_alst.bizfocused.com Regex (PASS) [ten_or_eleven_digiti_dial] destination_number(1800336940) =~ /^1?(\d{10})$/ break=on-false Dialplan: sofia/external/101@fs_alst.bizfocused.com Action set(ringback=${us-ring}) Dialplan: sofia/external/101@fs_alst.bizfocused.com Action set(effective_caller_id_number=${outbound_caller_id_number}) Dialplan: sofia/external/101@fs_alst.bizfocused.com Action set(ani=${outbound_caller_id_number}) Dialplan: sofia/external/101@fs_alst.bizfocused.com Action set(effective_caller_id_name=${outbound_caller_id_name}) Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(hangup_after_bridge=true) Dialplan: sofia/external/101@fs_alst.bizfocused.com Action bridge(sofia/gateway/vitelity-inbound/11800336940) NOTE THE EXTRA LEADING 1 So, what am I missing?
Thanks, Sean
_________________________________________________________________________ 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
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
_________________________________________________________________________ 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
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
_________________________________________________________________________ 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
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
-- Ken http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org irc.freenode.net #freeswitch
Or you could both win by modifying the regex a bit: ^(?:+1|1)?([2-9]\d{2}[2-9]\d{6})\d*$ That assumes a valid NANPA number with "some extra digits" is just that - a valid NANPA number with some extra digits. However, I wouldn't trust a handset that doesn't know the difference between digits in the phone number and digits sent after far end answered. -MC On Wed, Jan 9, 2013 at 2:00 PM, Ken Rice <krice@freeswitch.org> wrote:
We can agree to disagree on that... I would argue if that's happening they need to update their handset... Its not 1985 any more
On 1/9/13 3:44 PM, "Sergey Okhapkin" <sos@sokhapkin.dyndns.org> wrote:
It's better to remove trailing "$", there could be more digits on handset's redial after entering DTMF codes on previous call.
On Wednesday 09 January 2013 15:33:57 Ken Rice wrote:
If you are trying to filter NANPA numbers why not use a tighter REGEX like ^(?:+1|1)?([2-9]\d{2}[2-9]\d{6})$
This would leave the base 10 digit number in $1
On 1/9/13 2:00 PM, "DJB International" <djbinter@gmail.com> wrote:
1800336940 is 10-digits; therefore, it will match (\d{10}), which will be $1.
$1 = 1800336940
Then, in your bridge you add 1 in front, so it is correct.
What behaviors are you looking for in this case?
-djbinter
On Wed, Jan 9, 2013 at 11:48 AM, Sean Devoy <sdevoy@bizfocused.com> wrote:
HI,
I really hope this question is not as dumb as some of my recent questions (Anybody else wiped out you O/S lately?)!
Anyway, I have an xml dial plan: <extension name="ten_or eleven_digiti_dial" > <condition field="destination_number" expression="^1?(\d{10})$"> <action application="set" data="ringback=${us-ring}"/> <action application="set" data="effective_caller_id_number=${outbound_caller_id_number}"/> <action application="set" data="ani=${outbound_caller_id_number}"/> <action application="set" data="effective_caller_id_name=${outbound_caller_id_name}"/> <action application="set" data="hangup_after_bridge=true"/> <action application="bridge" data="sofia/gateway/vitelity-inbound/1$1"/> </condition> </extension>
I thought that would accept either 10 or 11 digit numbers starting with 1 and bridge to the gateway always using 1 plus the 10 digits.
In fact in my log I can see: Dialplan: sofia/external/220@fs_bfis.bizfocused.com Regex (PASS) [ten_or eleven_digiti_dial] destination_number(14104207777 <tel:%2814104207777> ) =~ /^1?(\d{10})$/ break=on-false Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(ringback=${us-ring}) Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(effective_caller_id_number=${outbound_caller_id_number}) Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(ani=${outbound_caller_id_number}) Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(effective_caller_id_name=${outbound_caller_id_name}) Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(hangup_after_bridge=true) Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action bridge(sofia/gateway/vitelity-inbound/14104207777 <tel:14104207777> )
BUT It does not work for my customer : Dialplan: sofia/external/101@fs_alst.bizfocused.com Regex (PASS) [ten_or_eleven_digiti_dial] destination_number(1800336940) =~ /^1?(\d{10})$/ break=on-false Dialplan: sofia/external/101@fs_alst.bizfocused.com Action set(ringback=${us-ring}) Dialplan: sofia/external/101@fs_alst.bizfocused.com Action set(effective_caller_id_number=${outbound_caller_id_number}) Dialplan: sofia/external/101@fs_alst.bizfocused.com Action set(ani=${outbound_caller_id_number}) Dialplan: sofia/external/101@fs_alst.bizfocused.com Action set(effective_caller_id_name=${outbound_caller_id_name}) Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(hangup_after_bridge=true) Dialplan: sofia/external/101@fs_alst.bizfocused.com Action bridge(sofia/gateway/vitelity-inbound/11800336940) NOTE THE EXTRA LEADING 1 So, what am I missing?
Thanks, Sean
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
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
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
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
_________________________________________________________________________ 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
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
-- Ken http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org irc.freenode.net #freeswitch
_________________________________________________________________________ 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
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
-- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org
My Uniden handset made around 2010. It sends extra DTMF digits on redial. On Wednesday 09 January 2013 16:00:00 Ken Rice wrote:
We can agree to disagree on that... I would argue if that's happening they need to update their handset... Its not 1985 any more
On 1/9/13 3:44 PM, "Sergey Okhapkin" <sos@sokhapkin.dyndns.org> wrote:
It's better to remove trailing "$", there could be more digits on handset's redial after entering DTMF codes on previous call.
On Wednesday 09 January 2013 15:33:57 Ken Rice wrote:
If you are trying to filter NANPA numbers why not use a tighter REGEX like ^(?:+1|1)?([2-9]\d{2}[2-9]\d{6})$
This would leave the base 10 digit number in $1
On 1/9/13 2:00 PM, "DJB International" <djbinter@gmail.com> wrote:
1800336940 is 10-digits; therefore, it will match (\d{10}), which will be $1.
$1 = 1800336940
Then, in your bridge you add 1 in front, so it is correct.
What behaviors are you looking for in this case?
-djbinter
On Wed, Jan 9, 2013 at 11:48 AM, Sean Devoy <sdevoy@bizfocused.com> wrote:
HI,
I really hope this question is not as dumb as some of my recent questions (Anybody else wiped out you O/S lately?)!
Anyway, I have an xml dial plan: <extension name="ten_or eleven_digiti_dial" >
<condition field="destination_number" expression="^1?(\d{10})$">
<action application="set" data="ringback=${us-ring}"/> <action application="set"
data="effective_caller_id_number=${outbound_caller_id_number}"/>
<action application="set" data="ani=${outbound_caller_id_number}"/> <action application="set"
data="effective_caller_id_name=${outbound_caller_id_name}"/>
<action application="set" data="hangup_after_bridge=true"/> <action application="bridge"
data="sofia/gateway/vitelity-inbound/1$1"/>
</condition>
</extension>
I thought that would accept either 10 or 11 digit numbers starting with 1 and bridge to the gateway always using 1 plus the 10 digits.
In fact in my log I can see: Dialplan: sofia/external/220@fs_bfis.bizfocused.com Regex (PASS) [ten_or eleven_digiti_dial] destination_number(14104207777 <tel:%2814104207777> ) =~ /^1?(\d{10})$/ break=on-false Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(ringback=${us-ring}) Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(effective_caller_id_number=${outbound_caller_id_number}) Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(ani=${outbound_caller_id_number}) Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(effective_caller_id_name=${outbound_caller_id_name}) Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(hangup_after_bridge=true) Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action bridge(sofia/gateway/vitelity-inbound/14104207777 <tel:14104207777> )
BUT It does not work for my customer : Dialplan: sofia/external/101@fs_alst.bizfocused.com Regex (PASS) [ten_or_eleven_digiti_dial] destination_number(1800336940) =~ /^1?(\d{10})$/ break=on-false Dialplan: sofia/external/101@fs_alst.bizfocused.com Action set(ringback=${us-ring}) Dialplan: sofia/external/101@fs_alst.bizfocused.com Action set(effective_caller_id_number=${outbound_caller_id_number}) Dialplan: sofia/external/101@fs_alst.bizfocused.com Action set(ani=${outbound_caller_id_number}) Dialplan: sofia/external/101@fs_alst.bizfocused.com Action set(effective_caller_id_name=${outbound_caller_id_name}) Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(hangup_after_bridge=true) Dialplan: sofia/external/101@fs_alst.bizfocused.com Action bridge(sofia/gateway/vitelity-inbound/11800336940) NOTE THE EXTRA LEADING 1 So, what am I missing?
Thanks, Sean
_______________________________________________________________________ __ 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
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-user s http://www.freeswitch.org
________________________________________________________________________ _ 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
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
_________________________________________________________________________ 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
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
Ken, Is it correct that in the group but not capture (?: we will need an escape character \ to match the literal "+" character as well. So, I think it should be: ^(?:\+1|1)?([2-9]\d{2}[2-9]\d{6})$ -djbinter On Wed, Jan 9, 2013 at 1:44 PM, Sergey Okhapkin <sos@sokhapkin.dyndns.org>wrote:
It's better to remove trailing "$", there could be more digits on handset's redial after entering DTMF codes on previous call.
On Wednesday 09 January 2013 15:33:57 Ken Rice wrote:
If you are trying to filter NANPA numbers why not use a tighter REGEX like ^(?:+1|1)?([2-9]\d{2}[2-9]\d{6})$
This would leave the base 10 digit number in $1
On 1/9/13 2:00 PM, "DJB International" <djbinter@gmail.com> wrote:
1800336940 is 10-digits; therefore, it will match (\d{10}), which will be $1.
$1 = 1800336940
Then, in your bridge you add 1 in front, so it is correct.
What behaviors are you looking for in this case?
-djbinter
On Wed, Jan 9, 2013 at 11:48 AM, Sean Devoy <sdevoy@bizfocused.com> wrote:
HI,
I really hope this question is not as dumb as some of my recent questions (Anybody else wiped out you O/S lately?)!
Anyway, I have an xml dial plan: <extension name="ten_or eleven_digiti_dial" > <condition field="destination_number" expression="^1?(\d{10})$"> <action application="set" data="ringback=${us-ring}"/> <action application="set" data="effective_caller_id_number=${outbound_caller_id_number}"/> <action application="set" data="ani=${outbound_caller_id_number}"/> <action application="set" data="effective_caller_id_name=${outbound_caller_id_name}"/> <action application="set" data="hangup_after_bridge=true"/> <action application="bridge" data="sofia/gateway/vitelity-inbound/1$1"/> </condition> </extension>
I thought that would accept either 10 or 11 digit numbers starting with 1 and bridge to the gateway always using 1 plus the 10 digits.
In fact in my log I can see: Dialplan: sofia/external/220@fs_bfis.bizfocused.com Regex (PASS) [ten_or eleven_digiti_dial] destination_number(14104207777<tel:%2814104207777> ) =~ /^1?(\d{10})$/ break=on-false Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(ringback=${us-ring}) Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(effective_caller_id_number=${outbound_caller_id_number}) Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(ani=${outbound_caller_id_number}) Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(effective_caller_id_name=${outbound_caller_id_name}) Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(hangup_after_bridge=true) Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action bridge(sofia/gateway/vitelity-inbound/14104207777 <tel:14104207777> )
BUT It does not work for my customer : Dialplan: sofia/external/101@fs_alst.bizfocused.com Regex (PASS) [ten_or_eleven_digiti_dial] destination_number(1800336940) =~ /^1?(\d{10})$/ break=on-false Dialplan: sofia/external/101@fs_alst.bizfocused.com Action set(ringback=${us-ring}) Dialplan: sofia/external/101@fs_alst.bizfocused.com Action set(effective_caller_id_number=${outbound_caller_id_number}) Dialplan: sofia/external/101@fs_alst.bizfocused.com Action set(ani=${outbound_caller_id_number}) Dialplan: sofia/external/101@fs_alst.bizfocused.com Action set(effective_caller_id_name=${outbound_caller_id_name}) Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(hangup_after_bridge=true) Dialplan: sofia/external/101@fs_alst.bizfocused.com Action bridge(sofia/gateway/vitelity-inbound/11800336940) NOTE THE EXTRA LEADING 1 So, what am I missing?
Thanks, Sean
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
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
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
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
_________________________________________________________________________ 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
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
Correct djbinter... I missed that \ before the +... If you don¹t do that you¹ll get a nothing to repeat compile error on the regex... Thanks for pointing it out! On 1/9/13 4:03 PM, "DJB International" <djbinter@gmail.com> wrote:
Ken,
Is it correct that in the group but not capture (?: we will need an escape character \ to match the literal "+" character as well. So, I think it should be: ^(?:\+1|1)?([2-9]\d{2}[2-9]\d{6})$
-djbinter
On Wed, Jan 9, 2013 at 1:44 PM, Sergey Okhapkin <sos@sokhapkin.dyndns.org> wrote:
It's better to remove trailing "$", there could be more digits on handset's redial after entering DTMF codes on previous call.
On Wednesday 09 January 2013 15:33:57 Ken Rice wrote:
If you are trying to filter NANPA numbers why not use a tighter REGEX like ^(?:+1|1)?([2-9]\d{2}[2-9]\d{6})$
This would leave the base 10 digit number in $1
On 1/9/13 2:00 PM, "DJB International" <djbinter@gmail.com> wrote:
1800336940 is 10-digits; therefore, it will match (\d{10}), which will be $1.
$1 = 1800336940
Then, in your bridge you add 1 in front, so it is correct.
What behaviors are you looking for in this case?
-djbinter
On Wed, Jan 9, 2013 at 11:48 AM, Sean Devoy <sdevoy@bizfocused.com> wrote: >> HI, >> >> I really hope this question is not as dumb as some of my recent questions >> (Anybody else wiped out you O/S lately?)! >> >> Anyway, I have an xml dial plan: >> <extension name="ten_or eleven_digiti_dial" > >> <condition field="destination_number" expression="^1?(\d{10})$"> >> <action application="set" data="ringback=${us-ring}"/> >> <action application="set" >> data="effective_caller_id_number=${outbound_caller_id_number}"/> >> <action application="set" data="ani=${outbound_caller_id_number}"/> >> <action application="set" >> data="effective_caller_id_name=${outbound_caller_id_name}"/> >> <action application="set" data="hangup_after_bridge=true"/> >> <action application="bridge" >> data="sofia/gateway/vitelity-inbound/1$1"/> >> </condition> >> </extension> >> >> I thought that would accept either 10 or 11 digit numbers starting with 1 >> and bridge to the gateway always using 1 plus the 10 digits. >> >> In fact in my log I can see: >> Dialplan: sofia/external/220@fs_bfis.bizfocused.com Regex (PASS) [ten_or >> eleven_digiti_dial] destination_number(14104207777 <tel:%2814104207777> <tel:%2814104207777> ) >> =~ /^1?(\d{10})$/ break=on-false >> Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action >> set(ringback=${us-ring}) >> Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action >> set(effective_caller_id_number=${outbound_caller_id_number}) >> Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action >> set(ani=${outbound_caller_id_number}) >> Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action >> set(effective_caller_id_name=${outbound_caller_id_name}) >> Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action >> set(hangup_after_bridge=true) >> Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action >> bridge(sofia/gateway/vitelity-inbound/14104207777 <tel:14104207777> <tel:14104207777 <tel:14104207777> > ) >> >> BUT >> It does not work for my customer : >> Dialplan: sofia/external/101@fs_alst.bizfocused.com Regex (PASS) >> [ten_or_eleven_digiti_dial] destination_number(1800336940) =~ >> /^1?(\d{10})$/ break=on-false >> Dialplan: sofia/external/101@fs_alst.bizfocused.com Action >> set(ringback=${us-ring}) >> Dialplan: sofia/external/101@fs_alst.bizfocused.com Action >> set(effective_caller_id_number=${outbound_caller_id_number}) >> Dialplan: sofia/external/101@fs_alst.bizfocused.com Action >> set(ani=${outbound_caller_id_number}) >> Dialplan: sofia/external/101@fs_alst.bizfocused.com Action >> set(effective_caller_id_name=${outbound_caller_id_name}) >> Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action >> set(hangup_after_bridge=true) >> Dialplan: sofia/external/101@fs_alst.bizfocused.com Action >> bridge(sofia/gateway/vitelity-inbound/11800336940) NOTE THE EXTRA >> LEADING 1 >> So, what am I missing? >> >> Thanks, >> Sean >> >>
>> 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 >> >> 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
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
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
_________________________________________________________________________ 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
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
_________________________________________________________________________ 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
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
-- Ken http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org irc.freenode.net #freeswitch
THANK YOU TO ALL who pointed out the primary problem - the user dialed too few actual digits, Oh to be young and be able to see well again. Thanks to Avi and Ken for the improved US N.A. regex. CRAP - I went to add it to the WIKI and it's in there on the Regular Expression Page. Thanks everyone. From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Ken Rice Sent: Wednesday, January 09, 2013 4:34 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] xml dialplan - regurlar expression question / Sanity Check! If you are trying to filter NANPA numbers why not use a tighter REGEX like ^(?:+1|1)?([2-9]\d{2}[2-9]\d{6})$ This would leave the base 10 digit number in $1 On 1/9/13 2:00 PM, "DJB International" <djbinter@gmail.com> wrote: 1800336940 is 10-digits; therefore, it will match (\d{10}), which will be $1. $1 = 1800336940 Then, in your bridge you add 1 in front, so it is correct. What behaviors are you looking for in this case? -djbinter On Wed, Jan 9, 2013 at 11:48 AM, Sean Devoy <sdevoy@bizfocused.com> wrote: HI, I really hope this question is not as dumb as some of my recent questions (Anybody else wiped out you O/S lately?)! Anyway, I have an xml dial plan: <extension name="ten_or eleven_digiti_dial" > <condition field="destination_number" expression="^1?(\d{10})$"> <action application="set" data="ringback=${us-ring}"/> <action application="set" data="effective_caller_id_number=${outbound_caller_id_number}"/> <action application="set" data="ani=${outbound_caller_id_number}"/> <action application="set" data="effective_caller_id_name=${outbound_caller_id_name}"/> <action application="set" data="hangup_after_bridge=true"/> <action application="bridge" data="sofia/gateway/vitelity-inbound/1$1"/> </condition> </extension> I thought that would accept either 10 or 11 digit numbers starting with 1 and bridge to the gateway always using 1 plus the 10 digits. In fact in my log I can see: Dialplan: sofia/external/220@fs_bfis.bizfocused.com Regex (PASS) [ten_or eleven_digiti_dial] destination_number(14104207777 <tel:%2814104207777> ) =~ /^1?(\d{10})$/ break=on-false Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(ringback=${us-ring}) Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(effective_caller_id_number=${outbound_caller_id_number}) Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(ani=${outbound_caller_id_number}) Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(effective_caller_id_name=${outbound_caller_id_name}) Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(hangup_after_bridge=true) Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action bridge(sofia/gateway/vitelity-inbound/14104207777 <tel:14104207777> ) BUT It does not work for my customer : Dialplan: sofia/external/101@fs_alst.bizfocused.com Regex (PASS) [ten_or_eleven_digiti_dial] destination_number(1800336940) =~ /^1?(\d{10})$/ break=on-false Dialplan: sofia/external/101@fs_alst.bizfocused.com Action set(ringback=${us-ring}) Dialplan: sofia/external/101@fs_alst.bizfocused.com Action set(effective_caller_id_number=${outbound_caller_id_number}) Dialplan: sofia/external/101@fs_alst.bizfocused.com Action set(ani=${outbound_caller_id_number}) Dialplan: sofia/external/101@fs_alst.bizfocused.com Action set(effective_caller_id_name=${outbound_caller_id_name}) Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(hangup_after_bridge=true) Dialplan: sofia/external/101@fs_alst.bizfocused.com Action bridge(sofia/gateway/vitelity-inbound/11800336940) NOTE THE EXTRA LEADING 1 So, what am I missing? Thanks, Sean _________________________________________________________________________ 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 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 _____ _________________________________________________________________________ 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 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 -- Ken http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org irc.freenode.net #freeswitch
Ha, that was a tricky one! Here's the issue - he dialed: 1-800-336-940 -- that's too few digits! So your optional one made it match anyway. Your matching is too allowing - here's the regex I use: ^(?:1|\+1|001)?([2-9]\d\d[2-9]\d{6})$ That matches [nothing, 1, +1 or 001] prefix for USA. Then, bridge like now to "1$1". btw, if you want a separate match for USA toll-free it's: ^(?:1|\+1|001)? (8(00|55|66|77|88)[2-9]\d{6})$ There's also some good example on this page, the link goes directly to USA: http://wiki.freeswitch.org/wiki/Regular_Expression#NANPA_.2B1NxxNxxXXXX_E.16... -Avi Marcus BestFone On Wed, Jan 9, 2013 at 9:48 PM, Sean Devoy <sdevoy@bizfocused.com> wrote:
HI,****
** **
I really hope this question is not as dumb as some of my recent questions (Anybody else wiped out you O/S lately?)!****
** **
Anyway, I have an xml dial plan:****
<extension name="ten_or eleven_digiti_dial" >****
<condition field="destination_number" expression="^1?(\d{10})$">****
<action application="set" data="ringback=${us-ring}"/>****
<action application="set" data=" effective_caller_id_number=${outbound_caller_id_number}"/>****
<action application="set" data="ani=${outbound_caller_id_number}"/>* ***
<action application="set" data=" effective_caller_id_name=${outbound_caller_id_name}"/>****
<action application="set" data="hangup_after_bridge=true"/>****
<action application="bridge" data=" sofia/gateway/vitelity-inbound/1$1"/>****
</condition>****
</extension>****
** **
I thought that would accept either 10 or 11 digit numbers starting with 1 and bridge to the gateway always using 1 plus the 10 digits.****
** **
In fact in my log I can see:****
Dialplan: sofia/external/220@fs_bfis.bizfocused.com Regex *(PASS)*[ten_or eleven_digiti_dial] destination_number *(14104207777*) =~ /^1?(\d{10})$/ break=on-false****
Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(ringback=${us-ring}) ****
Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(effective_caller_id_number=${outbound_caller_id_number}) ****
Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(ani=${outbound_caller_id_number}) ****
Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(effective_caller_id_name=${outbound_caller_id_name}) ****
Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(hangup_after_bridge=true) ****
Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action bridge* (sofia/gateway/vitelity-inbound/14104207777*)****
** **
*BUT*
It does not work for my customer :****
Dialplan: sofia/external/101@fs_alst.bizfocused.com Regex *(PASS*) [ten_or_eleven_digiti_dial] destination_number(*1800336940*) =~ /^1?(\d{10})$/ break=on-false****
Dialplan: sofia/external/101@fs_alst.bizfocused.com Action set(ringback=${us-ring}) ****
Dialplan: sofia/external/101@fs_alst.bizfocused.com Action set(effective_caller_id_number=${outbound_caller_id_number}) ****
Dialplan: sofia/external/101@fs_alst.bizfocused.com Action set(ani=${outbound_caller_id_number}) ****
Dialplan: sofia/external/101@fs_alst.bizfocused.com Action set(effective_caller_id_name=${outbound_caller_id_name}) ****
Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(hangup_after_bridge=true) ****
Dialplan: sofia/external/101@fs_alst.bizfocused.com Action bridge* (sofia/gateway/vitelity-inbound/11800336940*) NOTE THE EXTRA LEADING 1*** *
** **
So, what am I missing?****
** **
Thanks,****
Sean****
_________________________________________________________________________ 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
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
Hey Avi, Using your regex: ^(?:1|\+1|001)?([2-9]\d\d[2-9]\d{6})$ Doesn't $1 match the stuff in the first set of () and $2 match my needed 10 digits? Thanks, Sean From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Avi Marcus Sent: Wednesday, January 09, 2013 3:02 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] xml dialplan - regurlar expression question / Sanity Check! Ha, that was a tricky one! Here's the issue - he dialed: 1-800-336-940 -- that's too few digits! So your optional one made it match anyway. Your matching is too allowing - here's the regex I use: ^(?:1|\+1|001)?([2-9]\d\d[2-9]\d{6})$ That matches [nothing, 1, +1 or 001] prefix for USA. Then, bridge like now to "1$1". btw, if you want a separate match for USA toll-free it's: ^(?:1|\+1|001)?(8(00|55|66|77|88)[2-9]\d{6})$ There's also some good example on this page, the link goes directly to USA: http://wiki.freeswitch.org/wiki/Regular_Expression#NANPA_.2B1NxxNxxXXXX_E.16 4_Dialstring -Avi Marcus BestFone On Wed, Jan 9, 2013 at 9:48 PM, Sean Devoy <sdevoy@bizfocused.com> wrote: HI, I really hope this question is not as dumb as some of my recent questions (Anybody else wiped out you O/S lately?)! Anyway, I have an xml dial plan: <extension name="ten_or eleven_digiti_dial" > <condition field="destination_number" expression="^1?(\d{10})$"> <action application="set" data="ringback=${us-ring}"/> <action application="set" data="effective_caller_id_number=${outbound_caller_id_number}"/> <action application="set" data="ani=${outbound_caller_id_number}"/> <action application="set" data="effective_caller_id_name=${outbound_caller_id_name}"/> <action application="set" data="hangup_after_bridge=true"/> <action application="bridge" data="sofia/gateway/vitelity-inbound/1$1"/> </condition> </extension> I thought that would accept either 10 or 11 digit numbers starting with 1 and bridge to the gateway always using 1 plus the 10 digits. In fact in my log I can see: Dialplan: sofia/external/220@fs_bfis.bizfocused.com Regex (PASS) [ten_or eleven_digiti_dial] destination_number(14104207777) =~ /^1?(\d{10})$/ break=on-false Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(ringback=${us-ring}) Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(effective_caller_id_number=${outbound_caller_id_number}) Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(ani=${outbound_caller_id_number}) Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(effective_caller_id_name=${outbound_caller_id_name}) Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(hangup_after_bridge=true) Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action bridge(sofia/gateway/vitelity-inbound/14104207777) BUT It does not work for my customer : Dialplan: sofia/external/101@fs_alst.bizfocused.com Regex (PASS) [ten_or_eleven_digiti_dial] destination_number(1800336940) =~ /^1?(\d{10})$/ break=on-false Dialplan: sofia/external/101@fs_alst.bizfocused.com Action set(ringback=${us-ring}) Dialplan: sofia/external/101@fs_alst.bizfocused.com Action set(effective_caller_id_number=${outbound_caller_id_number}) Dialplan: sofia/external/101@fs_alst.bizfocused.com Action set(ani=${outbound_caller_id_number}) Dialplan: sofia/external/101@fs_alst.bizfocused.com Action set(effective_caller_id_name=${outbound_caller_id_name}) Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(hangup_after_bridge=true) Dialplan: sofia/external/101@fs_alst.bizfocused.com Action bridge(sofia/gateway/vitelity-inbound/11800336940) NOTE THE EXTRA LEADING 1 So, what am I missing? Thanks, Sean _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/> FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com <http://www.cudatel.com/> Official FreeSWITCH Sites http://www.freeswitch.org <http://www.freeswitch.org/> http://wiki.freeswitch.org <http://wiki.freeswitch.org/> http://www.cluecon.com <http://www.cluecon.com/> 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 <http://www.freeswitch.org/>
?: means "match but don't save it", for when [] just isn't flexible enough. -Avi On Thu, Jan 10, 2013 at 12:53 AM, Sean Devoy <sdevoy@bizfocused.com> wrote:
Hey Avi,****
** **
Using your regex: ^(?:1|\+1|001)?([2-9]\d\d[2-9]\d{6})$****
Doesn’t $1 match the stuff in the first set of () and $2 match my needed 10 digits?****
** **
Thanks,****
Sean****
** **
*From:* freeswitch-users-bounces@lists.freeswitch.org [mailto: freeswitch-users-bounces@lists.freeswitch.org] *On Behalf Of *Avi Marcus *Sent:* Wednesday, January 09, 2013 3:02 PM
*To:* FreeSWITCH Users Help *Subject:* Re: [Freeswitch-users] xml dialplan - regurlar expression question / Sanity Check!****
** **
Ha, that was a tricky one!****
** **
Here's the issue - he dialed: 1-800-336-940 -- that's too few digits!****
So your optional one made it match anyway.****
** **
Your matching is too allowing - here's the regex I use:****
** **
^(?:1|\+1|001)?([2-9]\d\d[2-9]\d{6})$****
** **
That matches [nothing, 1, +1 or 001] prefix for USA. Then, bridge like now to "1$1".****
** **
btw, if you want a separate match for USA toll-free it's: ^(?:1|\+1|001)?(8(00|55|66|77|88)[2-9]\d{6})$****
** **
There's also some good example on this page, the link goes directly to USA: http://wiki.freeswitch.org/wiki/Regular_Expression#NANPA_.2B1NxxNxxXXXX_E.16... ****
****
-Avi Marcus BestFone****
** **
On Wed, Jan 9, 2013 at 9:48 PM, Sean Devoy <sdevoy@bizfocused.com> wrote:* ***
HI,****
****
I really hope this question is not as dumb as some of my recent questions (Anybody else wiped out you O/S lately?)!****
****
Anyway, I have an xml dial plan:****
<extension name="ten_or eleven_digiti_dial" >****
<condition field="destination_number" expression="^1?(\d{10})$">****
<action application="set" data="ringback=${us-ring}"/>****
<action application="set" data=" effective_caller_id_number=${outbound_caller_id_number}"/>****
<action application="set" data="ani=${outbound_caller_id_number}"/>* ***
<action application="set" data=" effective_caller_id_name=${outbound_caller_id_name}"/>****
<action application="set" data="hangup_after_bridge=true"/>****
<action application="bridge" data=" sofia/gateway/vitelity-inbound/1$1"/>****
</condition>****
</extension>****
****
I thought that would accept either 10 or 11 digit numbers starting with 1 and bridge to the gateway always using 1 plus the 10 digits.****
****
In fact in my log I can see:****
Dialplan: sofia/external/220@fs_bfis.bizfocused.com Regex *(PASS)*[ten_or eleven_digiti_dial] destination_number *(14104207777*) =~ /^1?(\d{10})$/ break=on-false****
Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(ringback=${us-ring}) ****
Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(effective_caller_id_number=${outbound_caller_id_number}) ****
Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(ani=${outbound_caller_id_number}) ****
Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(effective_caller_id_name=${outbound_caller_id_name}) ****
Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(hangup_after_bridge=true) ****
Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action bridge* (sofia/gateway/vitelity-inbound/14104207777*)****
****
*BUT*****
It does not work for my customer :****
Dialplan: sofia/external/101@fs_alst.bizfocused.com Regex *(PASS*) [ten_or_eleven_digiti_dial] destination_number(*1800336940*) =~ /^1?(\d{10})$/ break=on-false****
Dialplan: sofia/external/101@fs_alst.bizfocused.com Action set(ringback=${us-ring}) ****
Dialplan: sofia/external/101@fs_alst.bizfocused.com Action set(effective_caller_id_number=${outbound_caller_id_number}) ****
Dialplan: sofia/external/101@fs_alst.bizfocused.com Action set(ani=${outbound_caller_id_number}) ****
Dialplan: sofia/external/101@fs_alst.bizfocused.com Action set(effective_caller_id_name=${outbound_caller_id_name}) ****
Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(hangup_after_bridge=true) ****
Dialplan: sofia/external/101@fs_alst.bizfocused.com Action bridge* (sofia/gateway/vitelity-inbound/11800336940*) NOTE THE EXTRA LEADING 1*** *
****
So, what am I missing?****
****
Thanks,****
Sean****
_________________________________________________________________________ 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
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****
** **
_________________________________________________________________________ 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
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
Sorry, disregard my question about $1 vs $2 - I re-read the wiki. From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Avi Marcus Sent: Wednesday, January 09, 2013 3:02 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] xml dialplan - regurlar expression question / Sanity Check! Ha, that was a tricky one! Here's the issue - he dialed: 1-800-336-940 -- that's too few digits! So your optional one made it match anyway. Your matching is too allowing - here's the regex I use: ^(?:1|\+1|001)?([2-9]\d\d[2-9]\d{6})$ That matches [nothing, 1, +1 or 001] prefix for USA. Then, bridge like now to "1$1". btw, if you want a separate match for USA toll-free it's: ^(?:1|\+1|001)?(8(00|55|66|77|88)[2-9]\d{6})$ There's also some good example on this page, the link goes directly to USA: http://wiki.freeswitch.org/wiki/Regular_Expression#NANPA_.2B1NxxNxxXXXX_E.16 4_Dialstring -Avi Marcus BestFone On Wed, Jan 9, 2013 at 9:48 PM, Sean Devoy <sdevoy@bizfocused.com> wrote: HI, I really hope this question is not as dumb as some of my recent questions (Anybody else wiped out you O/S lately?)! Anyway, I have an xml dial plan: <extension name="ten_or eleven_digiti_dial" > <condition field="destination_number" expression="^1?(\d{10})$"> <action application="set" data="ringback=${us-ring}"/> <action application="set" data="effective_caller_id_number=${outbound_caller_id_number}"/> <action application="set" data="ani=${outbound_caller_id_number}"/> <action application="set" data="effective_caller_id_name=${outbound_caller_id_name}"/> <action application="set" data="hangup_after_bridge=true"/> <action application="bridge" data="sofia/gateway/vitelity-inbound/1$1"/> </condition> </extension> I thought that would accept either 10 or 11 digit numbers starting with 1 and bridge to the gateway always using 1 plus the 10 digits. In fact in my log I can see: Dialplan: sofia/external/220@fs_bfis.bizfocused.com Regex (PASS) [ten_or eleven_digiti_dial] destination_number(14104207777) =~ /^1?(\d{10})$/ break=on-false Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(ringback=${us-ring}) Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(effective_caller_id_number=${outbound_caller_id_number}) Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(ani=${outbound_caller_id_number}) Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(effective_caller_id_name=${outbound_caller_id_name}) Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(hangup_after_bridge=true) Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action bridge(sofia/gateway/vitelity-inbound/14104207777) BUT It does not work for my customer : Dialplan: sofia/external/101@fs_alst.bizfocused.com Regex (PASS) [ten_or_eleven_digiti_dial] destination_number(1800336940) =~ /^1?(\d{10})$/ break=on-false Dialplan: sofia/external/101@fs_alst.bizfocused.com Action set(ringback=${us-ring}) Dialplan: sofia/external/101@fs_alst.bizfocused.com Action set(effective_caller_id_number=${outbound_caller_id_number}) Dialplan: sofia/external/101@fs_alst.bizfocused.com Action set(ani=${outbound_caller_id_number}) Dialplan: sofia/external/101@fs_alst.bizfocused.com Action set(effective_caller_id_name=${outbound_caller_id_name}) Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(hangup_after_bridge=true) Dialplan: sofia/external/101@fs_alst.bizfocused.com Action bridge(sofia/gateway/vitelity-inbound/11800336940) NOTE THE EXTRA LEADING 1 So, what am I missing? Thanks, Sean _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/> FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com <http://www.cudatel.com/> Official FreeSWITCH Sites http://www.freeswitch.org <http://www.freeswitch.org/> http://wiki.freeswitch.org <http://wiki.freeswitch.org/> http://www.cluecon.com <http://www.cluecon.com/> 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 <http://www.freeswitch.org/>
Your customer dialed a 10 digit number, which was then converted to 11 by adding the 1. If you count the digits in the original dialed number, you will notice it's not a complete number. On Wed, Jan 9, 2013 at 2:48 PM, Sean Devoy <sdevoy@bizfocused.com> wrote:
HI,****
** **
I really hope this question is not as dumb as some of my recent questions (Anybody else wiped out you O/S lately?)!****
** **
Anyway, I have an xml dial plan:****
<extension name="ten_or eleven_digiti_dial" >****
<condition field="destination_number" expression="^1?(\d{10})$">****
<action application="set" data="ringback=${us-ring}"/>****
<action application="set" data=" effective_caller_id_number=${outbound_caller_id_number}"/>****
<action application="set" data="ani=${outbound_caller_id_number}"/>* ***
<action application="set" data=" effective_caller_id_name=${outbound_caller_id_name}"/>****
<action application="set" data="hangup_after_bridge=true"/>****
<action application="bridge" data=" sofia/gateway/vitelity-inbound/1$1"/>****
</condition>****
</extension>****
** **
I thought that would accept either 10 or 11 digit numbers starting with 1 and bridge to the gateway always using 1 plus the 10 digits.****
** **
In fact in my log I can see:****
Dialplan: sofia/external/220@fs_bfis.bizfocused.com Regex *(PASS)*[ten_or eleven_digiti_dial] destination_number *(14104207777*) =~ /^1?(\d{10})$/ break=on-false****
Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(ringback=${us-ring}) ****
Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(effective_caller_id_number=${outbound_caller_id_number}) ****
Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(ani=${outbound_caller_id_number}) ****
Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(effective_caller_id_name=${outbound_caller_id_name}) ****
Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(hangup_after_bridge=true) ****
Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action bridge* (sofia/gateway/vitelity-inbound/14104207777*)****
** **
*BUT*
It does not work for my customer :****
Dialplan: sofia/external/101@fs_alst.bizfocused.com Regex *(PASS*) [ten_or_eleven_digiti_dial] destination_number(*1800336940*) =~ /^1?(\d{10})$/ break=on-false****
Dialplan: sofia/external/101@fs_alst.bizfocused.com Action set(ringback=${us-ring}) ****
Dialplan: sofia/external/101@fs_alst.bizfocused.com Action set(effective_caller_id_number=${outbound_caller_id_number}) ****
Dialplan: sofia/external/101@fs_alst.bizfocused.com Action set(ani=${outbound_caller_id_number}) ****
Dialplan: sofia/external/101@fs_alst.bizfocused.com Action set(effective_caller_id_name=${outbound_caller_id_name}) ****
Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(hangup_after_bridge=true) ****
Dialplan: sofia/external/101@fs_alst.bizfocused.com Action bridge* (sofia/gateway/vitelity-inbound/11800336940*) NOTE THE EXTRA LEADING 1*** *
** **
So, what am I missing?****
** **
Thanks,****
Sean****
_________________________________________________________________________ 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
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
Thats because the 1800 you are showing has 10 digits, not 11. So the regex will keep the whole number even if it starts with a 1 because \d{10} condition is met. De : freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] De la part de Sean Devoy Envoyé : 9 janvier 2013 14:48 À : FreeSWITCH-users@lists.freeswitch.org Objet : [Freeswitch-users] xml dialplan - regurlar expression question / Sanity Check! HI, I really hope this question is not as dumb as some of my recent questions (Anybody else wiped out you O/S lately?)! Anyway, I have an xml dial plan: <extension name="ten_or eleven_digiti_dial" > <condition field="destination_number" expression="^1?(\d{10})$"> <action application="set" data="ringback=${us-ring}"/> <action application="set" data="effective_caller_id_number=${outbound_caller_id_number}"/> <action application="set" data="ani=${outbound_caller_id_number}"/> <action application="set" data="effective_caller_id_name=${outbound_caller_id_name}"/> <action application="set" data="hangup_after_bridge=true"/> <action application="bridge" data="sofia/gateway/vitelity-inbound/1$1"/> </condition> </extension> I thought that would accept either 10 or 11 digit numbers starting with 1 and bridge to the gateway always using 1 plus the 10 digits. In fact in my log I can see: Dialplan: sofia/external/220@fs_bfis.bizfocused.com Regex (PASS) [ten_or eleven_digiti_dial] destination_number(14104207777) =~ /^1?(\d{10})$/ break=on-false Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(ringback=${us-ring}) Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(effective_caller_id_number=${outbound_caller_id_number}) Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(ani=${outbound_caller_id_number}) Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(effective_caller_id_name=${outbound_caller_id_name}) Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(hangup_after_bridge=true) Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action bridge(sofia/gateway/vitelity-inbound/14104207777) BUT It does not work for my customer : Dialplan: sofia/external/101@fs_alst.bizfocused.com Regex (PASS) [ten_or_eleven_digiti_dial] destination_number(1800336940) =~ /^1?(\d{10})$/ break=on-false Dialplan: sofia/external/101@fs_alst.bizfocused.com Action set(ringback=${us-ring}) Dialplan: sofia/external/101@fs_alst.bizfocused.com Action set(effective_caller_id_number=${outbound_caller_id_number}) Dialplan: sofia/external/101@fs_alst.bizfocused.com Action set(ani=${outbound_caller_id_number}) Dialplan: sofia/external/101@fs_alst.bizfocused.com Action set(effective_caller_id_name=${outbound_caller_id_name}) Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(hangup_after_bridge=true) Dialplan: sofia/external/101@fs_alst.bizfocused.com Action bridge(sofia/gateway/vitelity-inbound/11800336940) NOTE THE EXTRA LEADING 1 So, what am I missing? Thanks, Sean
Sean, Your customer's destination number is one digit short. That's why it matches "1800336940" as \d{10} and prepends another "1" -Victor On 13-01-09 02:48 PM, Sean Devoy wrote:
HI,
I really hope this question is not as dumb as some of my recent questions (Anybody else wiped out you O/S lately?)!
Anyway, I have an xml dial plan:
<extensionname="ten_or eleven_digiti_dial">
<conditionfield="destination_number"expression="^1?(\d{10})$">
<actionapplication="set"data="ringback=${us-ring}"/>
<actionapplication="set"data="effective_caller_id_number=${outbound_caller_id_number}"/>
<actionapplication="set"data="ani=${outbound_caller_id_number}"/>
<actionapplication="set"data="effective_caller_id_name=${outbound_caller_id_name}"/>
<actionapplication="set"data="hangup_after_bridge=true"/>
<actionapplication="bridge"data="sofia/gateway/vitelity-inbound/1$1"/>
</condition>
</extension>
I thought that would accept either 10 or 11 digit numbers starting with 1 and bridge to the gateway always using 1 plus the 10 digits.
In fact in my log I can see:
Dialplan: sofia/external/220@fs_bfis.bizfocused.com Regex *(PASS)* [ten_or eleven_digiti_dial] destination_number*(14104207777*) =~ /^1?(\d{10})$/ break=on-false
Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(ringback=${us-ring})
Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(effective_caller_id_number=${outbound_caller_id_number})
Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(ani=${outbound_caller_id_number})
Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(effective_caller_id_name=${outbound_caller_id_name})
Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(hangup_after_bridge=true)
Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action bridge*(sofia/gateway/vitelity-inbound/14104207777*)
*BUT*
It does not work for my customer :
Dialplan: sofia/external/101@fs_alst.bizfocused.com Regex *(PASS*) [ten_or_eleven_digiti_dial] destination_number(*1800336940*) =~ /^1?(\d{10})$/ break=on-false
Dialplan: sofia/external/101@fs_alst.bizfocused.com Action set(ringback=${us-ring})
Dialplan: sofia/external/101@fs_alst.bizfocused.com Action set(effective_caller_id_number=${outbound_caller_id_number})
Dialplan: sofia/external/101@fs_alst.bizfocused.com Action set(ani=${outbound_caller_id_number})
Dialplan: sofia/external/101@fs_alst.bizfocused.com Action set(effective_caller_id_name=${outbound_caller_id_name})
Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(hangup_after_bridge=true)
Dialplan: sofia/external/101@fs_alst.bizfocused.com Action bridge*(sofia/gateway/vitelity-inbound/11800336940*) NOTE THE EXTRA LEADING 1
So, what am I missing?
Thanks,
Sean
_________________________________________________________________________ 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
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
They're dialing 10 digits including the 1. '1' plus 10 digits can't match, it's not long enough, So the regex instead ignores the optional '1' and tries to match just \d{10}, which does match since that allows the first digit to be a 1. If you want to handle '1' plus 9 digits differently, then your regex will need tweaking. On 9 January 2013 19:48, Sean Devoy <sdevoy@bizfocused.com> wrote:
HI,
I really hope this question is not as dumb as some of my recent questions (Anybody else wiped out you O/S lately?)!
Anyway, I have an xml dial plan:
<extension name="ten_or eleven_digiti_dial" >
<condition field="destination_number" expression="^1?(\d{10})$">
<action application="set" data="ringback=${us-ring}"/>
<action application="set" data="effective_caller_id_number=${outbound_caller_id_number}"/>
<action application="set" data="ani=${outbound_caller_id_number}"/>
<action application="set" data="effective_caller_id_name=${outbound_caller_id_name}"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="bridge" data="sofia/gateway/vitelity-inbound/1$1"/>
</condition>
</extension>
I thought that would accept either 10 or 11 digit numbers starting with 1 and bridge to the gateway always using 1 plus the 10 digits.
In fact in my log I can see:
Dialplan: sofia/external/220@fs_bfis.bizfocused.com Regex (PASS) [ten_or eleven_digiti_dial] destination_number(14104207777) =~ /^1?(\d{10})$/ break=on-false
Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(ringback=${us-ring})
Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(effective_caller_id_number=${outbound_caller_id_number})
Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(ani=${outbound_caller_id_number})
Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(effective_caller_id_name=${outbound_caller_id_name})
Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(hangup_after_bridge=true)
Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action bridge(sofia/gateway/vitelity-inbound/14104207777)
BUT
It does not work for my customer :
Dialplan: sofia/external/101@fs_alst.bizfocused.com Regex (PASS) [ten_or_eleven_digiti_dial] destination_number(1800336940) =~ /^1?(\d{10})$/ break=on-false
Dialplan: sofia/external/101@fs_alst.bizfocused.com Action set(ringback=${us-ring})
Dialplan: sofia/external/101@fs_alst.bizfocused.com Action set(effective_caller_id_number=${outbound_caller_id_number})
Dialplan: sofia/external/101@fs_alst.bizfocused.com Action set(ani=${outbound_caller_id_number})
Dialplan: sofia/external/101@fs_alst.bizfocused.com Action set(effective_caller_id_name=${outbound_caller_id_name})
Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(hangup_after_bridge=true)
Dialplan: sofia/external/101@fs_alst.bizfocused.com Action bridge(sofia/gateway/vitelity-inbound/11800336940) NOTE THE EXTRA LEADING 1
So, what am I missing?
Thanks,
Sean
_________________________________________________________________________ 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
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
We have two different regex's/dialplans to handle this issue. One that matches 10 digits and one that matches 11. I think freeswitch example configs cover this. Sent from my iPhone On Jan 9, 2013, at 3:36 PM, Steven Ayre <steveayre@gmail.com> wrote:
They're dialing 10 digits including the 1.
'1' plus 10 digits can't match, it's not long enough,
So the regex instead ignores the optional '1' and tries to match just \d{10}, which does match since that allows the first digit to be a 1.
If you want to handle '1' plus 9 digits differently, then your regex will need tweaking.
On 9 January 2013 19:48, Sean Devoy <sdevoy@bizfocused.com> wrote:
HI,
I really hope this question is not as dumb as some of my recent questions (Anybody else wiped out you O/S lately?)!
Anyway, I have an xml dial plan:
<extension name="ten_or eleven_digiti_dial" >
<condition field="destination_number" expression="^1?(\d{10})$">
<action application="set" data="ringback=${us-ring}"/>
<action application="set" data="effective_caller_id_number=${outbound_caller_id_number}"/>
<action application="set" data="ani=${outbound_caller_id_number}"/>
<action application="set" data="effective_caller_id_name=${outbound_caller_id_name}"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="bridge" data="sofia/gateway/vitelity-inbound/1$1"/>
</condition>
</extension>
I thought that would accept either 10 or 11 digit numbers starting with 1 and bridge to the gateway always using 1 plus the 10 digits.
In fact in my log I can see:
Dialplan: sofia/external/220@fs_bfis.bizfocused.com Regex (PASS) [ten_or eleven_digiti_dial] destination_number(14104207777) =~ /^1?(\d{10})$/ break=on-false
Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(ringback=${us-ring})
Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(effective_caller_id_number=${outbound_caller_id_number})
Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(ani=${outbound_caller_id_number})
Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(effective_caller_id_name=${outbound_caller_id_name})
Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(hangup_after_bridge=true)
Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action bridge(sofia/gateway/vitelity-inbound/14104207777)
BUT
It does not work for my customer :
Dialplan: sofia/external/101@fs_alst.bizfocused.com Regex (PASS) [ten_or_eleven_digiti_dial] destination_number(1800336940) =~ /^1?(\d{10})$/ break=on-false
Dialplan: sofia/external/101@fs_alst.bizfocused.com Action set(ringback=${us-ring})
Dialplan: sofia/external/101@fs_alst.bizfocused.com Action set(effective_caller_id_number=${outbound_caller_id_number})
Dialplan: sofia/external/101@fs_alst.bizfocused.com Action set(ani=${outbound_caller_id_number})
Dialplan: sofia/external/101@fs_alst.bizfocused.com Action set(effective_caller_id_name=${outbound_caller_id_name})
Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(hangup_after_bridge=true)
Dialplan: sofia/external/101@fs_alst.bizfocused.com Action bridge(sofia/gateway/vitelity-inbound/11800336940) NOTE THE EXTRA LEADING 1
So, what am I missing?
Thanks,
Sean
_________________________________________________________________________ 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
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
_________________________________________________________________________ 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
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
@Brian that unnecessarily complicates things, if you check my previous email you can easily do it in one extension. -Avi Marcus BestFone On Wed, Jan 9, 2013 at 10:53 PM, Brian Foster <bdfoster@endigotech.com>wrote:
We have two different regex's/dialplans to handle this issue. One that matches 10 digits and one that matches 11. I think freeswitch example configs cover this.
Sent from my iPhone
On Jan 9, 2013, at 3:36 PM, Steven Ayre <steveayre@gmail.com> wrote:
They're dialing 10 digits including the 1.
'1' plus 10 digits can't match, it's not long enough,
So the regex instead ignores the optional '1' and tries to match just \d{10}, which does match since that allows the first digit to be a 1.
If you want to handle '1' plus 9 digits differently, then your regex will need tweaking.
On 9 January 2013 19:48, Sean Devoy <sdevoy@bizfocused.com> wrote:
HI,
I really hope this question is not as dumb as some of my recent questions (Anybody else wiped out you O/S lately?)!
Anyway, I have an xml dial plan:
<extension name="ten_or eleven_digiti_dial" >
<condition field="destination_number" expression="^1?(\d{10})$">
<action application="set" data="ringback=${us-ring}"/>
<action application="set" data="effective_caller_id_number=${outbound_caller_id_number}"/>
<action application="set" data="ani=${outbound_caller_id_number}"/>
<action application="set" data="effective_caller_id_name=${outbound_caller_id_name}"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="bridge" data="sofia/gateway/vitelity-inbound/1$1"/>
</condition>
</extension>
I thought that would accept either 10 or 11 digit numbers starting with 1 and bridge to the gateway always using 1 plus the 10 digits.
In fact in my log I can see:
Dialplan: sofia/external/220@fs_bfis.bizfocused.com Regex (PASS) [ten_or eleven_digiti_dial] destination_number(14104207777) =~ /^1?(\d{10})$/ break=on-false
Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(ringback=${us-ring})
Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(effective_caller_id_number=${outbound_caller_id_number})
Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(ani=${outbound_caller_id_number})
Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(effective_caller_id_name=${outbound_caller_id_name})
Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(hangup_after_bridge=true)
Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action bridge(sofia/gateway/vitelity-inbound/14104207777)
BUT
It does not work for my customer :
Dialplan: sofia/external/101@fs_alst.bizfocused.com Regex (PASS) [ten_or_eleven_digiti_dial] destination_number(1800336940) =~ /^1?(\d{10})$/ break=on-false
Dialplan: sofia/external/101@fs_alst.bizfocused.com Action set(ringback=${us-ring})
Dialplan: sofia/external/101@fs_alst.bizfocused.com Action set(effective_caller_id_number=${outbound_caller_id_number})
Dialplan: sofia/external/101@fs_alst.bizfocused.com Action set(ani=${outbound_caller_id_number})
Dialplan: sofia/external/101@fs_alst.bizfocused.com Action set(effective_caller_id_name=${outbound_caller_id_name})
Dialplan: sofia/external/220@fs_bfis.bizfocused.com Action set(hangup_after_bridge=true)
Dialplan: sofia/external/101@fs_alst.bizfocused.com Action bridge(sofia/gateway/vitelity-inbound/11800336940) NOTE THE EXTRA LEADING 1
So, what am I missing?
Thanks,
Sean
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
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
_________________________________________________________________________ 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
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
_________________________________________________________________________ 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
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 (12)
-
Avi Marcus
-
Benoit Raymond
-
Brian Foster
-
Carlos Flor
-
DJB International
-
João Mesquita
-
Ken Rice
-
Michael Collins
-
Sean Devoy
-
Sergey Okhapkin
-
Steven Ayre
-
Victor Chukalovskiy