[Spce-user] Rewrite Rule for SIP Peering

Andrew Pogrebennyk apogrebennyk at sipwise.com
Thu Jan 15 05:41:42 EST 2015


On 01/14/2015 08:03 PM, Matthias Hohl wrote:
> If i compare this with a sipcall over the other trunk the only differnce
> is this:
> Sip Peering it works: F=sip:436767788111@ Sip Peering doesn't work:
> F=sip:06767788111@

Ok, understood.

> So i believe i must rewrite the 0676 to 43676 to get it to work, but i
> don't know how i do this :/

You will find all the information here:

Specifically this example:

Replace 0 by caller’s country code:

    Match Pattern: ^0([1-9][0-9]+)$
    Replacement Pattern: ${caller_cc}\1
    Description: National to E.164
    Direction: Inbound
    Field: Caller

Hope this helps.

More information about the Spce-user mailing list