<html 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=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.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>
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt">Hi.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">When using the attributes feature of the dispatcher module, is it possible to directly access/address an individual attribute directly?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">For example, if I use the following dispatcher text file:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">--<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"># line format<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"># setid(int) destination(sip uri) flags(int,opt) priority(int,opt) attributes(str,opt)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">1234 sip:10.10.10.10:5060;transport=tcp 0 0 attr1=red;attr2=blue<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">--<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">And this config snippet, I was hoping to be able to access the attribute with a variable.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">--<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">modparam("dispatcher", "attrs_pvname", "$vxavp(ds_attrs)")<br>
<br>
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">if(ds_is_from_list(1234,1)) {<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">                x_log(“L_NOTICE”,”attr1: $xavp(ds_attrs=>attr1)\n”);<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">}<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">--<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;color:#FB0207;background:white">Jason Park </span><span style="font-size:9.0pt;color:#6D6D6D;background:white">| Lead Engineer | Voice Services | </span><span style="font-size:9.0pt;font-family:Wingdings;color:#FB0007;background:white">¤</span><span style="font-size:2.0pt;font-family:"Times New Roman",serif;color:#FB0007;background:white"> <a href="http://www.target.com/"><span style="font-size:9.0pt;font-family:"Calibri",sans-serif;color:#813A5F">Target</span></a></span><span style="font-size:9.0pt;color:#6B006D;background:white"> </span><span style="font-size:9.0pt;color:#6D6D6D;background:white">|
 TNC | 816-273-8336</span><span style="font-size:11.0pt"><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>