Hello everyone !
I am trying to modify the "200 OK canceling" response that is locally generated by Kamailio when handling a CANCEL request. So far, I haven’t found a way to do this. Specifically, I would like to change the host part of the From and To headers in that response. Is there a way to perform such a modification?
Thanks a lot, Regards, Olivier
Try this one
https://www.kamailio.org/docs/modules/stable/modules/tm.html#tm.e.local-resp...
On Fri, Aug 29, 2025, 09:59 Olivier Thomas via sr-users < sr-users@lists.kamailio.org> wrote:
Hello everyone !
I am trying to modify the "200 OK canceling" response that is locally generated by Kamailio when handling a CANCEL request. So far, I haven’t found a way to do this. Specifically, I would like to change the host part of the From and To headers in that response. Is there a way to perform such a modification?
Thanks a lot, Regards, Olivier __________________________________________________________ Kamailio - Users Mailing List - Non Commercial Discussions -- sr-users@lists.kamailio.org To unsubscribe send an email to sr-users-leave@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender!
Unfortunately, the event_route[tm:local-response] is executed after the response is sent out.
Olivier.
Le ven. 29 août 2025 à 10:52, Yuriy G ovoshlook@gmail.com a écrit :
Try this one
https://www.kamailio.org/docs/modules/stable/modules/tm.html#tm.e.local-resp...
On Fri, Aug 29, 2025, 09:59 Olivier Thomas via sr-users < sr-users@lists.kamailio.org> wrote:
Hello everyone !
I am trying to modify the "200 OK canceling" response that is locally generated by Kamailio when handling a CANCEL request. So far, I haven’t found a way to do this. Specifically, I would like to change the host part of the From and To headers in that response. Is there a way to perform such a modification?
Thanks a lot, Regards, Olivier __________________________________________________________ Kamailio - Users Mailing List - Non Commercial Discussions -- sr-users@lists.kamailio.org To unsubscribe send an email to sr-users-leave@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender!