[Spce-user] Strip leading prefix on outbound calls

Daniel Grotti dgrotti at sipwise.com
Mon Aug 24 07:37:41 EDT 2015


Hi Alessandro,
yes, do not copy the rule from pdf, it will use a different char for ^
symbol.
Also please make sure to assign the Rewrite rules to your
Domain/Subscriber/Peer Preferences.



--
Daniel Grotti
VoIP Engineer


Sipwise GmbH
Europaring F15 | 2345 Brunn am Gebirge, Austria | www.sipwise.com

On 08/24/2015 12:50 PM, Martin Stix wrote:
> Hi!
> 
> Did you copy it from documentation?
> 
> Please insert ^ yourself, because copying this character doesn't work.
> 
> regards
> 
>  
> 
> mit freundlichen Grüßen
> best regards
> 
> 
> *Martin Stix*
> 
> CEO
> pluteus communication solutions
> ms at pluteus.at <mailto:ms at pluteus.at>
> 
> Dampfsägestraße 17
> 3300 Amstetten
> Austria
> tel.: +43 7472 28165 20
> fax.: +43 7472 28165 50
> 
> 
> 
> 
> *Von: * Alessandro Bolletta <alessandro at mediaspot.net>
> *An: * "spce-user at lists.sipwise.com" <spce-user at lists.sipwise.com>
> *Gesendet: * 24.08.2015 12:45
> *Betreff: * [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
> 
> 
> 
>     _______________________________________________
>     Spce-user mailing list
>     Spce-user at lists.sipwise.com
>     https://lists.sipwise.com/listinfo/spce-user
> 
> 
> 
> 
> _______________________________________________
> Spce-user mailing list
> Spce-user at lists.sipwise.com
> https://lists.sipwise.com/listinfo/spce-user
> 



More information about the Spce-user mailing list