Hi Wesley, if you set debug = 4, you will get a all the debug messages from the module. It will give you some hints if at least is matching any rule.
But what I found strange is that tat the replt_exp field is empty -> that is the part to be returned . Regards, Bogdan Wesley Volcov wrote: > Hello Bogdan, > > I made the exemple you wrote above. > > My script: > $var(x) = "sip:061111"; > dp_translate("1", "$var(x)/$var(tmp)"); > xlog("-------------$var(tmp)\n"); > > My database: > mysql> select * from dialplan; > +----+------+----+----------+------------+-----------+------------+-------------------------------+-------+ > | id | dpid | pr | match_op | match_exp | match_len | subst_exp | repl_exp > > | attrs | > +----+------+----+----------+------------+-----------+------------+-------------------------------+-------+ > | 1 | 1 | 0 | 1 | (sip:06.+) | 0 | (sip:06.+) | > wes...@voicetechnology.com.br | 0 | > +----+------+----+----------+------------+-----------+------------+-------------------------------+-------+ > 1 row in set (0.00 sec) > > My log file: > Jan 15 15:30:11 localhost opensips[22981]: -------------0 > > I have no log of dialplan module. Is there some configuration to active this > module debug ? > > Regards, > > Wesley. > > -- Bogdan-Andrei Iancu www.voice-system.ro _______________________________________________ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users