<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hi all<br><br>could you please need me to understand the translation on dialplan module;<br>mysql> select * from dialplan;<br>+----+------+----+----------+-----------+-----------+------------+----------+-------+<br>| id | dpid | pr | match_op | match_exp | match_len | subst_exp | repl_exp | attrs |<br>+----+------+----+----------+-----------+-----------+------------+----------+-------+<br>| 73 | 15 | 0 | 1 | ^000 | 0 | ^(0)(.+) | \2 | |<br>| 78 | 16 | 0 | 1 | 000 | 0 | (000)(.+) |
8\2 | |<br>| 76 | 14 | 0 | 1 | ^000 | 0 | ^(000)(.+) | 8\2 | |<br>| 75 | 15 | 0 | 1 | ^55 | 0 | ^(55)(.+) | \2 | |<br>+----+------+----+----------+-----------+-----------+------------+----------+-------+<br><br>[root@localhost ~]# opensipsctl fifo dp_translate 14 00055980007<br>Output:: 855980007<br>[root@localhost ~]# opensipsctl fifo dp_translate 15 0007<br>Output:: 007<br>[root@localhost ~]# opensipsctl fifo dp_translate 15 55980007<br>Output::
980007<br>[root@localhost ~]# opensipsctl fifo dp_translate 16 55980007<br>Output:: 87<br><br>repl_exp : sometimes has value \2 or \1 - what does it mean?? does it have other value?<br>what does the ^ mean??<br>is there more special character??<br><br>where do i find more docs for translation rule<br><br>Thank you<br>Ha`<br></td></tr></table><br>