[Spce-user] Problem with Caller ID Caller in outbound calls

John Murray john.murray at skyracktelecom.com
Wed Jul 9 10:12:38 EDT 2014



Do you have a P-Asserted-Identity (PAI) header set?

Most carriers will take that over what is in the From: field.






From: spce-user-bounces at lists.sipwise.com
[mailto:spce-user-bounces at lists.sipwise.com] On Behalf Of Rogier Banis
Sent: 09 July 2014 15:06
To: John Murray
Cc: Spce-user
Subject: Re: [Spce-user] Problem with Caller ID Caller in outbound calls


Unfortunately still not the correct result. CallerID still presented as
+0201111111. Here the 3 rules i have now under Outbound Rewrite Rules for



Match: ^0([1-9]+)$

Replacement: 31\1

Description: Change 0XXXX to 31XXXX

Match: ^(?:06)

Replacement: 316

Description: 316

Match: ^([1-9][0-9]+)$

Replacement: 31\1

Description: 3188




Op 9 jul. 2014, om 15:54 heeft John Murray <john.murray at skyracktelecom.com
<mailto:john.murray at skyracktelecom.com> > het volgende geschreven:

Roger hi,


I think you need:

Match Pattern: ^0([1-9]+)$

Replacement pattern: 31\1






From:  <mailto:spce-user-bounces at lists.sipwise.com>
spce-user-bounces at lists.sipwise.com [
<mailto:spce-user-bounces at lists.sipwise.com>
mailto:spce-user-bounces at lists.sipwise.com] On Behalf OfRogier Banis
Sent: 09 July 2014 14:45
To: Spce-user
Subject: [Spce-user] Problem with Caller ID Caller in outbound calls


Hello list,


On a peer i need to create a rewrite rule for the caller ID of the caller.
In this case a call comes in to our PBX and gets forwarded to a trunk. The
incoming callerid of the caller is like 0201111111. This needs to be
rewritten to 31201111111

In my rewrite rules for the trunk i created the following rule under
outbound rewrite rules for caller:


Match Pattern: ^(0[1-9]+)$

Replacement pattern: 31\1


As you might suspect this doesn't work otherwise i wouldn't be mailing this
list ;)) The CallerID gets presented on the final receiver phone as


Can you please shine some light on this rewrite rule?


Any help is highly appreciated.


With best regards,


Rogier Banis


Hoflaan 6
3956 EE Leersum
the Netherlands 

T. +3188 7777 500
F. +3188 7777 501

E.  <mailto:rogier at ningaloo.nl> rogier at ningaloo.nl



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20140709/2a08675e/attachment-0001.html>

More information about the Spce-user mailing list