Author |
Message |
neils21 Brekeke Member
Joined: 22 Jul 2014 Posts: 17
|
Posted: Tue Aug 19, 2014 9:25 am Post subject: Dial Plan to Alter User Agent for Display on Cisco Wireless |
|
|
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 |
|
Back to top |
|
ambrosio Brekeke Master Guru
Joined: 27 Mar 2008 Posts: 215
|
|
Back to top |
|
neils21 Brekeke Member
Joined: 22 Jul 2014 Posts: 17
|
Posted: Fri Aug 22, 2014 8:17 am Post subject: |
|
|
The dial plan you gave works perfectly!
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! |
|
Back to top |
|
ambrosio Brekeke Master Guru
Joined: 27 Mar 2008 Posts: 215
|
Posted: Fri Aug 22, 2014 11:59 am Post subject: |
|
|
Nice. Glad to know! |
|
Back to top |
|
doesyour Brekeke Junior Member
Joined: 26 Mar 2015 Posts: 5
Location: United States
|
Posted: Fri Mar 27, 2015 8:57 am Post subject: 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. |
|
Back to top |
|
ambrosio Brekeke Master Guru
Joined: 27 Mar 2008 Posts: 215
|
Posted: Fri Mar 27, 2015 12:28 pm Post subject: |
|
|
A custom text messages will work too with the above DialPlan rule.
Let you try! |
|
Back to top |
|
|