<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:-webkit-standard;
        panose-1:0 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:"Book Antiqua";
        panose-1:2 4 6 2 5 3 5 3 3 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">If I manually pass a string value to rewriteuri it works, but if I pass the same string from a database value it doesn’t:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">if ($dbr(ra=>[0,4]) == "callfwd_noanswer") {    $<o:p></o:p></p>
<p class="MsoNormal">does not work <span style="font-family:Wingdings">à</span> rewriteuri("$dbr(ra=>[0,6])");<o:p></o:p></p>
<p class="MsoNormal">works <span style="font-family:Wingdings">à</span>                rewriteuri("sip:someone@somewhere");<o:p></o:p></p>
<p class="MsoNormal">                                append_branch();<o:p></o:p></p>
<p class="MsoNormal">                                route(0);<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto"><b><span style="font-size:14.0pt;font-family:"-webkit-standard",serif;color:#595959">Eric Hosch</span></b><span style="font-size:12.0pt;font-family:"-webkit-standard",serif"> <br>
</span><span style="font-size:12.0pt;font-family:"Book Antiqua",serif;color:#595959">Chief Engineer</span><span style="font-size:12.0pt;font-family:"-webkit-standard",serif"> <br>
</span><span style="font-size:12.0pt;font-family:"Book Antiqua",serif;color:#595959">KLBK-TV | KAMC-TV</span><span style="font-size:12.0pt;font-family:"-webkit-standard",serif"> <br>
</span><span style="font-size:12.0pt;font-family:"Book Antiqua",serif;color:#595959">7403 S. University Ave.</span><span style="font-size:12.0pt;font-family:"-webkit-standard",serif"> <br>
</span><span style="font-size:12.0pt;font-family:"Book Antiqua",serif;color:#595959">Lubbock, TX 79423</span><span style="font-size:12.0pt;font-family:"-webkit-standard",serif"> <br>
</span><span style="font-size:12.0pt;font-family:"Book Antiqua",serif;color:#595959">O <span style="background:white">•</span> <a href="tel:806.748.2208"><span style="color:#954F72">806.748.2208</span></a></span><span style="font-size:12.0pt;font-family:"-webkit-standard",serif"> <br>
</span><span style="font-size:12.0pt;font-family:"Book Antiqua",serif;color:#595959">F <span style="background:white">•</span> <a href="tel:806.748.2269"><span style="color:#954F72">806.748.2269</span></a></span><span style="font-size:12.0pt;font-family:"-webkit-standard",serif"> <br>
<a href="mailto:ehosch@klbk13.tv"><span style="color:#954F72">ehosch@klbk13.tv</span></a> <br>
<a href="http://www.everythinglubbock.com/"><span style="color:#954F72">www.everythinglubbock.com</span></a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif"><img border="0" width="482" height="69" style="width:5.0208in;height:.7187in" id="_x0000_i1025" src="http://i.imgur.com/NZGNHdV.png" alt="Nexstar Media Group, Inc. | everythinglubbock.com | KLBK-TV | KAMC-TV"></span><span style="font-size:10.0pt"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt">Nexstar Media Group, Inc. provides services for KAMC-TV and Mission Broadcasting, Inc. through an Outsourcing Agreement. KLBK and KAMC do not discriminate in advertising contracts on the basis of race, ethnicity
 or gender and further requires that in the performance of all KLBK/KAMC advertising agreements. KLBK/KAMC requires that each party not discriminate on the basis of race or ethnicity. This e-mail and any files transmitted with it are the property of NexstarMedia
 Group, Inc., are confidential, and are intended solely for the use of the individual or entity to whom this e-mail is addressed and/or as indicated in the applicable file. If you are not one of the named recipient(s) or otherwise have reason to believe that
 you have received this message in error, please notify the sender and delete this message immediately from your computer. Any other use, retention, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited.</span><span style="font-size:10.0pt"><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>