Hi Klaus! Thanks for help! That worked wonderfully! 2010/8/26 <[email protected]>
> Send asterisk-video mailing list submissions to > [email protected] > > 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 > [email protected] > > You can reach the person managing the list at > [email protected] > > 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 <[email protected]> > Subject: [Asterisk-video] Variable Pass Through h324m_gw() > To: [email protected] > Message-ID: > > <[email protected]<nmdr-i7fbn9%[email protected]> > > > 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(d...@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" <[email protected]> > Subject: [Asterisk-video] ??: Variable Pass Through h324m_gw() > To: "Development discussion of video media support in Asterisk" > <[email protected]> > Message-ID: <[email protected]> > Content-Type: text/plain; charset="utf-8" > > > [test1] > exten => 120,1,Set(GLOBAL(Digit)="123") > > > > > -----????----- > ???: [email protected] [mailto: > [email protected]]?? lemonash > ????: 2010?8?26? 14:44 > ???: [email protected] > ??: [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(d...@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 <[email protected]> > Subject: Re: [Asterisk-video] ??: Variable Pass Through h324m_gw() > To: Development discussion of video media support in Asterisk > <[email protected]> > Message-ID: <[email protected]> > 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 > > > > > -----????----- > > *???:* [email protected] > > [mailto:[email protected]]*?? *lemonash > > *????:* 2010?8?26? 14:44 > > *???:* [email protected] > > *??:* [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(d...@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 > ********************************************** >
-- _____________________________________________________________________ -- 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
