<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
28.09.2010 15:35, Philipp von Klitzing пишет:
<blockquote
cite="mid:4CA1D2FF.10654.AA5152C@klitzing.pool.informatik.rwth-aachen.de"
type="cite">
<pre wrap="">Hi!
</pre>
<blockquote type="cite">
<pre wrap="">Looks like I still don't understand how SHARED works :-(
exten=6052,n,Dial(SIP/6052,,M(test))
</pre>
</blockquote>
<br>
<pre wrap="">
exten=6052,n,Dial(SIP/6052,,M(test^${CHANNEL}))
</pre>
</blockquote>
Hello!<br>
<br>
Thank you!<br>
<br>
I can pass this constant , but I need RTCP stats<br>
<br>
And this<br>
<br>
[macro-test]
<br>
exten => s,1,NoOp(test ${CHANNEL}
)
<br>
exten => s,n,Set(SHARED(foo,${ARG1})=${CHANNEL(rtpqos,audio,all)}
) <br>
<br>
gives me stats on beginning of call, not at it's end...<br>
<br>
This is mentioned here <a class="moz-txt-link-freetext" href="http://www.voip-info.org/wiki/view/Asterisk+RTCP">http://www.voip-info.org/wiki/view/Asterisk+RTCP</a><br>
"<span style="font-family: monospace;">; - These RTCP stats provided by CHANNEL(rtpqos) apparently only show data for the last RTCP message we got!
"</span><br>
<br>
But, <span style="font-family: monospace;">looks like
${RTPAUDIOQOSJITTER} is not available at all:<br>
-- Executing [s@macro-test:2] Set("SIP/6052-000002b2",
"SHARED(foo,DAHDI/9-1)= ") in new stack<br>
<br>
As you see it is empty.<br>
<br>
Hmm,looks like I need to call macro at the end of call.<br>
Is it possible?<br>
<br>
Thank you!<br>
At least now I understand something ;-)<br>
<br>
<br>
</span>
</body>
</html>