[Spce-user] Strip leading prefix on outbound calls

Greg Lipschitz Greg at thesummitgroup.com.au
Mon Aug 24 08:57:14 EDT 2015


Hi Alessandro

What you want is the following re-write rule;

Inbound Callee
^(00|\+)([1-9][0-9][0-9][0-9]+)$
Replacement: \2
Description: International to E164

You then need to apply your re-write rule to your domain.
This rule will then make calls from the Subscriber (on the applied Domain) to SIPWise into the E164 format.

Cheers,

Greg



Greg Lipschitz | Director | The Summit Group

E: Greg at thesummitgroup.com.au<mailto:Greg at thesummitgroup.com.au> | W: www.thesummitgroup.com.au<http://www.thesummitgroup.com.au>

The Summit Group (Australia) Pty Ltd | P: 1300 049 749 | Level 1, 39 Railway Road, Blackburn  VIC  3130
The Summit Group (USA) LLC | P: 321 216 3844 | Suite 1003, 364E Main Street, Middletown  DE 19709
Postal:      P.O. Box 3225, Doncaster East  VIC  3109



Follow us on Facebook<http://www.facebook.com/thesummitgroup/> | LinkedIn<http://www.linkedin.com/company/1942329> | Twitter<http://twitter.com/summitgroupau/>

________________________________
From: Spce-user [spce-user-bounces at lists.sipwise.com] on behalf of Alessandro Bolletta [alessandro at mediaspot.net]
Sent: Monday, 24 August 2015 8:45 PM
To: spce-user at lists.sipwise.com
Subject: [Spce-user] Strip leading prefix on outbound calls

Hi,
i’m following the documentation in order to get 00 or + from international calls stripped for the callee on outbound calls.

I tried this and many other rules but none of them is actually working:

Strip leading 00 or +
·        Match Pattern: ^(00|\+)([1-9][0-9]+)$
·        Replacement Pattern: \2
·        Description: International to E.164
So, i need that a call towards a number like this 0039075802849, where 0039 is the Italy international prefix, is presented to the peer like this 39075802849.

How can I do it?

Thanks in advance,
Alessandro



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


More information about the Spce-user mailing list