Author |
Message |
tman Brekeke Newbie
Joined: 27 May 2009 Posts: 4
Location: NC
|
Posted: Fri May 29, 2009 8:48 pm Post subject: strip leading characters from caller id |
|
|
1. Brekeke Product Name and version: BSS 2.3.6.0
2. Java version: build 1.6.0_07-b06
3. OS type and the version: Win XP
4. UA (phone), gateway or other hardware/software involved: Cisco Call Manager / 7921 + rauland nurse call
5. Select your network pattern from http://www.brekeke-sip.com/bbs/network/networkpatterns.html :
6. Your problem:
I need to strip leading characters from caller id display. the important characters get cut off by the limited caller id size. I have been able to replace but not shoerten.
ex.
current display
From: 10th 1025 1 Patient<sip:1025*1@192.168.6.201:5060>
need display
From: Patient<sip:1025*1@192.168.6.201:5060>
current dial plan
Matching:
$request=^INVITE
To=sip:(.+)@
Deploy:
to=sip:%1@10.200.2.9 |
|
Back to top |
|
hope Brekeke Master Guru
Joined: 15 Jan 2008 Posts: 862
|
Posted: Tue Jun 02, 2009 11:46 am Post subject: |
|
|
Matching Patterns | $request = ^INVITE From = ".+ Patient"(.+) To = sip:(.+)@
| Deploy Patterns | From = "Patient"%1 To = sip:%2@10.200.2.9
|
|
|
Back to top |
|
tman Brekeke Newbie
Joined: 27 May 2009 Posts: 4
Location: NC
|
Posted: Wed Jun 03, 2009 5:11 am Post subject: |
|
|
I tried your solution and a few variations, for some reason I no longer geerate a call at all if I have From= in the deploy pattern. My application is not phone to phone or pc to phone it is a speaker console in a room that is connectected to a gateway server which registers the rooms to BSS. I am starting to wonder if the gateway requires that there be no changes to the header so it can find the destination room? |
|
Back to top |
|
hope Brekeke Master Guru
Joined: 15 Jan 2008 Posts: 862
|
Posted: Wed Jun 03, 2009 2:01 pm Post subject: |
|
|
how about
Matching Patterns | $request = ^INVITE From = ".+ Patient"(.+) ;.+ To = sip:(.+)@
| Deploy Patterns | From = "Patient"%1 To = sip:%2@10.200.2.9
|
|
|
Back to top |
|
tman Brekeke Newbie
Joined: 27 May 2009 Posts: 4
Location: NC
|
Posted: Wed Jun 10, 2009 9:58 pm Post subject: |
|
|
hope wrote: |
how about
Matching Patterns | $request = ^INVITE From = ".+ Patient"(.+) ;.+ To = sip:(.+)@
| Deploy Patterns | From="Patient"%1
To=sip:%2@10.200.2.9 |
|
Does not work either, calls fail to complete, thanks for your efforts. |
|
Back to top |
|
janP Brekeke Master Guru
Joined: 25 Nov 2007 Posts: 336
|
Posted: Thu Jun 11, 2009 2:20 pm Post subject: |
|
|
Hi all,
In my environment, the above DialPlan rule works...
tman,
did you get any error response from UAS?
can you paste an INVITE packet which the SIP Server sent? |
|
Back to top |
|
tman Brekeke Newbie
Joined: 27 May 2009 Posts: 4
Location: NC
|
Posted: Fri Jun 12, 2009 2:04 pm Post subject: |
|
|
janP wrote: |
Hi all,
In my environment, the above DialPlan rule works...
tman,
did you get any error response from UAS?
can you paste an INVITE packet which the SIP Server sent? |
Thanks for all the help, got me on the right path, I did not even know what SIP was until about a month ago. between what you told me and the bss_tutorial dial plan doc I came up with this
$request=^INVITE
From=(.{12}(.+))<(.+@)>
To=sip:(.+)@
From=%2<%3>
To=sip:%4@10.200.2.9
and it works for the most part, I will need tweak it some how because differnt areas have different numbers of lading characters but I think I am ok now. |
|
Back to top |
|
janP Brekeke Master Guru
Joined: 25 Nov 2007 Posts: 336
|
Posted: Fri Jun 12, 2009 2:41 pm Post subject: |
|
|
tman
If your above DialPlan rule works, I'm glad. |
|
Back to top |
|
brad051380 Brekeke Member
Joined: 10 Jul 2009 Posts: 13
Location: Indiana
|
Posted: Fri Jul 10, 2009 6:44 am Post subject: |
|
|
TMAN - I am new as well using Brekeke with Responder Gateway server. I am struggling right now to get the Patient Stations to register with Brekeke....any suggestions? If i point the Registrar IP to the Nursecall NIC on the RGS and the Proxy IP to the Hospital LAN IP i get an "unauthenticate" response. if i set the Proxy to the Hospital LAN NIC my RGS just Fails on registration. Any help with RGS and Brekeke setup between the two would be much appreciated |
|
Back to top |
|
Laurie Brekeke Master Guru
Joined: 07 Jan 2008 Posts: 245
|
|
Back to top |
|
brad051380 Brekeke Member
Joined: 10 Jul 2009 Posts: 13
Location: Indiana
|
Posted: Thu Jul 16, 2009 6:12 pm Post subject: |
|
|
got mine to work. It was a port conflict between the Rauland software and Brekeke. I was able to change the port on the Rauland system and it worked fine. Also, i had to force RTP = ON as well to get the Voice Paths to work. THanks for your help. Also, is there a guide with the different variables and what they mean? such as %1,%2 etc.. maybe i am just too impatient to figure it out on my own!lol
Thanks,
Brad |
|
Back to top |
|
hope Brekeke Master Guru
Joined: 15 Jan 2008 Posts: 862
|
Posted: Tue Jul 21, 2009 11:32 am Post subject: |
|
|
%1, %2 refer to the content in the parenthesis in the matching patterns
%1 refers to the first parenthesis included content in the matching patterns
%2 refers to the second parenthesis included content in the matching patterns |
|
Back to top |
|
|