Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Sat Apr 27, 2024 3:40 pm
Auto Dialer Software


All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: DIALPREFIX syntax
PostPosted: Thu Apr 28, 2011 7:55 am 
Offline

Joined: Sun Nov 07, 2010 10:00 pm
Posts: 253
Hello,
according to the documentation...
Quote:
Asterisk extensions style + POSIX regex syntaxes are supported. '_447[7-9]XXXXXXXX' matches 12-digit UK mobiles. '_X{0,3}(112|999|911)' matches any 0-3 digits followed an emergency number. '_' can be used to add length, and raise the priority.


So I wanted to map calls to Spanish landlines, ie. to a specific trunk, where spanish landlines are 349ZX, to avoid to drive calls to spanish national tools which is 349XZ, which I have to map to other rate card.

So in dialprefix, using the asterisk posix syntax, i wrote

Quote:
DIALPREFIX =349[1-9]


But in simulator it's not working.
when I change it using '_' to raise priority as:
Quote:
_349[1-9]XXXXXXX

It's also not giving any answer, don't work

Can anybody explain me, please, or give me an example who can I solve this scenario which is as i said:
Spanish landlines 349Z. and national tools 349X. So I need to setup the dialprefix to send to different rate cards. No priority need, in reality, because there syntax are different, so asterisk will not confuse to set priorities.


Thanks in advance,


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 
Predictive Dialer


All times are UTC


Who is online

Users browsing this forum: No registered users and 49 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group