[OpenSER-Devel] dp_translate' failed
Bogdan-Andrei Iancu
bogdan at voice-system.ro
Fri Jun 6 21:02:34 CEST 2008
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 at lists.openser.org
> http://lists.openser.org/cgi-bin/mailman/listinfo/devel
>
>
More information about the Devel
mailing list