Re: [SR-Users] modulo operator

2011-03-01 Thread Daniel-Constantin Mierla

Hello,

On 2/28/11 9:15 PM, Klaus Darilion wrote:

Hi!

Using kamailio 3.1.1, I failed to use '%' as described in the core
cookbook. Using 'mod' instead seems to work.

% was used in SER for some attributes AFAIK -- looking at cfg.lex -- so 
I changed it to 'mod' only in 3.x. I should check again if the conflict 
really exists and/or can be avoided. For now using 'mod' is the option 
to go.


Cheers,
Daniel

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


___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] modulo operator

2011-03-01 Thread Klaus Darilion


Am 01.03.2011 09:46, schrieb Daniel-Constantin Mierla:
 Hello,
 
 On 2/28/11 9:15 PM, Klaus Darilion wrote:
 Hi!

 Using kamailio 3.1.1, I failed to use '%' as described in the core
 cookbook. Using 'mod' instead seems to work.

 % was used in SER for some attributes AFAIK -- looking at cfg.lex -- so
 I changed it to 'mod' only in 3.x. I should check again if the conflict
 really exists and/or can be avoided. For now using 'mod' is the option
 to go.

I added some text to the core coookbooks.

regards
klaus

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] modulo operator

2011-03-01 Thread Daniel-Constantin Mierla



On 3/1/11 10:26 AM, Klaus Darilion wrote:


Am 01.03.2011 09:46, schrieb Daniel-Constantin Mierla:

Hello,

On 2/28/11 9:15 PM, Klaus Darilion wrote:

Hi!

Using kamailio 3.1.1, I failed to use '%' as described in the core
cookbook. Using 'mod' instead seems to work.


% was used in SER for some attributes AFAIK -- looking at cfg.lex -- so
I changed it to 'mod' only in 3.x. I should check again if the conflict
really exists and/or can be avoided. For now using 'mod' is the option
to go.

I added some text to the core coookbooks.

Thanks,
Daniel

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


___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] modulo operator

2011-02-28 Thread Klaus Darilion
Hi!

Using kamailio 3.1.1, I failed to use '%' as described in the core
cookbook. Using 'mod' instead seems to work.

regards
Klaus

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users