[SR-Users] tmrec_match function is not working
Daniel-Constantin Mierla
miconda at gmail.com
Fri Jan 3 10:28:36 CET 2014
Hello,
ok, I backported.
Happy new year,
Daniel
On 02/01/14 11:49, José Seabra wrote:
> Hello Daniel,
> It works, thanks for the reply and have a Happy new year
>
> Regards
>
>
> 2014/1/2 Daniel-Constantin Mierla <miconda at gmail.com
> <mailto:miconda at gmail.com>>
>
> Hello,
>
> try PT24H, the format for duration in rfc2445 requires some
> characters to specify the type of values. I updated the readme in
> master branch. If works, I will backport.
>
> Cheers,
> Daniel
>
>
> On 31/12/13 15:58, José Seabra wrote:
>> Hello,
>> I noticed that if i remove duration parameter the error "ERROR:
>> <core> [tmrec.c:1320]: tr_parse_recurrence_string(): failed to
>> parse time recurrence [20130101T080500|24H]" doesn't appear,
>> anyone can explain me if i'm doing something wrong on tmrec_match
>> function.
>>
>> Regards
>>
>>
>> 2013/12/30 José Seabra <joseseabra4 at gmail.com
>> <mailto:joseseabra4 at gmail.com>>
>>
>> Hi there,
>> I'm trying use tmrec_match in order to create routing rules
>> based on time, but without sucess, please have a look at my
>> code and the errors that i got:
>>
>> Code block:
>>
>> if(tmrec_match("20130101T080500|24H|weekly|||MO,TU,WE,TH,FR"))
>> {
>> xlog("L_INFO", "time match R=$ru ID=$ci\n");
>> }
>>
>>
>> Error:
>>
>> ERROR: <core> [tmrec.c:1320]: tr_parse_recurrence_string():
>> failed to parse time recurrence [20130101T080500|24H]
>>
>> My server has the following date/hour
>> Seg Dez 30 18:35:57 WET 2013
>>
>>
>> Thank for your help
>>
>>
>> --
>> Cumprimentos
>> José Seabra
>>
>>
>>
>>
>> --
>> Cumprimentos
>> José Seabra
>
> --
> Daniel-Constantin Mierla -http://www.asipto.com
> http://twitter.com/#!/miconda <http://twitter.com/#%21/miconda> -http://www.linkedin.com/in/miconda
>
>
>
>
> --
> Cumprimentos
> José Seabra
--
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20140103/7b9305bb/attachment.html>
More information about the sr-users
mailing list