<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Thank you Borja for your prompt response. But I think I have still some questions. I am using Asterisk 1.4.21 version. So, what is the patch (where can I get it) for this particular version. BTW, I am also using the app_mp4 application. The other thing, does the CHANNEL function (that you mentioned) tell me if the call if video or audio? I mean I was expecting a return value that I can use for the GOTOIF function in extensions.conf file to go to a particular place if the call is video or audio. Please elaborate on this. Particularly, I don't understand the Traces from PRI section. I don't use ISDN at the moment.<br><br>Thank you.<br><br>- Zelalem S. <br><br><br>> Date: Wed, 13 May 2009 12:10:38 +0200<br>> From: borja.sixto@i6net.com<br>> To: asterisk-video@lists.digium.com<br>> Subject: Re: [Asterisk-video] How to if video call is comming?<br>> <br>> Hi Zelalem,<br>> <br>> Yes that is possible.<br>> You have a signaling information in the SETUP packet (in case of ISDN, <br>> you have a similar data in SS7) :<br>> <br>> Traces from PRI :<br>> < Bearer Capability (len= 5) [ Ext: 1 Q.931 Std: 0 Info transfer <br>> capability: Unrestricted digital information (8)<br>> < Ext: 1 Trans mode/rate: 64kbps, <br>> circuit-mode (16)<br>> < User information layer 1: H.223/H.245 <br>> Multimedia (38)<br>> <br>> You will probably need to patch your Asterisk to be able to differe the <br>> 2 calls (audio and video).<br>> Normally, after patching the Asterisk you will have an Asterisk Function <br>> called CHANNEL(transfercapability) to get and set the corresponding <br>> Signaling information.<br>> <br>> exten => vxml,n,NoOp(${CHANNEL(transfercapability)})<br>> <br>> Regards,<br>> <br>> <br>> Borja from i6net<br>> <br>> <br>> <br>> Zelalem Sintayehu a écrit :<br>> > Hi all, I wanted to know if there is a mechanism to know if a call is <br>> > video call before answering it. I want to perform something if a call <br>> > is video, and do another thing if it is audio.<br>> ><br>> > Thank you.<br>> ><br>> > - Zelalem S.<br>> ><br>> ><br>> > ------------------------------------------------------------------------<br>> > Invite your mail contacts to join your friends list with Windows Live <br>> > Spaces. It's easy! Try it! <br>> > <http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us> <br>> ><br>> > ------------------------------------------------------------------------<br>> ><br>> > _______________________________________________<br>> > --Bandwidth and Colocation Provided by http://www.api-digital.com--<br>> ><br>> > asterisk-video mailing list<br>> > To UNSUBSCRIBE or update options visit:<br>> > http://lists.digium.com/mailman/listinfo/asterisk-video<br>> <br>> _______________________________________________<br>> --Bandwidth and Colocation Provided by http://www.api-digital.com--<br>> <br>> asterisk-video mailing list<br>> To UNSUBSCRIBE or update options visit:<br>> http://lists.digium.com/mailman/listinfo/asterisk-video<br><br /><hr />What can you do with the new Windows Live? <a href='http://www.microsoft.com/windows/windowslive/default.aspx' target='_new'>Find out</a></body>
</html>