[Spce-user] Inbound Rewrite Rule for Callee - strip characters in dialed numbers

Matthias Hohl matthias.hohl at telematica.at
Tue Sep 26 02:44:17 EDT 2017


Has anyone an idea, how to solve this?

Thank you

> Am 13.09.2017 um 15:52 schrieb Matthias Hohl <matthias.hohl at telematica.at>:
> Hello,
> we have sometimes the problem, that customers dial a number with letters or characters like „.“ Or „-„ or „/“ in it.
> This stops rate-o-mat, so we need to rewrite the dialed number to strip out this characters.
> Like: [^0-9]  =>  „“
> But
> We tought about to set this rule in the inbound rewrite rule for callee setting.
> As we can see in your handbook, the rewrite rule process stopps after the first match, so this would be no solution, so we need to do this rewriting before the inbound rewrite rule for callee takes affect.
> Is there a way to do this strip process somewhere in the kamailio settings directly?
> Thank you.
> _______________________________________________
> Spce-user mailing list
> Spce-user at lists.sipwise.com
> https://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/20170926/a59f67e8/attachment-0001.html>

More information about the Spce-user mailing list