1. Brekeke Product Name and Version:
Brekeke SIP Server 3 (BSS3)
2. Java version:
Version 7 update 65
3. OS type and the version:
Windows Server 2k8 Standard
4. UA (phone), gateway or other hardware/software involved:
Cisco Call Manager 8 using wireless 7925g phones
Rauland R5 Responder Server
5. Your problem:
I am attempting to alter the caller ID information that comes across on the Cisco phones. Based on the Rauland documentation it appeared as if the caller ID would have been the SIP URI, which I was already prepared to alter as need be. However, it appears that it actually uses the User-Agent field. The issue is that the 7925 phones have only 12 character space to work with, so the call header information is too much to be able to read properly. I need to be able to trim the first 5 characters, and ideally strip away 2 more from the center to make the call ID actually legible.
This is the default plan right now
Matching
$request = ^INVITE
$registered = false
To = sip:(.+)@
Deploy
Session-Expires =
Min-SE =
To = sip:%1@CISCOIP
I did a search on the forum and found a thread similar to what I am trying to do, but I cannot seem to get it to work. This is the dial plan I was attempting to use with no luck.
$request=^INVITE
From=(.{5}(.+))<(.+@)>
$registered=false
To=sip:(.+)@
Deploy
Session-Expires=
Min-SE=
From=1%<%2>
To=sip.3%@CISCOIP
Basically, I am trying to strip the first 5 characters of the header that comes through. On the phones the caller ID comes up as
6th N6613_1 N-
Sip(2*6613*1@CISCOIP)
The full header is sent and should be
6th N6613_1 Normal
So if I can strip the first 5 characters to make it look like
6613_1 Norma
Even better would be to strip out that underscore _1 so it would look like
6613 Normal
But I cannot seem to find anything on the forums or in the guide that deals with altering the user agent in such a way.
Assistance would be great, Thanks in advance
Dial Plan to Alter User Agent for Display on Cisco Wireless
Moderator: Brekeke Support Team
Try this.
Matching Patterns
$request = ^INVITE
$registered = false
To = sip:(.+)@
$str.remove($getDisplayName(From),"_1") = .{5}(.+)
Deploy Patterns
Session-Expires =
Min-SE =
To = sip:%1@CISCOIP
From/displayname = %2
FYI:
http://wiki.brekeke.com/wiki/DialPlan-M ... str-remove
http://wiki.brekeke.com/wiki/DialPlan-M ... isplayName
Note:
The above dialplan rule doesn't work as you want if a display-name is like the following..
6th N6613_2 Normal (not _1)
10th N6613_1 Normal (not first 5 characters.)
Matching Patterns
$request = ^INVITE
$registered = false
To = sip:(.+)@
$str.remove($getDisplayName(From),"_1") = .{5}(.+)
Deploy Patterns
Session-Expires =
Min-SE =
To = sip:%1@CISCOIP
From/displayname = %2
FYI:
http://wiki.brekeke.com/wiki/DialPlan-M ... str-remove
http://wiki.brekeke.com/wiki/DialPlan-M ... isplayName
Note:
The above dialplan rule doesn't work as you want if a display-name is like the following..
6th N6613_2 Normal (not _1)
10th N6613_1 Normal (not first 5 characters.)
The dial plan you gave works perfectly!ambrosio wrote:Try this.
Matching Patterns
$request = ^INVITE
$registered = false
To = sip:(.+)@
$str.remove($getDisplayName(From),"_1") = .{5}(.+)
Deploy Patterns
Session-Expires =
Min-SE =
To = sip:%1@CISCOIP
From/displayname = %2
FYI:
http://wiki.brekeke.com/wiki/DialPlan-M ... str-remove
http://wiki.brekeke.com/wiki/DialPlan-M ... isplayName
Note:
The above dialplan rule doesn't work as you want if a display-name is like the following..
6th N6613_2 Normal (not _1)
10th N6613_1 Normal (not first 5 characters.)
With that the calls display like so
6621 Toilet OT
2*6621*1
And this works just great. It's different than the previous text messaging they are used to, but this is much more coherent of a display.
Apologies for the oversight in missing the links you gave as resources. Being pretty new to brekeke I was unaware of some of the terminology.
Thanks again!
R5 to Cisco custom text messages
Hey, this worked great for the alerts, but what about the custom text messages? I have to type in five characters and then my message....example: 12345HEY U displays as HEY U
Any ideas for this one? Maybe another custom plan with a special character that excludes the skip five character rule when seen. Our site is already used to using * before the custom text on the old Rnet system.
Any ideas for this one? Maybe another custom plan with a special character that excludes the skip five character rule when seen. Our site is already used to using * before the custom text on the old Rnet system.