<div>What is $HANGUPCAUSE set to after the Dial() ?</div><div><br></div><div>Asterisk is a b2bua, not a proxy, as you know. Often in my scripts I am paying attention to $HANGUPCAUSE and calling Hangup() with explicit arguments.</div>
<div><br></div><div>Ryan</div><div><br></div><div><div><div><div><br><div class="gmail_quote">On Fri, May 25, 2012 at 3:28 PM, alexandre Moutot <span dir="ltr"><<a href="mailto:a.moutot@alphalink.fr" target="_blank">a.moutot@alphalink.fr</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">It is ... What do you need to believe me ?<br>
<div class="HOEnZb"><div class="h5"><br>
----- Original Message -----<br>
> From: "Olle E. Johansson" <<a href="mailto:oej@edvina.net">oej@edvina.net</a>><br>
> To: "Asterisk Developers Mailing List" <<a href="mailto:asterisk-dev@lists.digium.com">asterisk-dev@lists.digium.com</a>><br>
> Sent: Friday, May 25, 2012 2:55:59 PM<br>
> Subject: Re: [asterisk-dev] Wrong SIP to SIP SIP Cause mapping<br>
> 25 maj 2012 kl. 14:17 skrev alexandre Moutot:<br>
><br>
> > Hello,<br>
> ><br>
> ><br>
> > I'm using asterisk v1.8 with a standard scenario, A Sip call from A<br>
> > to B through asterisk :<br>
> ><br>
> > A --SIP--> ASTERISK --SIP--> B<br>
> ><br>
> > The asterisk extension is :<br>
> > exten => _X.,1,Dial(SIP/B/${EXTEN},600)<br>
> > exten => _X.,n,Hangup()<br>
> ><br>
> > When B send a 404 back to the asterisk, the asterisk sends a 503 to<br>
> > A. It is the same with 403 and some others erroc code.<br>
> > I think it should send back to A the same error code.<br>
> ><br>
> > I have done tests with some versions:<br>
> > - 1.8.11.x : wrong sip cause mapping<br>
> > - 1.8.12.0 : wrong sip cause mapping<br>
> > - 1.8.13.0rc1 : wrong sip cause mapping<br>
> > - 1.10.3 : wrong sip cause mapping<br>
> > - 1.8.8.0 : works good<br>
> ><br>
> > Do i do something wrong or should i open a bug ?<br>
><br>
> We are not always sending the very same code, but a 4xx class code<br>
> should not be converted to a 5xx class.<br>
><br>
> /O<br>
> --<br>
> _____________________________________________________________________<br>
> -- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
><br>
> asterisk-dev mailing list<br>
> To UNSUBSCRIBE or update options visit:<br>
> <a href="http://lists.digium.com/mailman/listinfo/asterisk-dev" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-dev</a><br>
<br>
--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-dev mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-dev" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-dev</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Ryan Mitchell <<a href="mailto:rjm@tcl.net" target="_blank">rjm@tcl.net</a>><br>Telecom Logic, LLC<br>
<div><br></div></div></div></div></div>