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

Zelalem Sintayehu zelalems at hotmail.com
Wed May 13 07:11:37 CDT 2009


Thank you! I will try to patch and use it.

Best regards,

- Zelalem S. 



> Date: Wed, 13 May 2009 13:00:50 +0200
> From: borja.sixto at i6net.com
> To: asterisk-video at lists.digium.com
> Subject: Re: [Asterisk-video] How to know if video call is comming?
> 
> Hi Zelalem,
> 
> If you are using SIP Video calls use :
> 
> exten => vxml,n,NoOp(${CHANNEL(videonativeformat)})
> 
> This return the Video Codec used for the call.
> 
> Regards,
> 
> 
> Borja
> 
> 
> Zelalem Sintayehu a écrit :
> > 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.
> >
> > Thank you.
> >
> > - Zelalem S.
> >
> >
> > > Date: Wed, 13 May 2009 12:10:38 +0200
> > > From: borja.sixto at i6net.com
> > > To: asterisk-video at lists.digium.com
> > > Subject: Re: [Asterisk-video] How to if video call is comming?
> > >
> > > 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
> > >
> > > _______________________________________________
> > > --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
> >
> > ------------------------------------------------------------------------
> > What can you do with the new Windows Live? Find out 
> > <http://www.microsoft.com/windows/windowslive/default.aspx>
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > --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
> 
> _______________________________________________
> --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 than messages–check out the rest of the Windows Live™.
http://www.microsoft.com/windows/windowslive/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-video/attachments/20090513/7916a0ff/attachment-0001.htm 


More information about the asterisk-video mailing list