[Asterisk-video] How to if video call is comming?

Borja SIXTO borja.sixto at i6net.com
Wed May 13 05:10:38 CDT 2009


Hi Zelalem,

Yes that is possible.
You have a signaling information in the SETUP packet (in case of ISDN, 
you have a similar data in SS7) :

Traces from PRI :
< Bearer Capability (len= 5) [ Ext: 1  Q.931 Std: 0  Info transfer 
capability: Unrestricted digital information (8)
<                              Ext: 1  Trans mode/rate: 64kbps, 
circuit-mode (16)
<                                User information layer 1: H.223/H.245 
Multimedia (38)

You will probably need to patch your Asterisk to be able to differe the 
2 calls (audio and video).
Normally, after patching the Asterisk you will have an Asterisk Function 
called CHANNEL(transfercapability) to get and set the corresponding 
Signaling information.

exten => vxml,n,NoOp(${CHANNEL(transfercapability)})

Regards,


Borja from i6net



Zelalem Sintayehu a écrit :
> Hi all, I wanted to know if there is a mechanism to know if a call is 
> video call before answering it. I want to perform something if a call 
> is video, and do another thing if it is audio.
>
> Thank you.
>
> - Zelalem S.
>
>
> ------------------------------------------------------------------------
> Invite your mail contacts to join your friends list with Windows Live 
> Spaces. It's easy! Try it! 
> <http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us> 
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-video mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-video



More information about the asterisk-video mailing list