[Serusers] Re: ser ottendorf flags does not parsing strings

samuel samu60 at gmail.com
Thu Nov 9 11:19:19 CET 2006


My own reply...

I mised the flags definition (NEWS file):

(...)
 - added named flags, declared at the beginning of the config file with:
     flags  flag1_name[:position],  flag2_name ...
   Example:
       flags test, a:1, b:2 ;
       route{
              setflag(test);
              if (isflagset(a)){ # equiv. to isflagset(1)
                ....
              }
              resetflag(b);  # equiv. to resetflag(2)
(...)

It still give me the str2s ERROR but SER starts. I have to check yet
if the flags are properly used in the config file

Samuel.
2006/11/8, samuel <samu60 at gmail.com>:
> I clicked on send button before finishing...too much work :P
>
> If I change "nat.uac" for an uppercase version, such as NAT_UAC, fixup
> function does not complain....
>
> 2006/11/8, samuel <samu60 at gmail.com>:
> > I can not use "nat.uac" and "nat.uas" as registrar flags:
> >
> >  0(12872) str2s: ERROR: unexpected char N in NATuac
> >  0(12872) set_mod_param_regex: 'registrar' matches module 'registrar'
> >  0(12872) find_param_export: found <load_nat_flag> in module registrar
> > [/usr/local/lib/ser/modules/registrar.so]
> >  0(12872) set_mod_param_regex: found <load_nat_flag> in module
> > registrar [/usr/local/lib/ser/modules/registrar.so]
> >  0(12872) str2s: ERROR: unexpected char N in NATuas
> >
>



More information about the sr-users mailing list