Author |
Message |
AE86Trueno Brekeke Junior Member
Joined: 10 Jan 2017 Posts: 7
Location: Auckland, New Zealand
|
Posted: Tue Jan 10, 2017 2:34 pm Post subject: Modify SIP address to normal caller ID |
|
|
1. Brekeke Product Name and Version: Brekeke SIP Server , Version 3.3.3.1 Standard
2. Java version: Java Standard Edition Version 8 (build 1.8.0-b132)
3. OS type and the version: Windows Server 2008 R2 Standard
4. UA (phone), gateway or other hardware/software involved: Softphone (vendor propriety), Dialogic HMP, IVR (vendor propriety)
5. Your problem:
Hi all,
First time here. I'm very new to SIP stuff.
I tried to search here and googling but still could not find an answer. Is it possible to use dialplan to modify SIP call so the caller ID shown is just number instead of in SIP address? For example my number is 123456, my Softphone client connected to Brekeke SIP Server and I have another client connected to the same SIP Server (client 2 IVR as 654321). Can I use Dialplan to make the caller ID shown in client 2 as 123456 instead of 123456@x.x.x.x:5060 ?
I tried to modify using Dialplan to modify:
Matching Patterns | $request = ^INVITE To = sip:654321
| Deploy Patterns | To = 123456 $replaceuri = true
|
But this seem to broke the call and the call cannot even start.
Thank you for the help. _________________ Regards,
Andrew |
|
Back to top |
|
ambrosio Brekeke Master Guru
Joined: 27 Mar 2008 Posts: 215
|
Posted: Wed Jan 11, 2017 1:48 am Post subject: |
|
|
It is depending on the callee, IVR.
Generally a callee will show the caller's display name instead of From-URI.
Try this.
Matching Patterns | $request = ^INVITE To = sip:654321@ $getUri(From) = (.+)
| Deploy Patterns | From = "123456" <%1>
|
If you are using the latest version (I strongly recommend), you can also use the DialPlan rule like this.
Matching Patterns | $request = ^INVITE To = sip:654321@
| Deploy Patterns | From/displayname = 123456
|
|
|
Back to top |
|
AE86Trueno Brekeke Junior Member
Joined: 10 Jan 2017 Posts: 7
Location: Auckland, New Zealand
|
Posted: Wed Jan 11, 2017 5:45 pm Post subject: |
|
|
Thank you Ambrosio, I will give that a try. _________________ Regards,
Andrew |
|
Back to top |
|
|