[Asterisk-Users] Astcc Charging \ Matching Pattern Problem
Rusty Shackleford
john97 at flatline.com
Tue Aug 2 21:17:13 MST 2005
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Ade Agbero
Sent: Tuesday, August 02, 2005 2:32 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [Asterisk-Users] Astcc Charging \ Matching Pattern Problem
Astcc applies a charge for Czech Republic - Mobile Code - 4207 to a call
destined for UK Landline 44207.
It appears Astcc uses the first matching pattern of 4207 it finds in the
routes table instead of continuing to search through the routes table
until it comes to 44207 for UK.
Any ideas on how to resolve this problem.
Remember, ASTCC is evaluationg the number string as a regular
expression. Without the ^ character prepended to the string, you'll get
a match on that route no matter where that routes number string might
exist in the dial string. ^4207 means "match only those strings that
START with 4207", whereas 4207 means "Match any string that has 4207
anywhere in the string."
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.9.8/61 - Release Date: 08/01/2005
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050802/81c8585c/attachment.htm
More information about the asterisk-users
mailing list