28.09.2010 15:35, Philipp von Klitzing ?????:
Hi!

Looks like I still don't understand how SHARED works :-(

exten=6052,n,Dial(SIP/6052,,M(test))

exten=6052,n,Dial(SIP/6052,,M(test^${CHANNEL}))

Hello!

Thank you!

I can pass this constant , but I need RTCP stats

And this

[macro-test]
exten => s,1,NoOp(test ${CHANNEL} )
exten => s,n,Set(SHARED(foo,${ARG1})=${CHANNEL(rtpqos,audio,all)} )

gives me stats on beginning of call, not at it's end...

This is mentioned here http://www.voip-info.org/wiki/view/Asterisk+RTCP
"; - These RTCP stats provided by CHANNEL(rtpqos) apparently only show data for the last RTCP message we got! "

But, looks like ${RTPAUDIOQOSJITTER}  is not available at all:
-- Executing [...@macro-test:2] Set("SIP/6052-000002b2", "SHARED(foo,DAHDI/9-1)= ") in new stack

As you see it is empty.

Hmm,looks like I need to call macro at the end of call.
Is it possible?

Thank you!
At least now I understand something ;-)


-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to