<div>Yes :), CANCEL message send by asterisk to cancel the INVITE. Thank you.</div>
<div> </div>
<div>Regards</div>
<div>Rajib <br><br></div>
<div class="gmail_quote">On Thu, Mar 25, 2010 at 6:55 PM, Bogdan-Andrei Iancu <span dir="ltr">&lt;<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">you mean the 487 in for INVITE that was cancelled and not for the CANCEL<br>itself ;).<br><br>if, you can use the onreply_route for the INVITE transaction and use<br>
&quot;status&quot; keyword to check the code -&gt; append_hf()<br>
<div class="im"><br><br>Regards,<br>Bogdan<br><br>rajib deka wrote:<br></div>
<div class="im">&gt; Hi Bogdan,<br>&gt;<br>&gt; My situation as follows<br>&gt;<br>&gt; asterisk -&gt; opensips -&gt; SIP trunk<br>&gt; I am receiving 487 at asterisk from opensips for CANCEL. I want to add<br>&gt; a header to 487 from opensips reply or failure route, so that i can<br>
&gt; parse it in asterisk to get the header.<br>&gt;<br>&gt; Regards<br>&gt; Rajib<br>&gt; On Thu, Mar 25, 2010 at 4:15 PM, Bogdan-Andrei Iancu<br></div>
<div class="im">&gt; &lt;<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a> &lt;mailto:<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a>&gt;&gt; wrote:<br>&gt;<br>&gt;     Hi Rajib,<br>&gt;<br>
&gt;     is this 487 reply received? if so, use onreply_route + append_hf(&quot;Foo:<br>&gt;     bar \r\n&quot;);<br>&gt;<br>&gt;     Regards,<br>&gt;     Bogdan<br>&gt;<br>&gt;     rajib deka wrote:<br>&gt;     &gt; Hi List,<br>
&gt;     &gt;<br>&gt;     &gt; is it possible to add a header to &#39;487&#39; response. I tried the<br>&gt;     same in<br>&gt;     &gt; on_reply and failure route but I am not getting it at the UAC end.<br>&gt;     &gt; Regards<br>
&gt;     &gt; --<br>&gt;     &gt; Rajib Deka<br>&gt;     &gt; Software Engineer<br>&gt;     &gt; Servion Global Solution<br>&gt;     &gt; Chennai, India<br>&gt;     &gt;<br>&gt;     &gt; Mobile No: + 91 80157 09130<br>&gt;     &gt;<br>
&gt;     ------------------------------------------------------------------------<br>&gt;     &gt;<br>&gt;     &gt; _______________________________________________<br>&gt;     &gt; Users mailing list<br></div>&gt;     &gt; <a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a> &lt;mailto:<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>&gt;<br>

<div class="im">&gt;     &gt; <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>&gt;     &gt;<br>&gt;<br>&gt;<br>&gt;     --<br>
&gt;     Bogdan-Andrei Iancu<br></div>&gt;     <a href="http://www.voice-system.ro/" target="_blank">www.voice-system.ro</a> &lt;<a href="http://www.voice-system.ro/" target="_blank">http://www.voice-system.ro/</a>&gt;<br>
&gt;<br>&gt;<br>&gt;     _______________________________________________<br>&gt;     Users mailing list<br>&gt;     <a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a> &lt;mailto:<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>&gt;<br>

<div>
<div></div>
<div class="h5">&gt;     <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt; --<br>&gt; Rajib Deka<br>
&gt; Software Engineer<br>&gt; Servion Global Solution<br>&gt; Chennai, India<br>&gt;<br>&gt; Mobile No: + 91 80157 09130<br>&gt; ------------------------------------------------------------------------<br>&gt;<br>&gt; _______________________________________________<br>
&gt; Users mailing list<br>&gt; <a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>&gt; <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
&gt;<br><br><br>--<br>Bogdan-Andrei Iancu<br><a href="http://www.voice-system.ro/" target="_blank">www.voice-system.ro</a><br><br><br>_______________________________________________<br>Users mailing list<br><a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br></div></div></blockquote></div><br><br clear="all"><br>-- <br>Rajib Deka<br>
Software Engineer<br>Servion Global Solution<br>Chennai, India<br><br>Mobile No: + 91 80157 09130<br>