<div dir="ltr"><div><div><div><div><div><div><div><div><div><div>Hi,<br><br></div>I am facing an Problem in Dialplan Module.<br><br></div>Scenario:<br>========<br></div>I am Dialling 00091xxxxxxxxxx number, I need to remove only the prefix 000, then the call placement will be 91xxxxxxxxxx.<br><br></div>My dialplan rule:<br>==============<br>MariaDB [kamailio]> select * from dialplan;<br>+----+------+----+----------+-----------+-----------+-----------+----------+-------+<br>| id | dpid | pr | match_op | match_exp | match_len | subst_exp | repl_exp | attrs |<br>+----+------+----+----------+-----------+-----------+-----------+----------+-------+<br>|  1 |    1 |  1 |        1 | ^000$     |         0 | ^000$     |          |       |<br>+----+------+----+----------+-----------+-----------+-----------+----------+-------+<br><br><br></div>But the prefix 000 is not replaced. Please Guide me to Resolve this issue. Do I need to change somet rules??<br><br></div>Additional info:<br>=============<br><br></div>But, With additional to the above dialplan data rule I used the below rule.<br><br>+----+------+----+----------+-----------+-----------+-----------+----------+-------+<br>| id | dpid | pr | match_op | match_exp | match_len | subst_exp | repl_exp | attrs |<br>+----+------+----+----------+-----------+-----------+-----------+----------+-------+<br>|  1 |    1 |  1 |        1 | ^000$     |         0 | ^000$     |          |       | 111<br>+----+------+----+----------+-----------+-----------+-----------+----------+-------+<br><br></div>The above rule replacing only the 000, If we Dial 000xxxx its omitting, While Dialing 000 its replacing that with 111.<br><br></div>Thanks & Regards,<br></div>Logeshwaran<br></div>