[OpenSIPS-Users] Need some help in adding custome header in Cancel Request .
Răzvan Crainea
razvan at opensips.org
Wed Mar 9 16:14:05 UTC 2022
Hi, Sasmita!
I actually don't think local_route is run for CANCEL messages.
You may want to try to add a more complex reason using
t_add_cancel_reason[1].
[1] https://opensips.org/docs/modules/3.2.x/tm.html#idp6205808
Best regards,
Răzvan Crainea
OpenSIPS Core Developer
http://www.opensips-solutions.com
On 3/9/22 12:07, Sasmita Panda wrote:
> My call flow is like below .
>
> A -- > INVITE TO OPENSIPS -- > B
> A -- > CANCEL TO OPENSIPS -- > B
>
> While A sends Cancel to Opensips (adds a custom header ) . When Opensips
> generates Cancel for B it won't add the custom header .
>
> This can be done by local_route ?
>
> */Thanks & Regards/*
> /Sasmita Panda/
> /Senior Network Testing and Software Engineer/
> /3CLogic , ph:07827611765/
>
>
> On Wed, Mar 9, 2022 at 3:27 PM Nick Altmann <nick at altmann.pro
> <mailto:nick at altmann.pro>> wrote:
>
> Hi,
>
> If cancel request generated by opensips, then you can control it
> from local_route.
>
> --
> Nick
>
> ср, 9 мар. 2022 г. в 10:54, Sasmita Panda <spanda at 3clogic.com
> <mailto:spanda at 3clogic.com>>:
>
> Hi All,
>
> Cancel is generated Hop by Hop . When the Opensips server
> receives a Cancel , Then it generates Cancel for the next party .
>
> I am adding a custom header in the Cancel request , but when the
> next Hop Cancel is getting generated that custom header is not
> getting added . How will I pass the custom header in the Cancel
> request to the destination ?
>
> */Thanks & Regards/*
> /Sasmita Panda/
> /Senior Network Testing and Software Engineer/
> /3CLogic , ph:07827611765/
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org <mailto:Users at lists.opensips.org>
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> <http://lists.opensips.org/cgi-bin/mailman/listinfo/users>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
More information about the Users
mailing list