Detect video call in dialplan

Hi everyone!

Are there any solution to find out the calls identity (audio / audio&video) in the dialplan or AGI?
I would like to detect the video calls somehow.

I use SIPML5 + Webrtc2Sip + Asterisk 11

Thanks!

wiki.asterisk.org/wiki/display/ … on_CHANNEL

Also there are probably channel variable set with the codecs.