Hi Girish,
when you use append_hf() the modification will not reflect on the message only when forwarded. So even if you add the Expired hdr, it will not be consider by registrar module.
More appropriate is to use "min_expires" registrar parameter.
Best regards, Marian
Girish wrote:
Hi,
--- Suvendu Sethi suvenduji@yahoo.co.in wrote:
Any idea, how to change registration timeout value in ser.cfg so that my phone register with the server every 5 minutes in place of default 1 minute.
Try adding these headers when you get REGISTER messages. Change 120 to any appropriate value you need: append_hf ("Expires: 120\r\n"); append_to_reply ("Expires: 120\r\n");
Cheers,
===== Girish Gopinath gr_sh2003@yahoo.com
__________________________________ Do you Yahoo!? Check out the new Yahoo! Front Page. www.yahoo.com
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers