Need Deployment Pattern - Route Calls to Registered Users
Moderator: Brekeke Support Team
-
- Posts: 5
- Joined: Wed Sep 18, 2019 12:54 pm
- Location: Livermore, CA
Need Deployment Pattern - Route Calls to Registered Users
1. Brekeke Product Name and Version:
3.9.2.7
2. Java version:
3. OS type and the version:
Window 10
4. UA (phone), gateway or other hardware/software involved:
Yealink SIP Phones
5. Your problem:
I have a connection to another specialized Telephony server that needs to route calls from that server to registered Yealink phones.
I create a Dial Plan rule to recognize the pattern of calls - 9916xxxx - and that Matching Pattern is working. I need to understand how to configure the Deployment Pattern that will look at the (16xxxxx) and route the call to the registered phone with that same pattern as the user name.
3.9.2.7
2. Java version:
3. OS type and the version:
Window 10
4. UA (phone), gateway or other hardware/software involved:
Yealink SIP Phones
5. Your problem:
I have a connection to another specialized Telephony server that needs to route calls from that server to registered Yealink phones.
I create a Dial Plan rule to recognize the pattern of calls - 9916xxxx - and that Matching Pattern is working. I need to understand how to configure the Deployment Pattern that will look at the (16xxxxx) and route the call to the registered phone with that same pattern as the user name.
Terry Blanchard
-
- Posts: 5
- Joined: Wed Sep 18, 2019 12:54 pm
- Location: Livermore, CA
$request=^INVITE
To=sip:(99(16.+)@xxx.xx.xxx.xx
Our user name and number is going to be a 5 digit number - e.g., 16000 to 16999 which is also a registered user name in the SIP server.
I want to strip out the digits from the To (e.g., 16998) and use that to route to a registered user phone URI.
To=sip:(99(16.+)@xxx.xx.xxx.xx
Our user name and number is going to be a 5 digit number - e.g., 16000 to 16999 which is also a registered user name in the SIP server.
I want to strip out the digits from the To (e.g., 16998) and use that to route to a registered user phone URI.
Terry Blanchard
Is "99" a prefix of the dialed number?
If you have ( ) in the Matching pattern, you can refer the matched value with %1 in the Deploy Pattern
For example:
[Matching Pattern]
$request=^INVITE
To = sip:99(16.+)@
[Deploy Pattern]
To = sip:%1@
sip:%1@ in Deploy Pattern means that SIP Server routes a call to the registered user.
If you have ( ) in the Matching pattern, you can refer the matched value with %1 in the Deploy Pattern
For example:
[Matching Pattern]
$request=^INVITE
To = sip:99(16.+)@
[Deploy Pattern]
To = sip:%1@
sip:%1@ in Deploy Pattern means that SIP Server routes a call to the registered user.
-
- Posts: 5
- Joined: Wed Sep 18, 2019 12:54 pm
- Location: Livermore, CA
I can try this but the IP address associated with the 16xxx number in the matching pattern isn't the IP address associated with the registered Yealink phone.
How would the server know to route the call in the Deployment Pattern since we have identified it as a registered user.
The yealink phone will be the 16xxx@a different IP address.
How would the server know to route the call in the Deployment Pattern since we have identified it as a registered user.
The yealink phone will be the 16xxx@a different IP address.
Terry Blanchard
If a caller dials 9916998, do you want to route a call to 16998 which is Yealink's registered username?
If so, try the DialPlan I suggested in my previous post.
Or do you want to route any matched calls to the certain Yealink phone always?
If so, try the DialPlan rule below.
[Matching Patterns]
$request = ^INVITE
To = sip:99(16.+)@
[Deploy Patterns]
To = sip:16998@
If so, try the DialPlan I suggested in my previous post.
Or do you want to route any matched calls to the certain Yealink phone always?
If so, try the DialPlan rule below.
[Matching Patterns]
$request = ^INVITE
To = sip:99(16.+)@
[Deploy Patterns]
To = sip:16998@
-
- Posts: 5
- Joined: Wed Sep 18, 2019 12:54 pm
- Location: Livermore, CA
-
- Posts: 5
- Joined: Wed Sep 18, 2019 12:54 pm
- Location: Livermore, CA