<span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); ">Hello Leandro,<div><br></div><div>Can you tell me a short example about how can i use what you gave me for instance suppose i want to use <span style="font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); ">{ &quot;txjitter&quot;,              DBL, { .d8 = &amp;stats.txjitter, }, }, how can i set it in CDR variable like mine:</span></div>
<div><font face="arial, sans-serif">exten =&gt; h,n,set(CDR(ljitt)=${CHANNEL(rtpqos,audio,local_jitter)})<br></font></div><div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">Thank you.</font></div>
</span><br><div class="gmail_quote">On Mon, Sep 5, 2011 at 10:58 PM, Leandro Dardini <span dir="ltr">&lt;<a href="mailto:ldardini@gmail.com">ldardini@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="gmail_quote">2011/9/5 Catalin S. <span dir="ltr">&lt;<a href="mailto:jonsonplayer@gmail.com" target="_blank">jonsonplayer@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div></div><div class="h5">
<span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)"><span title="Salut," style="background-color:rgb(255, 255, 255)">Hello, <br>
<br></span><span title="Am o problema cu niste variabile in 1.8.6.0." style="background-color:rgb(235, 239, 249)">I have a problem with some variables in 1.8.6.0. I</span><span title="Am setat asa pe o extensie:"> set on extension the following lines:<br>


<br></span><span title="exten =&gt; h,n,set(CDR(llp)=${CHANNEL(rtpqos,audio,local_lostpackets)}) ; lost packets by local end **">exten =&gt; h, n, Set (CDR (LLP) = $ {CHANNEL (rtpqos, audio, local_lostpackets)})          ; lost packets by local end ** <br>


</span><span title="exten =&gt; h,n,set(CDR(rlp)=${CHANNEL(rtpqos,audio,remote_lostpackets)}) ; lost packets by remote end">exten =&gt; h, n, Set (CDR (PCR) = $ {CHANNEL (rtpqos, audio, remote_lostpackets)})     ; lost packets by remote end <br>


</span><span title="exten =&gt; h,n,set(CDR(ljitt)=${CHANNEL(rtpqos,audio,local_jitter)}) ; the same for jitter">exten =&gt; h, n, Set (CDR (ljitt) = $ {CHANNEL (rtpqos, audio, local_jitter)})                          ; the Same for jitter <br>


<br></span><span title="Teoretic asta ar trebui sa-mi arunce in MYSQL intr-o tabela aceste valori insa nu le poate citi.">Theoretically this should  throw these variables in a table in MySQL but these values ​​cannot  be readed. </span><span title="Cred ca este o alta sintaxa in 1.8.">I think it&#39;s a different syntax in 1.8. <br>


<br></span><span title="Imi da asta:" style="background-color:rgb(255, 255, 255)">I gave this error: <br><br>    </span><span title="-- Executing [h@macro-special1:11] Set(&quot;SIP/1010-00000002&quot;, &quot;CDR(llp)=&quot;) in new stack">- Executing [h @ macro-special1: 11] Set (&quot;SIP/1010-00000002&quot;, &quot;CDR (LLP) =&quot;) in new stack <br>


</span><span title="[Sep 5 22:39:33] WARNING[14432]: sip/dialplan_functions.c:221 sip_acf_channel_read: Unrecognized argument &#39;rtpqos,audio,remote_lostpackets&#39; to CHANNEL" style="background-color:rgb(255, 255, 255)">[September 5 22:39:33] WARNING [14432]: SIP / dialplan_functions.c: 221 sip_acf_channel_read: Unrecognized argument &#39;rtpqos, audio, remote_lostpackets&#39; to CHANNEL <br>


</span><span title="[Sep 5 22:39:33] WARNING[14432]: func_channel.c:393 func_channel_read: Unknown or unavailable item requested: &#39;rtpqos,audio,remote_lostpackets&#39;" style="background-color:rgb(255, 255, 255)">[September 5 22:39:33] WARNING [14432]: func_channel.c: 393 func_channel_read: Unknown or unavailable item Requested &#39;rtpqos, audio, remote_lostpackets&#39; <br>


<br>    </span><span title="-- Executing [h@macro-special1:12] Set(&quot;SIP/1010-00000002&quot;, &quot;CDR(rlp)=&quot;) in new stack" style="background-color:rgb(255, 255, 255)">- Executing [h @ macro-special1: 12] Set (&quot;SIP/1010-00000002&quot;, &quot;CDR (PCR) =&quot;) in new stack <br>


</span><span title="[Sep 5 22:39:33] WARNING[14432]: sip/dialplan_functions.c:221 sip_acf_channel_read: Unrecognized argument &#39;rtpqos,audio,local_jitter&#39; to CHANNEL" style="background-color:rgb(255, 255, 255)">[September 5 22:39:33] WARNING [14432]: SIP / dialplan_functions.c: 221 sip_acf_channel_read: Unrecognized argument &#39;rtpqos, audio, local_jitter&#39; to CHANNEL <br>


</span><span title="[Sep 5 22:39:33] WARNING[14432]: func_channel.c:393 func_channel_read: Unknown or unavailable item requested: &#39;rtpqos,audio,local_jitter&#39;" style="background-color:rgb(255, 255, 255)">[September 5 22:39:33] WARNING [14432]: func_channel.c: 393 func_channel_read: Unknown or unavailable item Requested &#39;rtpqos, audio, local_jitter&#39; <br>


<br>    </span><span title="-- Executing [h@macro-special1:13] Set(&quot;SIP/1010-00000002&quot;, &quot;CDR(ljitt)=&quot;) in new stack" style="background-color:rgb(255, 255, 255)">- Executing [h @ macro-special1: 13] Set (&quot;SIP/1010-00000002&quot;, &quot;CDR (ljitt) =&quot;) in new stack <br>


