Also take a look at this post https://blog.opensips.org/2016/11/15/cancel-request-and-reason-header/

Regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  https://www.opensips-solutions.com
OpenSIPS eBootcamp 23rd May - 3rd June 2022
  https://opensips.org/training/OpenSIPS_eBootcamp_2022/

On 3/9/22 6:14 PM, Răzvan Crainea wrote:
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 <[email protected] <mailto:[email protected]>> wrote:

    Hi,

    If cancel request generated by opensips, then you can control it
    from local_route.

    --
    Nick

    ср, 9 мар. 2022 г. в 10:54, Sasmita Panda <[email protected]
    <mailto:[email protected]>>:

        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
        [email protected] <mailto:[email protected]>
        http://lists.opensips.org/cgi-bin/mailman/listinfo/users
<http://lists.opensips.org/cgi-bin/mailman/listinfo/users>


_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to