Hello,
Im a brekeke newbie, and just purchased a license. I have the demo running, connected to a SIP provider, with 10 extensions all running OK. My question relates to the matching patterns section for outgoing calls for my SIP provider in ARS.
The To field is currently as follows: sip:9(.+)@
Outbound calls work fine if I prefix all numbers with a 9, however I do not want a number prefix. If I remove the 9 in the pattern, the problem is solved, however I can then no longer receive calls to extensions, I guess because this pattern captures all calls or something?
Basically all calls to numbers starting with 199 are an extension, and anything else should go out via the SIP provider, or the relevant SIP provider (I have multiple) depending on the first few digits of the phone number.
Not knowing Regex, a pointer in the right direction should get me on my way.
Thanks.
Help with ARS matching patterns
Moderator: Brekeke Support Team
need advise
I'm using BREKE PBX software and have installed the trial version 2.4.7.3.
My Quintum AFT400 gateway is located in Sri Lanka
Currently,my PAP2-PAP2 PBX server is running perfectly.
Also I have registered my Quintum AFT400 as PBX user.
However,when a call is orginated from PAP2, call is not being connected to Quintum and is giving a busy tone.
Can you please advise me on how to give ARS settings abd dial plan for quintum on this regard?
Thanks & Regards,
Tissa
My Quintum AFT400 gateway is located in Sri Lanka
Currently,my PAP2-PAP2 PBX server is running perfectly.
Also I have registered my Quintum AFT400 as PBX user.
However,when a call is orginated from PAP2, call is not being connected to Quintum and is giving a busy tone.
Can you please advise me on how to give ARS settings abd dial plan for quintum on this regard?
Thanks & Regards,
Tissa
-
- Posts: 107
- Joined: Wed Mar 04, 2009 12:57 pm
- Location: Medellin,Colombia
Hi:
When you remove the digit 9 from sp:9(.+), is telling tp Pbx that all the calls be drve to to To argument you have configured at Deploy Patterns, that must be the SIP Provider address.
If you want no use any prefix, you must to configure several OUT ARS rules as:
Matching patterns Deploy Patterns
to:sip: 2(.+)@ To:sip:2$1@SIP_Provider_Address
To:sip:3(.+)@ To:sip:3$1@SIP_Provider_Address
And so on
The expresion 2$1 means that the called number must contain the number 2 plus the value into (.+)
Note that the 1(.+)@ is not present because is 1xx is the serie for internal extensions
I hope it help
Juan Acevedo
When you remove the digit 9 from sp:9(.+), is telling tp Pbx that all the calls be drve to to To argument you have configured at Deploy Patterns, that must be the SIP Provider address.
If you want no use any prefix, you must to configure several OUT ARS rules as:
Matching patterns Deploy Patterns
to:sip: 2(.+)@ To:sip:2$1@SIP_Provider_Address
To:sip:3(.+)@ To:sip:3$1@SIP_Provider_Address
And so on
The expresion 2$1 means that the called number must contain the number 2 plus the value into (.+)
Note that the 1(.+)@ is not present because is 1xx is the serie for internal extensions
I hope it help
Juan Acevedo