<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Nick,<br>
<br>
maybe this will help?<br>
<br>
<span style="color: rgb(0, 0, 0); font-family: Verdana, Geneva,
Arial, Helvetica, sans-serif; font-size: 12px; font-style: normal;
font-variant: normal; font-weight: normal; letter-spacing: normal;
line-height: normal; orphans: auto; text-align: start;
text-indent: 0px; text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;
display: inline !important; float: none; background-color:
rgb(255, 255, 255);">exten => _XXX,n,Dial(SIP/${EXTEN})</span><br
style="color: rgb(0, 0, 0); font-family: Verdana, Geneva, Arial,
Helvetica, sans-serif; font-size: 12px; font-style: normal;
font-variant: normal; font-weight: normal; letter-spacing: normal;
line-height: normal; orphans: auto; text-align: start;
text-indent: 0px; text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255);">
<span style="color: rgb(0, 0, 0); font-family: Verdana, Geneva,
Arial, Helvetica, sans-serif; font-size: 12px; font-style: normal;
font-variant: normal; font-weight: normal; letter-spacing: normal;
line-height: normal; orphans: auto; text-align: start;
text-indent: 0px; text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;
display: inline !important; float: none; background-color:
rgb(255, 255, 255);">exten => _XXX,n,NoOp(SIP return code :
${HASH(SIP_CAUSE,${CDR(dstchannel)})})<br>
<br>
(<a class="moz-txt-link-freetext" href="http://www.voip-info.org/wiki/view/Asterisk+variable+hangupcause">http://www.voip-info.org/wiki/view/Asterisk+variable+hangupcause</a>)<br>
<br>
Markus<br>
</span><br>
<div class="moz-cite-prefix">Am 27.02.2015 um 18:56 schrieb Nick
Olsen:<br>
</div>
<blockquote cite="mid:c1ca6b85f71348aba01ba51371bf28fa@flhsi.com"
type="cite"><span style="font-family: Arial, Helvetica,
Sans-Serif; font-size: 12px">
<div>Hello Everyone.</div>
<div> </div>
<div>In my outbound contexts, I'm using "${DIALSTATUS}" to fail
over to other routes if the chosen route rejects the call.</div>
<div> </div>
<div>Now, My current scenario is if I get "BUSY" back from the
first provider, I send a busy back to my customer. If I get
something like CHANUNAVAIL (Like a SIP 503) I advance to the
next carrier and attempt the call.</div>
<div> </div>
<div>This works great as expected. However, One of my SIP
carriers likes to send back 603 "DECLINED" inplace of 503's.
Asterisk ${DIALSTATUS} treats this as "Busy". Can I change how
asterisk interprets a 603 Declined? So it treats is as
"CHANUNAVAIL"?</div>
<div> </div>
<div>The obvious quick fix is to change my "Busy" option to
attempt another carrier before finally returning BUSY to the
customer. But I was hoping to not have to do that. Any ideas?</div>
<div> </div>
<div>Nick Olsen<br>
<span style="font-size: 10pt; font-family:
arial,helvetica,sans-serif;">Network Operations</span>
<div>(855) FLSPEED x106<br>
<br>
<img moz-do-not-send="true" alt=""
src="http://www.flhsi.com/files/emaillogo.jpg" height="56"
width="168"></div>
</div>
</span>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
</blockquote>
<br>
</body>
</html>