[Spce-user] Problem with Caller ID Caller in outbound calls
Marc Storck
mstorck at voipgate.com
Wed Jul 9 10:35:43 EDT 2014
In order to avoid matching numbers starting with 00 as well, I recommend using:
^0([1-9][0-9]+)$
Regards,
Marc
On 9 juil. 2014, at 16:16, "Rogier Banis" <rogier at ningaloo.nl<mailto:rogier at ningaloo.nl>> wrote:
Dario,
You where right changing the 1 to 0 did the trick. Can you explain why since i am trying to understand what went wrong.
Op 9 jul. 2014, om 16:11 heeft Dario D Busso <dbusso at sipwise.com<mailto:dbusso at sipwise.com>> het volgende geschreven:
As I wrote:
Match Pattern: ^0([0-9]+)$
-d
On 2014-07-09 16:05, Rogier Banis wrote:
Unfortunately still not the correct result. CallerID still presented as +0201111111. Here the 3 rules i have now under Outbound Rewrite Rules for Caller:
<https://sbc01.nvoice.nl:1443/rewrite/6/rules?move=19&where=up&back=https%3A%2F%2Fsbc01.nvoice.nl%3A1443%2Frewrite%2F6%2Frules><https://sbc01.nvoice.nl:1443/rewrite/6/rules?move=19&where=down&back=https%3A%2F%2Fsbc01.nvoice.nl%3A1443%2Frewrite%2F6%2Frules>
Match: ^0([1-9]+)$ Replacement: 31\1 Description: Change 0XXXX to 31XXXX
<https://sbc01.nvoice.nl:1443/rewrite/6/rules?move=15&where=up&back=https%3A%2F%2Fsbc01.nvoice.nl%3A1443%2Frewrite%2F6%2Frules><https://sbc01.nvoice.nl:1443/rewrite/6/rules?move=15&where=down&back=https%3A%2F%2Fsbc01.nvoice.nl%3A1443%2Frewrite%2F6%2Frules> Match: ^(?:06) Replacement: 316 Description: 316
<https://sbc01.nvoice.nl:1443/rewrite/6/rules?move=12&where=up&back=https%3A%2F%2Fsbc01.nvoice.nl%3A1443%2Frewrite%2F6%2Frules><https://sbc01.nvoice.nl:1443/rewrite/6/rules?move=12&where=down&back=https%3A%2F%2Fsbc01.nvoice.nl%3A1443%2Frewrite%2F6%2Frules> 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
Regards
John
From: 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 +0201111111
Can you please shine some light on this rewrite rule?
Any help is highly appreciated.
With best regards,
<image001.png>
Rogier Banis
CTO
Hoflaan 6
3956 EE Leersum
the Netherlands
T. +3188 7777 500
F. +3188 7777 501
E. rogier at ningaloo.nl<mailto:rogier at ningaloo.nl>
_______________________________________________
Spce-user mailing list
Spce-user at lists.sipwise.com<mailto:Spce-user at lists.sipwise.com>
http://lists.sipwise.com/listinfo/spce-user
--
Dario D Busso
Operation Engineer
Sipwise GmbH <http://www.sipwise.com/> , Campus 21/Europaring F15
AT-2345 Brunn am Gebirge
Phone:
office: +43(0)1 301 2034 <callto:+4313012034>
mobile: +43(0)699 10981586 <callto:+4369910981586>
Email: dbusso at sipwise.com <mailto:dbusso at sipwise.com>
Website: www.sipwise.com <http://www.sipwise.com/>
Particulars according Austrian Companies Code paragraph 14
"Sipwise GmbH“ - Europaring F15 – 2345 Brunn am Gebirge
FN:305595f, Commercial Court Vienna, ATU64002206
_______________________________________________
Spce-user mailing list
Spce-user at lists.sipwise.com<mailto:Spce-user at lists.sipwise.com>
http://lists.sipwise.com/listinfo/spce-user
_______________________________________________
Spce-user mailing list
Spce-user at lists.sipwise.com<mailto:Spce-user at lists.sipwise.com>
http://lists.sipwise.com/listinfo/spce-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20140709/3a8f9350/attachment-0001.html>
More information about the Spce-user
mailing list