</span><span title="[Sep 5 22:39:33] WARNING[14432]: sip/dialplan_functions.c:221 sip_acf_channel_read: Unrecognized argument &#39;rtpqos,audio,remote_jitter&#39; to CHANNEL" style="background-color:rgb(255, 255, 255)">[September 5 22:39:33] WARNING [14432]: SIP / dialplan_functions.c: 221 sip_acf_channel_read: Unrecognized argument &#39;rtpqos, audio, remote_jitter&#39; to CHANNEL <br>


</span><span title="[Sep 5 22:39:33] WARNING[14432]: func_channel.c:393 func_channel_read: Unknown or unavailable item requested: &#39;rtpqos,audio,remote_jitter&#39;" style="background-color:rgb(255, 255, 255)">[September 5 22:39:33] WARNING [14432]: func_channel.c: 393 func_channel_read: Unknown or unavailable item Requested &#39;rtpqos, audio, remote_jitter&#39; <br>


<br></span><span title="Ai idee cum as putea sa rezolv?" style="background-color:rgb(255, 255, 255)">Any idea how I can fix? <br><br></span><span title="Merci">Best regards,</span></span><div><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)"><span title="Merci">Jonson.</span></span></div>


<br></div></div>--<br></blockquote><div><br></div><div><br></div><div> It is really simple, a patch of few months ago renamed the vars, but forget to update the documentation. You have to &quot;use the source&quot; for finding the new variable names. I paste here the part of the code for your easy viewing...</div>

<div><br></div><div><div>                               { &quot;txcount&quot;,               INT, { .i4 = &amp;stats.txcount, }, },</div><div>                                { &quot;rxcount&quot;,               INT, { .i4 = &amp;stats.rxcount, }, },</div>

<div>                                { &quot;txjitter&quot;,              DBL, { .d8 = &amp;stats.txjitter, }, },</div><div>                                { &quot;rxjitter&quot;,              DBL, { .d8 = &amp;stats.rxjitter, }, },</div>

<div>                                { &quot;remote_maxjitter&quot;,      DBL, { .d8 = &amp;stats.remote_maxjitter, }, },</div><div>                                { &quot;remote_minjitter&quot;,      DBL, { .d8 = &amp;stats.remote_minjitter, }, },</div>

<div>                                { &quot;remote_normdevjitter&quot;,  DBL, { .d8 = &amp;stats.remote_normdevjitter, }, },</div><div>                                { &quot;remote_stdevjitter&quot;,    DBL, { .d8 = &amp;stats.remote_stdevjitter, }, },</div>

<div>                                { &quot;local_maxjitter&quot;,       DBL, { .d8 = &amp;stats.local_maxjitter, }, },</div><div>                                { &quot;local_minjitter&quot;,       DBL, { .d8 = &amp;stats.local_minjitter, }, },</div>

<div>                                { &quot;local_normdevjitter&quot;,   DBL, { .d8 = &amp;stats.local_normdevjitter, }, },</div><div>                                { &quot;local_stdevjitter&quot;,     DBL, { .d8 = &amp;stats.local_stdevjitter, }, },</div>

<div>                                { &quot;txploss&quot;,               INT, { .i4 = &amp;stats.txploss, }, },</div><div>                                { &quot;rxploss&quot;,               INT, { .i4 = &amp;stats.rxploss, }, },</div>

<div>                                { &quot;remote_maxrxploss&quot;,     DBL, { .d8 = &amp;stats.remote_maxrxploss, }, },</div><div>                                { &quot;remote_minrxploss&quot;,     DBL, { .d8 = &amp;stats.remote_minrxploss, }, },</div>

<div>                                { &quot;remote_normdevrxploss&quot;, DBL, { .d8 = &amp;stats.remote_normdevrxploss, }, },</div><div>                                { &quot;remote_stdevrxploss&quot;,   DBL, { .d8 = &amp;stats.remote_stdevrxploss, }, },</div>

<div>                                { &quot;local_maxrxploss&quot;,      DBL, { .d8 = &amp;stats.local_maxrxploss, }, },</div><div>                                { &quot;local_minrxploss&quot;,      DBL, { .d8 = &amp;stats.local_minrxploss, }, },</div>

<div>                                { &quot;local_normdevrxploss&quot;,  DBL, { .d8 = &amp;stats.local_normdevrxploss, }, },</div><div>                                { &quot;local_stdevrxploss&quot;,    DBL, { .d8 = &amp;stats.local_stdevrxploss, }, },</div>

<div>                                { &quot;rtt&quot;,                   DBL, { .d8 = &amp;stats.rtt, }, },</div><div>                                { &quot;maxrtt&quot;,                DBL, { .d8 = &amp;stats.maxrtt, }, },</div>

<div>                                { &quot;minrtt&quot;,                DBL, { .d8 = &amp;stats.minrtt, }, },</div><div>                                { &quot;normdevrtt&quot;,            DBL, { .d8 = &amp;stats.normdevrtt, }, },</div>

<div>                                { &quot;stdevrtt&quot;,              DBL, { .d8 = &amp;stats.stdevrtt, }, },</div><div>                                { &quot;local_ssrc&quot;,            INT, { .i4 = &amp;stats.local_ssrc, }, },</div>

<div>                                { &quot;remote_ssrc&quot;,           INT, { .i4 = &amp;stats.remote_ssrc, }, },</div></div><div><br></div><font color="#888888"><div>Leandro</div></font></div>
<br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
               <a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br>