<div class="gmail_quote">2011/9/5 Catalin S. <span dir="ltr"><<a href="mailto:jonsonplayer@gmail.com">jonsonplayer@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<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 => h,n,set(CDR(llp)=${CHANNEL(rtpqos,audio,local_lostpackets)}) ; lost packets by local end **">exten => h, n, Set (CDR (LLP) = $ {CHANNEL (rtpqos, audio, local_lostpackets)}) ; lost packets by local end ** <br>
</span><span title="exten => h,n,set(CDR(rlp)=${CHANNEL(rtpqos,audio,remote_lostpackets)}) ; lost packets by remote end">exten => h, n, Set (CDR (PCR) = $ {CHANNEL (rtpqos, audio, remote_lostpackets)}) ; lost packets by remote end <br>
</span><span title="exten => h,n,set(CDR(ljitt)=${CHANNEL(rtpqos,audio,local_jitter)}) ; the same for jitter">exten => 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'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("SIP/1010-00000002", "CDR(llp)=") in new stack">- Executing [h @ macro-special1: 11] Set ("SIP/1010-00000002", "CDR (LLP) =") 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 'rtpqos,audio,remote_lostpackets' 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 'rtpqos, audio, remote_lostpackets' 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: 'rtpqos,audio,remote_lostpackets'" 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 'rtpqos, audio, remote_lostpackets' <br>
<br> </span><span title="-- Executing [h@macro-special1:12] Set("SIP/1010-00000002", "CDR(rlp)=") in new stack" style="background-color:rgb(255, 255, 255)">- Executing [h @ macro-special1: 12] Set ("SIP/1010-00000002", "CDR (PCR) =") 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 'rtpqos,audio,local_jitter' 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 'rtpqos, audio, local_jitter' 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: 'rtpqos,audio,local_jitter'" 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 'rtpqos, audio, local_jitter' <br>
<br> </span><span title="-- Executing [h@macro-special1:13] Set("SIP/1010-00000002", "CDR(ljitt)=") in new stack" style="background-color:rgb(255, 255, 255)">- Executing [h @ macro-special1: 13] Set ("SIP/1010-00000002", "CDR (ljitt) =") 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 'rtpqos,audio,remote_jitter' 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 'rtpqos, audio, remote_jitter' 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: 'rtpqos,audio,remote_jitter'" 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 'rtpqos, audio, remote_jitter' <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>--<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 "use the source" for finding the new variable names. I paste here the part of the code for your easy viewing...</div>
<div><br></div><div><div> { "txcount", INT, { .i4 = &stats.txcount, }, },</div><div> { "rxcount", INT, { .i4 = &stats.rxcount, }, },</div>
<div> { "txjitter", DBL, { .d8 = &stats.txjitter, }, },</div><div> { "rxjitter", DBL, { .d8 = &stats.rxjitter, }, },</div>
<div> { "remote_maxjitter", DBL, { .d8 = &stats.remote_maxjitter, }, },</div><div> { "remote_minjitter", DBL, { .d8 = &stats.remote_minjitter, }, },</div>
<div> { "remote_normdevjitter", DBL, { .d8 = &stats.remote_normdevjitter, }, },</div><div> { "remote_stdevjitter", DBL, { .d8 = &stats.remote_stdevjitter, }, },</div>
<div> { "local_maxjitter", DBL, { .d8 = &stats.local_maxjitter, }, },</div><div> { "local_minjitter", DBL, { .d8 = &stats.local_minjitter, }, },</div>
<div> { "local_normdevjitter", DBL, { .d8 = &stats.local_normdevjitter, }, },</div><div> { "local_stdevjitter", DBL, { .d8 = &stats.local_stdevjitter, }, },</div>
<div> { "txploss", INT, { .i4 = &stats.txploss, }, },</div><div> { "rxploss", INT, { .i4 = &stats.rxploss, }, },</div>
<div> { "remote_maxrxploss", DBL, { .d8 = &stats.remote_maxrxploss, }, },</div><div> { "remote_minrxploss", DBL, { .d8 = &stats.remote_minrxploss, }, },</div>
<div> { "remote_normdevrxploss", DBL, { .d8 = &stats.remote_normdevrxploss, }, },</div><div> { "remote_stdevrxploss", DBL, { .d8 = &stats.remote_stdevrxploss, }, },</div>
<div> { "local_maxrxploss", DBL, { .d8 = &stats.local_maxrxploss, }, },</div><div> { "local_minrxploss", DBL, { .d8 = &stats.local_minrxploss, }, },</div>
<div> { "local_normdevrxploss", DBL, { .d8 = &stats.local_normdevrxploss, }, },</div><div> { "local_stdevrxploss", DBL, { .d8 = &stats.local_stdevrxploss, }, },</div>
<div> { "rtt", DBL, { .d8 = &stats.rtt, }, },</div><div> { "maxrtt", DBL, { .d8 = &stats.maxrtt, }, },</div>
<div> { "minrtt", DBL, { .d8 = &stats.minrtt, }, },</div><div> { "normdevrtt", DBL, { .d8 = &stats.normdevrtt, }, },</div>
<div> { "stdevrtt", DBL, { .d8 = &stats.stdevrtt, }, },</div><div> { "local_ssrc", INT, { .i4 = &stats.local_ssrc, }, },</div>
<div> { "remote_ssrc", INT, { .i4 = &stats.remote_ssrc, }, },</div></div><div><br></div><div>Leandro</div></div>