Brekeke Forum Index » Brekeke PBX Forum

Post new topic   Reply to topic
Matching patterns (ARS)
Author Message
damatta
Brekeke Master Guru


Joined: 07 Oct 2005
Posts: 227
Location: Brazil

PostPosted: Sat Aug 09, 2008 3:29 am    Post subject: Matching patterns (ARS) Reply with quote

Need to configure 'To:' field with a dialing plan like this: 0 [1-9] [1-9] [6-9] xxxxxx. Means: 1st digit always ZERO, second and third digits could be from 1 to 9, fourth digit from 6 to 9. Rest of digits, anything from 0 to 9. Any help will be deeply apreciated. Thanks in advance.
Back to top
View user's profile Yahoo Messenger MSN Messenger
hope
Brekeke Master Guru


Joined: 15 Jan 2008
Posts: 862

PostPosted: Mon Aug 11, 2008 10:08 am    Post subject: Reply with quote

like
To=sip:0([1-9]{2})([6-9])(.+)@
Back to top
View user's profile
damatta
Brekeke Master Guru


Joined: 07 Oct 2005
Posts: 227
Location: Brazil

PostPosted: Wed Aug 13, 2008 3:19 pm    Post subject: Reply with quote

I am using a Deploy Pattern like this:

sip:0$1@sip.proxy.net

and just the first 3 dialed digits are being sent.
Back to top
View user's profile Yahoo Messenger MSN Messenger
hope
Brekeke Master Guru


Joined: 15 Jan 2008
Posts: 862

PostPosted: Wed Aug 13, 2008 4:19 pm    Post subject: Reply with quote

try
Matching Patterns
To = sip:0([1-9]{2})([6-9])(.+)@
Deploy Patterns
To = sip:0$1$2$3@sip.proxy.net
Back to top
View user's profile
damatta
Brekeke Master Guru


Joined: 07 Oct 2005
Posts: 227
Location: Brazil

PostPosted: Thu Aug 14, 2008 3:18 am    Post subject: Reply with quote

Fine now. Thanks Very Happy
Back to top
View user's profile Yahoo Messenger MSN Messenger
damatta
Brekeke Master Guru


Joined: 07 Oct 2005
Posts: 227
Location: Brazil

PostPosted: Thu Jan 15, 2009 4:48 am    Post subject: Reply with quote

How can I translate above ARS to a BSS Dial Plan?
Back to top
View user's profile Yahoo Messenger MSN Messenger
janP
Brekeke Master Guru


Joined: 25 Nov 2007
Posts: 336

PostPosted: Thu Jan 15, 2009 11:08 am    Post subject: Reply with quote

ARS is better than DialPlan. so You don't have to use the DialPlan...
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    Brekeke Forum Index » Brekeke PBX Forum All times are GMT - 7 Hours
Page 1 of 1