On 01/03/15 22:54, Anthony Messina wrote: > On Friday, February 27, 2015 07:08:05 AM Anthony Messina wrote: >> On Friday, February 27, 2015 11:53:22 Camille Oudot wrote: >>> Le Sat, 21 Feb 2015 12:47:08 -0600, >>> >>> >>> >>> Anthony Messina <amess...@messinet.com> a écrit : >>>> Good day. Is anyone able to let me in on what this means "WARNING: >>>> <core> [local_timer.c:83]: _local_timer_dist_tl(): 0 expire timer >>>> added"? I just started seeing this after pulling down 5c1a9df from >>>> git and it seems like something that I probably don't want happening. >>>> >>> Hi Anthony, >>> >>> Are you using TLS? I've just sent a patch to master that will fix an >>> issue I introduced with the per-socket lifetime on TLS connections. Can >>> you try it? >>> >>> -- >>> Camille >> Thanks Camille. I am using TLS, but I've had some long days at work. I'll >> rebuild and give it a shot this weekend. -A > I no longer see this issue. Thank you. I've added a check in onreply_route > for $avp(caller_conid)!=$null since it appears the AVP isn't always available > for some reason. -A > > > #!ifdef WITH_TCPOPS > if(proto!=UDP && status=="200") { > if(is_method("INVITE")) { > # enable on callee's connection > tcp_keepalive_enable("60", "5", "5"); > # enable on caller's connection > if($avp(caller_conid)!=$null) > tcp_keepalive_enable("$avp(caller_conid)", > "60", "5", "2"); > } > if(is_method("BYE")) { > tcp_keepalive_disable(); > tcp_keepalive_disable("$avp(bye_conid)"); > } > } > #!endif > } AVPs are available only the transaction transaction. It is in onreply_route[abc], not in reply_route. Also, what you set for INVITE transaction is not in the other requests of other transactions in the same call (such as BYE) -- use dialog vars for that.
Cheers, Daniel -- Daniel-Constantin Mierla http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda Kamailio World Conference, May 27-29, 2015 Berlin, Germany - http://www.kamailioworld.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