Hello Qasim, I need to change it permanently. System date/time is correct. INVITE header always follows GMT irrespective of system's date/time zone. It would be nice if you can mention the steps to sync the system and INVITE header time permanently. Thanks,Kamlesh Date: Tue, 26 Feb 2013 12:30:55 +0500 From: [email protected] To: [email protected] Subject: Re: [asterisk-users] set time zone in sip debug logs
Hi Kamlesh, Asterisk give you very less control over SIP messaging. You can how ever add/remove/modify SIP headers from initial invite only. To modify a sip header you can use asterisk function "SIP_HEADER(<name>)". If you want to permanently change date why not change system date/time? Regards, -Qasim On Tue, Feb 26, 2013 at 11:13 AM, Kamlesh Kumar <[email protected]> wrote: Hello, Please suggest the way to change the time zone in below sip debug logs. INVITE sip:[email protected]:5060 SIP/2.0 Via: SIP/2.0/UDP xxx.xxx.xxx.xxx:5060;branch=z9hG4bK7bbd9;rport Max-Forwards: 70 From: "xxxxxxxxxx" <sip:[email protected]>;tag=as23a29r59 To: <sip:[email protected]:5060> Contact: <sip:[email protected]> Call-ID: [email protected] CSeq: 102 INVITE User-Agent: Asterisk PBX 1.6.2.9 Date: Tue, 26 Feb 2013 04:54:29 GMT Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO Supported: replaces, timer Content-Type: application/sdp Content-Length: 444 Thanks, Kamlesh -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
-- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
