you mean the 487 in for INVITE that was cancelled and not for the CANCEL itself ;).
if, you can use the onreply_route for the INVITE transaction and use "status" keyword to check the code -> append_hf() Regards, Bogdan rajib deka wrote: > Hi Bogdan, > > My situation as follows > > asterisk -> opensips -> SIP trunk > I am receiving 487 at asterisk from opensips for CANCEL. I want to add > a header to 487 from opensips reply or failure route, so that i can > parse it in asterisk to get the header. > > Regards > Rajib > On Thu, Mar 25, 2010 at 4:15 PM, Bogdan-Andrei Iancu > <[email protected] <mailto:[email protected]>> wrote: > > Hi Rajib, > > is this 487 reply received? if so, use onreply_route + append_hf("Foo: > bar \r\n"); > > Regards, > Bogdan > > rajib deka wrote: > > Hi List, > > > > is it possible to add a header to '487' response. I tried the > same in > > on_reply and failure route but I am not getting it at the UAC end. > > Regards > > -- > > Rajib Deka > > Software Engineer > > Servion Global Solution > > Chennai, India > > > > Mobile No: + 91 80157 09130 > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Users mailing list > > [email protected] <mailto:[email protected]> > > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > > > > -- > Bogdan-Andrei Iancu > www.voice-system.ro <http://www.voice-system.ro/> > > > _______________________________________________ > Users mailing list > [email protected] <mailto:[email protected]> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > > > > -- > Rajib Deka > Software Engineer > Servion Global Solution > Chennai, India > > Mobile No: + 91 80157 09130 > ------------------------------------------------------------------------ > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > -- Bogdan-Andrei Iancu www.voice-system.ro _______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
