• News
  • Idefisk
  • Tools
  • Tutorials
  • Forum
  • Reviews
  • VoIP Providers
  • Archives
  • Gallery
ZOIPER softphone
AsteriskGuru Archives
Mailing List Archives
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

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

 
   AsteriskGuru Archives Forum Index -> Asterisk-Video
View previous topic :: View next topic  
Author Message
zelalems at hotmail.com
Guest





PostPosted: Wed May 13, 2009 9:46 am    Post subject: [Asterisk-video] How to know if video call is comming?

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.


Quote:
Date: Wed, 13 May 2009 12:10:38 +0200
From: borja.sixto@i6net.com
To: asterisk-video@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
Back to top
borja.sixto at i6net.com
Guest





PostPosted: Wed May 13, 2009 10:08 am    Post subject: [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 :
Quote:
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@i6net.com
> To: asterisk-video@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
Back to top
zelalems at hotmail.com
Guest





PostPosted: Wed May 13, 2009 11:23 am    Post subject: [Asterisk-video] How to know if video call is comming?

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

Best regards,

- Zelalem S.



Quote:
Date: Wed, 13 May 2009 13:00:50 +0200
From: borja.sixto@i6net.com
To: asterisk-video@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@i6net.com
> > To: asterisk-video@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
check out the rest of the Windows Live™. More than mail–Windows Live™ goes way beyond your inbox. More than messages
Back to top
borja.sixto at i6net.com
Guest





PostPosted: Wed May 13, 2009 11:43 am    Post subject: [Asterisk-video] How to know if video call is comming?

The patch is only for the ISDN Bearer Capability....
For SIP you not need to touch your Asterisk sources.

Regards,


Borja from i6net

Zelalem Sintayehu a écrit :
Quote:
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@i6net.com
> To: asterisk-video@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@i6net.com
> > > To: asterisk-video@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

------------------------------------------------------------------------
check out the rest of the Windows Live™. More than mail–Windows Live™
goes way beyond your inbox. More than messages
<http://www.microsoft.com/windows/windowslive/>
------------------------------------------------------------------------

_______________________________________________
--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
Back to top
zelalems at hotmail.com
Guest





PostPosted: Wed May 13, 2009 2:46 pm    Post subject: [Asterisk-video] How to know if video call is comming?

Thank you Borja, it works.

Best regards,

- Zelalem S.


Quote:
Date: Wed, 13 May 2009 14:38:31 +0200
From: borja.sixto@i6net.com
To: asterisk-video@lists.digium.com
Subject: Re: [Asterisk-video] How to know if video call is comming?

The patch is only for the ISDN Bearer Capability....
For SIP you not need to touch your Asterisk sources.

Regards,


Borja from i6net

Zelalem Sintayehu a écrit :
> 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@i6net.com
> > To: asterisk-video@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@i6net.com
> > > > To: asterisk-video@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
>
> ------------------------------------------------------------------------
> check out the rest of the Windows Live™. More than mail–Windows Live™
> goes way beyond your inbox. More than messages
> <http://www.microsoft.com/windows/windowslive/>
> ------------------------------------------------------------------------
>
> _______________________________________________
> --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
Windows Live™: Keep your life in sync. Check it out!
Back to top
Display posts from previous:   
   AsteriskGuru Archives Forum Index -> Asterisk-Video All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
contact us at: support@asteriskguru.com - asterisKGuru.com © all rights reserved   |   *asterisk is registered trademark of © Digium™