[Spce-user] Rewrite Rule Match Pattern for ${caller_cc} and ${caller_ac} possible?

Hohl Matthias matthias.hohl at telematica.at
Thu Oct 11 07:07:23 EDT 2018


Hello,

 

i want to strip away the ${caller_cc} and ${caller_ac} number of a callee.

I need this for a fritzbox case.

 

So the callee number should not be transported as 43 720 123456 it should be
just transported as 123456

 

I thought about to create a regex match pattern like this:
(${caller_cc}${caller_ac})([1-9][0-9]+)$

And Replacement Pattern: \2

 

But this doesn't work_:

INFO: <script>: No matching rewrite rules for '43720123456' found

 

 

Is this even possible in this way?

Thank you.

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/mailman/private/spce-user_lists.sipwise.com/attachments/20181011/fbf3251c/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5532 bytes
Desc: not available
URL: <http://lists.sipwise.com/mailman/private/spce-user_lists.sipwise.com/attachments/20181011/fbf3251c/attachment.p7s>


More information about the Spce-user mailing list