[Spce-user] Problem with Caller ID Caller in outbound calls
Rogier Banis
rogier at ningaloo.nl
Wed Jul 9 10:16:10 EDT 2014
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> 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:
>>
>>
>>
>> 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> 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] 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
>>>
>>>
>>>
>>>
>>>
>>>
>>
>>
>>
>> _______________________________________________
>> Spce-user mailing list
>> Spce-user at lists.sipwise.com
>> http://lists.sipwise.com/listinfo/spce-user
>
> --
> DARIO D BUSSO
> Operation Engineer
> Sipwise GmbH , Campus 21/Europaring F15
> AT-2345 Brunn am Gebirge
>
> Phone:
> office: +43(0)1 301 2034
> mobile: +43(0)699 10981586
> Email: dbusso at sipwise.com
> Website: 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
> 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/bb97903f/attachment-0001.html>
More information about the Spce-user
mailing list