[OpenSIPS-Users] Dialplan problem ?

Marcio Veloso Antunes mveloso at tecnologiaip.com.br
Fri Oct 22 18:01:46 CEST 2010


Hi Bogdan,

Em Sex 22 Out 2010, às 13:49:35, Bogdan-Andrei Iancu escreveu:
> Hi Marcio,
> 
> first of all be sure you are using the latest SVN check out from 1.6
> branch.
Ok, i'll do it and test again.

> 
> What is really interesting in your case I do not see any err / warning
> message...and the code is generating err/warn messages before destroying
> the rule.
> 
> What is happening is that during the DB load, when a new rule is
> processed, it is discarded due some issue, but this issue is not logged
> .....
Is there a way to increase debug log level ?
> 
> Don't you see any warning as:
>     "failed to build rule -> skipping"
No, there is no such message.
> 

Thanks again,
Marcio
> 
> Marcio Veloso Antunes wrote:
> > Hi,
> > 
> >   The dialplan still not working...
> >   
> >    Should i change for other version than OpenSIPS 1.6.3 ?
> >   
> >   Thanks in advance,
> >   
> >   Marcio
> > 
> > Em Qua 13 Out 2010, às 18:01:48, Marcio Veloso Antunes escreveu:
> >> Hi Bogdan,
> >> 
> >>   Thanks for your fast reply...
> >>   
> >>   The version is 1.6.3. The strange thing is that it was working, but
> >>   after
> >> 
> >> i entered new rules it stopped, and even after emptying the table and
> >> reinserting just that 2 routes it still not working.
> >> 
> >>   I've tryed 'opensipsctl dialplan reload' but still not working.
> >>   
> >>   Silly question: Could this problem be related with 'id' column? I'am
> >> 
> >> asking based on the fact that initially it was working...
> >> 
> >>   Thanks again,
> >>   Marcio
> >> 
> >> Em Qua 13 Out 2010, às 17:52:26, Bogdan-Andrei Iancu escreveu:
> >>> 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:
> >>>> 
> >>>> root at 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 at lists.opensips.org
> >>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-- 
Marcio Veloso Antunes
Tecnologia IP Ltda
+55.21.3005.3004 ext. 106
+55.11.3588.0802 ext. 106
+55.21.8539.2949 (mobile)



More information about the Users mailing list