[SR-Users] No error line printed ?

Daniel-Constantin Mierla miconda at gmail.com
Thu Jul 15 14:26:41 CEST 2010



On 7/15/10 2:21 PM, Raúl Alexis Betancor Santana wrote:
> On Thursday 15 July 2010 13:02:25 Daniel-Constantin Mierla wrote:
>    
>> On 7/15/10 1:58 PM, Raúl Alexis Betancor Santana wrote:
>>      
>>> On Thursday 15 July 2010 12:45:16 Daniel-Constantin Mierla wrote:
>>>        
>>>> the printing of error messagess is done by parser generator (i.e.,
>>>> bison), following pretty much the pattern with line and column. This
>>>> error comes from lexical analyzer/scanner (i.e., flex), so it is
>>>> different.
>>>>
>>>> I will add printing the line for this case as well, since it does not
>>>> return to bison, but exits.
>>>>          
>>> Umm ... so it's supposed to be my fault with something in the .cfg ? ...
>>> I was just trying to test the new include_file("file.cfg"); directive ...
>>>        
>> you have an error in the config, include file does not take parenthesis.
>>      
> Ejem, Ejem .... ;-)
>
> http://by-miconda.blogspot.com/2009/12/best-of-new-in-kamailio-300-1-include.html
> http://www.kamailio.org/dokuwiki/doku.php/features:new-in-3.0.x#cfg_include_support
>    

hmm, seemed to be the same source of error, copy&pasted -- I fixed both.

The core cookbook was fine:
http://www.kamailio.org/dokuwiki/doku.php/core-cookbook:3.0.x#include_file

Thanks,
Daniel


> No matter if I remove the () around the include_file ... still the same
> error ... but testing show me that also the ; are not needed ...
>
> Better if you could update the WiKi about the include_file directive.
>
> Now it loads, have other errors ... but thats ok.
>
>    

-- 
Daniel-Constantin Mierla
http://www.asipto.com/




More information about the sr-users mailing list