That's exactly what he needs.

Regards,

David Villasmil
email: david.villasmil.w...@gmail.com
phone: +34669448337


On Fri, Jan 31, 2020 at 8:45 PM Alex Balashov <abalas...@evaristesys.com>
wrote:

> I understood Alfonso's question to implicitly be: how can I add a
> dynamic and variable Reason header to outgoing CANCELs?
>
> Perhaps I was mistaken. But if I'm not, as far as I know there is no
> means of doing that. Right?
>
> On Fri, Jan 31, 2020 at 08:37:48PM +0000, Henning Westerholt wrote:
>
> > 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-boun...@lists.kamailio.org> On Behalf Of
> Alfonso Pinto
> > Sent: Wednesday, January 29, 2020 8:04 PM
> > To: Kamailio (SER) - Users Mailing List <sr-users@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
>
> > _______________________________________________
> > Kamailio (SER) - Users Mailing List
> > sr-users@lists.kamailio.org
> > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
>
> --
> Alex Balashov | Principal | Evariste Systems LLC
>
> Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free)
> Web: http://www.evaristesys.com/, http://www.csrpswitch.com/
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to