Hi Bruno, Would this option suit your use-case?
http://kamailio.org/docs/modules/4.4.x/modules/tm.html#local_cancel_reason -- Alex On 05/20/2016 02:42 PM, Bruno Emer wrote:
Hello all! I have a situation here where when I send a INVITE to some specific user-agents in my environment I must change the fr_timer to a value lower than the default. I can acomplish this using the "t_set_fr" commands in my cfg file, and it works like a charm. The point is that when the timer reaches its limit, the kamailio server sends a CANCEL message to the user-agent. I know that this is the normal behavior, but I want to add the Reason field on it, so the user-agent application can know that the call wasn't answered on time. I was looking the TM module documentation to understand how to do this, but I couldn't figure out a way to get this working. Is there a way to add the Reason in CANCEL messages generated by the fr_timer? Thanks. *_ _* *_ _* *_Bruno Emer_* Mobile: +55 11 96540-0044 email: brunoe...@gmail.com <mailto:brunoe...@gmail.com> <https://www.facebook.com/bruno.emer.5><https://www.linkedin.com/profile/view?id=86461237&trk=spm_pic><https://twitter.com/brunoemer_><https://www.flickr.com/photos/122070309@N03/><http://google.com/+BrunoEmer><http://instagram.com/brunoemer_> _______________________________________________ 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
-- Alex Balashov | Principal | Evariste Systems LLC 1447 Peachtree Street NE, Suite 700 Atlanta, GA 30309 United States Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct) Web: http://www.evaristesys.com/, http://www.csrpswitch.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