Hello,
have you tried to use this parameter:
http://kamailio.org/docs/modules/stable/modules/tm.html#local_cancel_reason
Cheers,
Henning
--
Henning Westerholt –
https://skalatan.de/blog/
Kamailio services –
https://gilawa.com<https://gilawa.com/>
From: sr-users <sr-users-bounces(a)lists.kamailio.org> On Behalf Of Alfonso Pinto
Sent: Wednesday, January 29, 2020 8:04 PM
To: Kamailio (SER) - Users Mailing List <sr-users(a)lists.kamailio.org>
Subject: [SR-Users] Add Reason Header to kamailio generated CANCEL
Hi everyone,
I've got a specific case: when the inv_fr times out, I need to add a Reason header to
the CANCEL generated by kamailio. I've tried to see if I could do it in the
onsend_route, but that one is not triggered for the generated CANCEL. I also checked
event_route[tm:local-request], but that one isn't triggered either for the generated
CANCEL.
Is there any way to do it? Or maybe to have any pointer about where to look in the code so
I may try to trigger event_route[tm:local-request] for these generated CANCELs?
Regards,
Alfonso