Modify SIP address to normal caller ID

Discuss any topic about Brekeke SIP Server.

Moderator: Brekeke Support Team

Post Reply
AE86Trueno
Posts: 7
Joined: Tue Jan 10, 2017 2:06 pm
Location: Auckland, New Zealand

Modify SIP address to normal caller ID

Post by AE86Trueno »

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
ambrosio
Posts: 215
Joined: Thu Mar 27, 2008 12:20 pm

Post by ambrosio »

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
AE86Trueno
Posts: 7
Joined: Tue Jan 10, 2017 2:06 pm
Location: Auckland, New Zealand

Post by AE86Trueno »

Thank you Ambrosio, I will give that a try.
Regards,
Andrew
Post Reply