[OpenSER-Devel] syntax error on domain name containing "-" char

Daniel-Constantin Mierla miconda at gmail.com
Tue May 6 14:19:46 CEST 2008


Hello,

On 05/06/08 14:04, Juha Heinanen wrote:
> i had in openser.cfg
>
> alias=etch-2.test.fi:5060
>
> and got syntax errors:
>
> May  6 13:55:45 [3652] CRITICAL:core:yyerror: parse error in config file, line 291, column 12-13: syntax error
> May  6 13:55:45 [3652] CRITICAL:core:yyerror: parse error in config file, line 291, column 12-13: hostname expected (use quotes if the hostname includes config keywords)
> May  6 13:55:45 [3652] CRITICAL:core:yyerror: parse error in config file, line 291, column 13-14: 
> May  6 13:55:45 [3652] ERROR:core:main: bad config file (3 errors)
>
> they went away when i included etch-2.test.fi:5060 in quotes.
>
> is "-" a config keyword?
>   
There is an issue matching keywords in the domain names of aliases, 
reported on the tracker as well. For now, solution is to use quotes 
(grammar has to be refined a bit)
.
http://sourceforge.net/tracker/index.php?func=detail&aid=1799563&group_id=139143&atid=743020

Cheers,
Daniel

> -- juha
>
> _______________________________________________
> Devel mailing list
> Devel at lists.openser.org
> http://lists.openser.org/cgi-bin/mailman/listinfo/devel
>   

-- 
http://www.asipto.com




More information about the Devel mailing list