You guys are making this morecomplicated than it needs to be.
Set your context to dialout do this:
[dialout]
include = blocked
include = notblocked
[blocked]
exten = _003763.,1,Congestionexten = _003764.,1,Congestionexten = _003765.,1,Congestion
[notblocked]
exten = _00376.,1,Dial(my iax
Hi List,
I need a bit of advice please. I want to ban calls to expensive
destinations such as cell phones.
This is fairly simple here in the UK because all cell phone numbers
begin with a 7 where as all geographic numbers begin 1 and 2
Elsewhere this is different, take Andorra
Insert your patterns in a database, have a field called expensive, and query your database before making a call!On 8/1/06, Chris Blunt
[EMAIL PROTECTED] wrote:
Hi List,
I need a bit of advice please. I want to ban calls to expensive
destinations such as cell phones.
This is
Ciao Chris,
So if I try the following dial plan my pattern always matches the
first wild card
Exten = _00376.,1,Dial(my iax terminiator)
Exten = _003763.,1,Congestion
Exten = _003764.,1,Congestion
Exten = _003765.,1,Congestion
This is a common pitfall in Asterisk dialplans: Asterisk