[OpenSIPS-Users] Need some help in adding custome header in Cancel Request .
Sasmita Panda
spanda at 3clogic.com
Fri Apr 1 06:19:31 UTC 2022
I had done this through t_add_cancel_reason[1].
Working for me . Thanks all .
*Thanks & Regards*
*Sasmita Panda*
*Senior Network Testing and Software Engineer*
*3CLogic , ph:07827611765*
On Thu, Mar 31, 2022 at 7:19 PM Bogdan-Andrei Iancu <bogdan at opensips.org>
wrote:
> 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 <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
> >
> > _______________________________________________
> > Users mailing list
> > Users at lists.opensips.org
> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20220401/5a573457/attachment-0001.html>
More information about the Users
mailing list