• 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 find out if an incoming call has h32

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





PostPosted: Sun Jul 27, 2008 10:08 am    Post subject: [Asterisk-video] How to find out if an incoming call has h32

Hi,
I installed h324m support for asterisk, and it works great with phones supporting 3g video calls.
I want to be able to distinguish phones that don't support 3g video calls, send them to another context in the dialplan, and make that a regular voice call.
Is there any way to do that?

Thanks,
Or Agam
Back to top
yusiang at yahoo.com
Guest





PostPosted: Tue Jul 29, 2008 2:10 am    Post subject: [Asterisk-video] How to find out if an incoming call has h32

Any idea how to find out if I am using chan_ss7? It doesn't carry transfer capability parameter and the patch 0010217 is only for chan_zap....

--- On Mon, 28/7/08, Klaus Darilion <klaus.mailinglists@pernau.at> wrote:

Quote:
From: Klaus Darilion <klaus.mailinglists@pernau.at>
Subject: Re: [Asterisk-video] How to find out if an incoming call has h324msupport
To: "Development discussion of video media support in Asterisk" <asterisk-video@lists.digium.com>
Date: Monday, 28 July, 2008, 3:20 PM
Joost Kuif | Mobillion schrieb:
> Hi Or,
>
> Use something like this:
>
> exten =>
s,10,GotoIf($[${TRANSFERCAPABILITY}!=DIGITAL]?11:20)

actually this checks only for digital calls, more accurate
is to check
the user information layer 1:

CHANNEL(userinformationlayer1)!=38

regards
kalus


>
> Grtz,
> Joost
>
>
------------------------------------------------------------------------
> *Van:* asterisk-video-bounces@lists.digium.com
> [mailto:asterisk-video-bounces@lists.digium.com]
*Namens *FastAgi FastAgi
> *Verzonden:* Sunday, July 27, 2008 1:00 PM
> *Aan:* asterisk-video@lists.digium.com
> *Onderwerp:* [Asterisk-video] How to find out if an
incoming call has
> h324msupport
>
> Hi,
> I installed h324m support for asterisk, and it works
great with phones
> supporting 3g video calls.
> I want to be able to distinguish phones that don't
support 3g video
> calls, send them to another context in the dialplan,
and make that a
> regular voice call.
> Is there any way to do that?
>
> Thanks,
> Or Agam
>
>
>
------------------------------------------------------------------------
>
> _______________________________________________
> --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


__________________________________________________________
Not happy with your email address?.
Get the one you really want - millions of new email addresses available now at Yahoo! http://uk.docs.yahoo.com/ymail/new.html

_______________________________________________
--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
yusiang at yahoo.com
Guest





PostPosted: Tue Jul 29, 2008 7:43 am    Post subject: [Asterisk-video] How to find out if an incoming call has h32

For time being, I am using an easier patch(but less accurate).

In l4isup.c

if (inmsg->iam.trans_medium == 0x02) { /* 64kbit unrestricted data */
pvt->is_digital = 1;
+ pbx_builtin_setvar_helper(pvt->owner, "TRANSFERCAPABILITY", "DIGITAL");
+ } else {
+ pbx_builtin_setvar_helper(pvt->owner, "TRANSFERCAPABILITY", "SPEECH");
}

Will find some time to patch the UL1 later, thanks.

--- On Tue, 29/7/08, Klaus Darilion <klaus.mailinglists@pernau.at> wrote:

Quote:
From: Klaus Darilion <klaus.mailinglists@pernau.at>
Subject: Re: [Asterisk-video] How to find out if an incoming call has h324msupport
To: "Development discussion of video media support in Asterisk" <asterisk-video@lists.digium.com>
Date: Tuesday, 29 July, 2008, 4:16 PM
Low Yu Siang schrieb:
> Any idea how to find out if I am using chan_ss7? It
doesn't carry
> transfer capability parameter and the patch 0010217 is
only for
> chan_zap....

Hi! You are correct - reading the UL1 of incoming calls was
not
implemented in chan_ss7. But it should be rather easy to do
it yourself
- take a look at the patch for chan_zap and func_chan. The
func_chan
part stays the same, you just have to port the chan_zap to
chan_ss7 to
fill the channel structure with the UL1 information.

regards
klaus

_______________________________________________
--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


__________________________________________________________
Not happy with your email address?.
Get the one you really want - millions of new email addresses available now at Yahoo! http://uk.docs.yahoo.com/ymail/new.html

_______________________________________________
--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
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™