dial plan issues in vocal 1.4

"Adil Laari" <[email protected]> Mon, 2 May 2005 13:17:51 -0600
Newsgroups gmane.comp.lib.vovida.vocal
Message-ID <[email protected]>
Hello,

I have some problems getting some routes to work properly in vocal.

this is what I am trying to do:
Route#1:
key:    ^sip:9(.{7})         contact:    sip:$1@IP1_Addr:port;user=phone
this will take any 9+7digit call, delete the 9 and send the call to
IP1_Addr.

Route#2:
And I have another key/contact as follow:
key:    ^sip:[2-9][0-9][0-9][0-9][0-9][0-9][0-9]     contact:
sip:$USER@IP2_Addr:port;user=phone
this will send any 7 digit calls to IP2_Addr.

The issue is:
When a user dials a 7digit phone number starting with 9 (e.g. 9997777)
Route#1 overrides Route#2 even though a user dials only and only 7 digits.
If I do switch back the index between Route#1 and Route#2. Route#2 starts to
overrides Route#1.

If you guys have any ideas why this problem is happening, please reply. I
really appreciate it.

_______________________________________________
vocal mailing list
[email protected]
To unsubscribe, please go to http://www.vovida.org/mailman/listinfo/vocal