[OpenSIPS-Users] Dialplan problem ?

Bogdan-Andrei Iancu bogdan at voice-system.ro
Fri Oct 22 17:49:35 CEST 2010


Hi Marcio,

first of all be sure you are using the latest SVN check out from 1.6 branch.

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 
.....

Don't you see any warning as:
    "failed to build rule -> skipping"

?


Best regards,
Bogdan

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
>>>>         
>
>   


-- 
Bogdan-Andrei Iancu
OpenSIPS Bootcamp
15 - 19 November 2010, Edison, New Jersey, USA
www.voice-system.ro




More information about the Users mailing list