[Spce-user] Local numbers being matched to international

Gavin Sweet gavin.sweet at skyracktelecom.com
Wed Oct 16 07:27:55 EDT 2013


Hi - 

You probably want a regex maybe, something like ^01139.*

Or if you have a specific digit pattern/length . then ^01139[0-9].{7}$

^ and $ can let you match from start or to end.

Cheers

Gavin

 

 

From: spce-user-bounces at lists.sipwise.com
[mailto:spce-user-bounces at lists.sipwise.com] On Behalf Of Nigel Johnson
Sent: 15 October 2013 23:07
To: spce-user at lists.sipwise.com
Subject: [Spce-user] Local numbers being matched to international

 

Hello, 

 

I have the following billing entry that is billing local numbers because it
is matching the back of the number, can anyone point out to me the error
with the entry ?  The intention is to only match international numbers
starting with 01139 .

 

example :

17329171139

 

is matching this enty.

 


source

destination

direction

zone

zone_detail

onpeak_init_rate

onpeak_init_interval

onpeak_follow_rate

onpeak_follow_interval

offpeak_init_rate

offpeak_init_interval

offpeak_follow_rate

offpeak_follow_interval

use_free_time


.

1139

out

ITALY - PROPER

ITALY - PROPER

0

1

0.026875

60

0

1

0.026875

60

0

  _____  

No virus found in this message.
Checked by AVG - www.avg.com
Version: 2014.0.4158 / Virus Database: 3614/6752 - Release Date: 10/15/13

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20131016/caf62b46/attachment-0001.html>


More information about the Spce-user mailing list