Title: Message
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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

_______________________________________________
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to