Hi Juha,

Please update from SVN - there was a misprocessing in the MI command.

Also, note you are using the wrong match_op value - 1 is for regexp. Try:

+----+------+----+----------+---------------+-----------+-----------+----------+-----------+
| id | dpid | pr | match_op | match_exp     | match_len | subst_exp | 
repl_exp | attrs     |
+----+------+----+----------+---------------+-----------+-----------+----------+-----------+
|  1 |    1 | 10 |        1 | ^0[235689]112 |         0 | 112       
|          | emergency |
+----+------+----+----------+---------------+-----------+-----------+----------+-----------+

Regards,
Bogdan


Juha Heinanen wrote:
> perhaps i should wait for the examples, but i added a single row in
> dialplan table:
>
> 1 1 10 0 ^0[235689]112 0 112          emergency
>
> and then tried
>
> openserctl fifo dp_translate 1 02112
>
> that resulted in
>
> 500 command 'dp_translate' failed
>
> and in syslog
>
> localhost /usr/sbin/openser[1563]: ERROR:mi_fifo:mi_fifo_server: command
> (dp_translate) processing failed
>
> no info on why processing failed.
>
> -- juha
>
> _______________________________________________
> Devel mailing list
> Devel@lists.openser.org
> http://lists.openser.org/cgi-bin/mailman/listinfo/devel
>
>   


_______________________________________________
Devel mailing list
Devel@lists.openser.org
http://lists.openser.org/cgi-bin/mailman/listinfo/devel

Reply via email to