[OpenSIPS-Users] openSIPS- Dialplan Manipulation Help

VOIP Security voip.security at protonmail.com
Tue Dec 3 17:01:12 EST 2019


I am struggling with openSIPS regex rules to append some prefix before regex. I have this regex rule setup for Israel numbers -

Matching Regular Expression -  ^0[0-9]{8}$

So this rule is catching all the 9 digits DID from my Israeli carrier but now I want to add 972 in front of any DID, for example DID - 021458547
After dp_translate I want to manipulate that DID and add 972 so new DID gonna be - 972021458547

Please help me setting up this dial plan rule. I will appreciate that.

Thanks and regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20191203/b30bd1a3/attachment.html>

More information about the Users mailing list