[OpenSIPS-Users] TREX error letter expected

Bogdan-Andrei Iancu bogdan at voice-system.ro
Mon Jun 29 16:57:30 CEST 2009


Hi,

the problem is not the cfg file, but the data you have in DB, dialplan 
table - some of the rules from there is not properly formated (from a 
regexp point of view).

Please eliminated the rows you have one by one and see which is the 
guilty one. If you have doubts, please post is the rules.

Regards,
Bogdan

Opensips Philippines wrote:
> Thank you very much for the reply Brett.
>
> I haven't used it on my configuration.  The only thing I did relevant 
> for it is the dial plan configuration below on opensips.cfg.
>
> #dialplan
> loadmodule "dialplan.so"
> modparam("dialplan", 
> "db_url","mysql://opensips:xxxxxx@localhost/opensips")
> modparam("dialplan", "attrs_pvar", "$avp(s:dest)")
>
> Regards,
>
> al
>
> --- On *Fri, 6/26/09, Brett Nemeroff /<brett at nemeroff.com>/* wrote:
>
>
>     From: Brett Nemeroff <brett at nemeroff.com>
>     Subject: Re: [OpenSIPS-Users] TREX error letter expected
>     To: "Opensips Philippines" <opensips at yahoo.com>
>     Cc: users at lists.opensips.org
>     Date: Friday, June 26, 2009, 8:37 PM
>
>     This is likely a result of a failed regex. What's the regex you
>     are using? 
>
>
>     On Fri, Jun 26, 2009 at 1:39 PM, Opensips Philippines
>     <opensips at yahoo.com </mc/compose?to=opensips at yahoo.com>> wrote:
>
>         I am trying to activate the dial plan module but I am having
>         this error.
>
>         Initially, I tried version 1.5.1 then removed it.  I tried it
>         with 1.5.0 but still the same result.
>
>         Jun 27 10:36:31 [22004] INFO:core:init_tcp: using epoll_lt as
>         the TCP io watch method (auto detected)
>         Jun 27 10:36:31 [22006] NOTICE:core:main: version: opensips
>         1.5.1-notls (i386/linux)
>         Jun 27 10:36:31 [22006] INFO:core:main: using 32 Mb shared memory
>         Jun 27 10:36:31 [22006] INFO:core:main: using 1 Mb private
>         memory per process
>         Jun 27 10:36:31 [22006] NOTICE:signaling:mod_init:
>         initializing module ...
>         Jun 27 10:36:31 [22006] INFO:sl:mod_init: Initializing
>         StateLess engine
>         Jun 27 10:36:31 [22006] INFO:tm:mod_init: TM - initializing...
>         Jun 27 10:36:31 [22006] INFO:maxfwd:mod_init: initializing...
>         Jun 27 10:36:31 [22006] INFO:usrloc:ul_init_locks: locks array
>         size 512
>         Jun 27 10:36:31 [22006] INFO:registrar:mod_init: initializing...
>         Jun 27 10:36:31 [22006] INFO:textops:mod_init: initializing...
>         Jun 27 10:36:31 [22006] INFO:xlog:mod_init: initializing...
>         Jun 27 10:36:31 [22006] INFO:acc:mod_init: initializing...
>         Jun 27 10:36:31 [22006] INFO:dialog:mod_init: Dialog module -
>         initializing
>         Jun 27 10:36:31 [22006] INFO:siptrace:mod_init: initializing...
>         Jun 27 10:36:31 [22006] INFO:auth:mod_init: initializing...
>         Jun 27 10:36:31 [22006] INFO:auth_db:mod_init: initializing...
>         Jun 27 10:36:31 [22006] INFO:dialplan:mod_init: initializing
>         module...
>         Jun 27 10:36:31 [22006] ERROR:dialplan:trex_charnode: TREX
>         error letter expected 
>         Jun 27 10:36:31 [22006] ERROR:dialplan:trex_compile:
>         compilation error [letter expected]!
>         Jun 27 10:36:31 [22006] ERROR:dialplan:build_rule: failed to
>         compile match expression *
>         Jun 27 10:36:31 [22006] ERROR:dialplan:init_db_data: failed to
>         load database data
>         Jun 27 10:36:31 [22006] ERROR:dialplan:mod_init: could not
>         initialize data
>         Jun 27 10:36:31 [22006] ERROR:core:init_mod: failed to
>         initialize module dialplan
>         Jun 27 10:36:31 [22006] ERROR:core:main: error while
>         initializing modules
>
>         Please advise
>
>         Regards,
>
>         al
>
>
>
>         _______________________________________________
>         Users mailing list
>         Users at lists.opensips.org </mc/compose?to=Users at lists.opensips.org>
>         http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>   




More information about the Users mailing list