Re: [OpenSIPS-Devel] [opensips] date format convert method that use in opensips.cfg (#378)

2014-11-04 Thread xiaoqiang.zhou
Hi Bogdan: yea, $time([tz:]format) that a best way. zhouxiaoqiang.mst...@gmail.com From: Bogdan Andrei IANCU Date: 2014-11-04 16:38 To: OpenSIPS/opensips CC: xiaoqiang.zhou Subject: Re: [opensips] date format convert method that use in opensips.cfg (#378) Well, adding

Re: [OpenSIPS-Devel] [opensips] date format convert method that use in opensips.cfg (#378)

2014-10-29 Thread xiaoqiang.zhou
Hi: I do it. if set GMT timezone for system, it will work fine. zhouxiaoqiang.mst...@gmail.com From: Di-Shi Sun Date: 2014-10-29 17:21 To: OpenSIPS/opensips CC: xiaoqiang.zhou Subject: Re: [opensips] date format convert method that use in opensips.cfg (#378) First, I was joking. It is

Re: [OpenSIPS-Devel] [opensips] date format convert method that use in opensips.cfg (#378)

2014-10-29 Thread xiaoqiang.zhou
CC: xiaoqiang.zhou Subject: Re: [opensips] date format convert method that use in opensips.cfg (#378) It is possible to use get_timestamp to generate date/time string in GMT. :) It should be easier and enough to add a pvar for time in GMT if you only want to generate SIP Date header. — Reply to

[OpenSIPS-Devel] [opensips] date format convert method that use in opensips.cfg (#378)

2014-10-28 Thread xiaoqiang.zhou
if the system timezone not use GMT, then can not got "GMT" format by $time pvar in opensips.cfg. but, SIP restricts the time zone in SIP-date to "GMT", while RFC 1123 allows any time zone. so, I think may be support a method that can covert date format. --- Reply to this email directly or vi