[sr-dev] [tracker] Task opened: segfault on loading dialplan module 3.1.1

Juha Heinanen jh at tutpro.com
Sun Jan 2 10:30:35 CET 2011


sip-router writes:

> Details - Version 3.1.1 segfaults on loading dialplan when loading a
> row with match_op 1.  When the match mode was changed to 0 it works

strange, because exactly the same statement

	GET_STR_VALUE(repl_exp, values, 6);

is executed in both cases.

on the other hand, if you have

 id  | dpid | pr | match_op | match_exp | match_len | subst_exp | repl_exp | attrs 
-----+------+----+----------+-----------+-----------+-----------+----------+-------
 482 |  100 |  1 |        1 | ^201$     |         0 |           | NJ       | 

it makes no sense to use EQUAL_OP match_op.

-- juha



More information about the sr-dev mailing list