Hi Marcio, The answer is:
Oct 13 17:05:47 perseu /sbin/opensips[13077]: DBG:dialplan:build_rule: references:1 , max:1 Oct 13 17:05:47 perseu /sbin/opensips[13077]: DBG:dialplan:destroy_rule: destroying rule with priority 1 It looks like opensips rejects the rules while loading them at startup, so basically you end up with no rule at runtime. what opensips version are you using ? Regards, Bogdan Marcio Veloso Antunes wrote: > > Hi guys, > > Sorry to bother you, but i can't find the problem why this is not working: > > Actual dialplan: > > r...@perseu:/etc/opensips# opensipsctl dialplan show > > dialplan tables > > id | dpid | pr | match_op | match_exp | match_len | subst_exp | > repl_exp | attrs > > ----+------+----+----------+-----------------------+-----------+-------------------------+----------+------- > > 18 | 1 | 0 | 1 | ^00[1-9][0-9]+ | 0 | ^0(0[1-9][0-9]+) | \1 | > > 19 | 1 | 1 | 1 | ^00[1-9][1-9][0-9]{8} | 0 | ^0(0[1-9][1-9][0-9]{8}) | > \1 | > > (2 rows) > > String being tested: '002185392949' > > > ------------------------------------------------------------------------ > > _______________________________________________ > Users mailing list > Users@lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > -- Bogdan-Andrei Iancu OpenSIPS Bootcamp 15 - 19 November 2010, Edison, New Jersey, USA www.voice-system.ro _______________________________________________ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users