[Asterisk-video] asterisk-video Digest, Vol 52, Issue 12
lemonash
lemonash2007 at gmail.com
Fri Aug 27 00:02:59 CDT 2010
Hi Klaus!
Thanks for help! That worked wonderfully!
2010/8/26 <asterisk-video-request at lists.digium.com>
> Send asterisk-video mailing list submissions to
> asterisk-video at lists.digium.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.digium.com/mailman/listinfo/asterisk-video
> or, via email, send a message with subject or body 'help' to
> asterisk-video-request at lists.digium.com
>
> You can reach the person managing the list at
> asterisk-video-owner at lists.digium.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of asterisk-video digest..."
>
>
> Today's Topics:
>
> 1. Variable Pass Through h324m_gw() (lemonash)
> 2. ??: Variable Pass Through h324m_gw() (Liu Jianquan)
> 3. Re: ??: Variable Pass Through h324m_gw() (Klaus Darilion)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 26 Aug 2010 02:43:58 -0400
> From: lemonash <lemonash2007 at gmail.com>
> Subject: [Asterisk-video] Variable Pass Through h324m_gw()
> To: asterisk-video at lists.digium.com
> Message-ID:
> <AANLkTinscoiX5eORuv9fMu42fp=NMDr-i7FBN9+CH4zG at mail.gmail.com<NMDr-i7FBN9%2BCH4zG at mail.gmail.com>
> >
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi folks!
>
> The following is my dialplan:
> [test1]
> exten => 120,1,Set(Digit="123")
> exten => 120,n,NoOp(${Digit})
> exten => 120,n,h324m_gw(ds at test2)
>
> [test2]
> exten => ds,1,h324m_gw_answer()
> exten => ds,n,NoOp(${Digit})
> exten => ds,n,Set(Name=${Digit})
>
>
> The variable Name in test2 is NULL!
> How can I get the variable from test1?
>
> Thanks!
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://lists.digium.com/pipermail/asterisk-video/attachments/20100826/7a79e88c/attachment-0001.htm
>
> ------------------------------
>
> Message: 2
> Date: Thu, 26 Aug 2010 15:01:34 +0800
> From: "Liu Jianquan" <liujianquan at gmail.com>
> Subject: [Asterisk-video] ??: Variable Pass Through h324m_gw()
> To: "Development discussion of video media support in Asterisk"
> <asterisk-video at lists.digium.com>
> Message-ID: <ODECJFLODNJNGOCMDNLAAEKMEKAA.liujianquan at gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
>
> [test1]
> exten => 120,1,Set(GLOBAL(Digit)="123")
>
>
>
>
> -----????-----
> ???: asterisk-video-bounces at lists.digium.com [mailto:
> asterisk-video-bounces at lists.digium.com]?? lemonash
> ????: 2010?8?26? 14:44
> ???: asterisk-video at lists.digium.com
> ??: [Asterisk-video] Variable Pass Through h324m_gw()
>
>
> Hi folks!
>
> The following is my dialplan:
> [test1]
> exten => 120,1,Set(Digit="123")
> exten => 120,n,NoOp(${Digit})
> exten => 120,n,h324m_gw(ds at test2)
>
> [test2]
> exten => ds,1,h324m_gw_answer()
> exten => ds,n,NoOp(${Digit})
> exten => ds,n,Set(Name=${Digit})
>
>
> The variable Name in test2 is NULL!
> How can I get the variable from test1?
>
> Thanks!
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://lists.digium.com/pipermail/asterisk-video/attachments/20100826/4364c87f/attachment-0001.htm
>
> ------------------------------
>
> Message: 3
> Date: Thu, 26 Aug 2010 09:58:29 +0200
> From: Klaus Darilion <klaus.mailinglists at pernau.at>
> Subject: Re: [Asterisk-video] ??: Variable Pass Through h324m_gw()
> To: Development discussion of video media support in Asterisk
> <asterisk-video at lists.digium.com>
> Message-ID: <4C761EA5.9050309 at pernau.at>
> Content-Type: text/plain; charset=UTF-8; format=flowed
>
>
>
> Am 26.08.2010 09:01, schrieb Liu Jianquan:
> > [test1]
> > exten => 120,1,Set(GLOBAL(Digit)="123")
>
> That would work, but can causes problems if you have concurrent calls as
> you are using a global variable.
>
> I think you can also workaround by using variable inheritance, e.g:
>
> ; use _ for one-time inheritance
> Set(_Digit=123)
> ; use __ for infinite inheritance
> Set(__Digit=123)
>
>
> In both cases you query the value as before without underscore, e.g.:
>
> NoOp(${Digit})
>
> regards
> klaus
>
> >
> > -----????-----
> > *???:* asterisk-video-bounces at lists.digium.com
> > [mailto:asterisk-video-bounces at lists.digium.com]*?? *lemonash
> > *????:* 2010?8?26? 14:44
> > *???:* asterisk-video at lists.digium.com
> > *??:* [Asterisk-video] Variable Pass Through h324m_gw()
> >
> > Hi folks!
> >
> > The following is my dialplan:
> > [test1]
> > exten => 120,1,Set(Digit="123")
> > exten => 120,n,NoOp(${Digit})
> > exten => 120,n,h324m_gw(ds at test2)
> >
> > [test2]
> > exten => ds,1,h324m_gw_answer()
> > exten => ds,n,NoOp(${Digit})
> > exten => ds,n,Set(Name=${Digit})
> >
> >
> > The variable Name in test2 is NULL!
> > How can I get the variable from test1?
> >
> > Thanks!
> >
>
>
>
> ------------------------------
>
> _______________________________________________
> --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
>
> End of asterisk-video Digest, Vol 52, Issue 12
> **********************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-video/attachments/20100827/0a4ed7ea/attachment.htm
More information about the asterisk-video
mailing list