Hi Klaus! <br>Thanks for help! That worked wonderfully!<br><br><div class="gmail_quote">2010/8/26  <span dir="ltr">&lt;<a href="mailto:asterisk-video-request@lists.digium.com">asterisk-video-request@lists.digium.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Send asterisk-video mailing list submissions to<br>
        <a href="mailto:asterisk-video@lists.digium.com">asterisk-video@lists.digium.com</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://lists.digium.com/mailman/listinfo/asterisk-video" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-video</a><br>
or, via email, send a message with subject or body &#39;help&#39; to<br>
        <a href="mailto:asterisk-video-request@lists.digium.com">asterisk-video-request@lists.digium.com</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:asterisk-video-owner@lists.digium.com">asterisk-video-owner@lists.digium.com</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than &quot;Re: Contents of asterisk-video digest...&quot;<br>
<br>
<br>
Today&#39;s Topics:<br>
<br>
   1. Variable Pass Through h324m_gw() (lemonash)<br>
   2. ??:  Variable Pass Through h324m_gw() (Liu Jianquan)<br>
   3. Re: ??:  Variable Pass Through h324m_gw() (Klaus Darilion)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Thu, 26 Aug 2010 02:43:58 -0400<br>
From: lemonash &lt;<a href="mailto:lemonash2007@gmail.com">lemonash2007@gmail.com</a>&gt;<br>
Subject: [Asterisk-video] Variable Pass Through h324m_gw()<br>
To: <a href="mailto:asterisk-video@lists.digium.com">asterisk-video@lists.digium.com</a><br>
Message-ID:<br>
        &lt;AANLkTinscoiX5eORuv9fMu42fp=<a href="mailto:NMDr-i7FBN9%2BCH4zG@mail.gmail.com">NMDr-i7FBN9+CH4zG@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br>
<br>
Hi folks!<br>
<br>
The following is my dialplan:<br>
[test1]<br>
exten =&gt; 120,1,Set(Digit=&quot;123&quot;)<br>
exten =&gt; 120,n,NoOp(${Digit})<br>
exten =&gt; 120,n,h324m_gw(ds@test2)<br>
<br>
[test2]<br>
exten =&gt; ds,1,h324m_gw_answer()<br>
exten =&gt; ds,n,NoOp(${Digit})<br>
exten =&gt; ds,n,Set(Name=${Digit})<br>
<br>
<br>
The variable Name in test2 is NULL!<br>
How can I get the variable from test1?<br>
<br>
Thanks!<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://lists.digium.com/pipermail/asterisk-video/attachments/20100826/7a79e88c/attachment-0001.htm" target="_blank">http://lists.digium.com/pipermail/asterisk-video/attachments/20100826/7a79e88c/attachment-0001.htm</a><br>

<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Thu, 26 Aug 2010 15:01:34 +0800<br>
From: &quot;Liu Jianquan&quot; &lt;<a href="mailto:liujianquan@gmail.com">liujianquan@gmail.com</a>&gt;<br>
Subject: [Asterisk-video] ??:  Variable Pass Through h324m_gw()<br>
To: &quot;Development discussion of video media support in Asterisk&quot;<br>
        &lt;<a href="mailto:asterisk-video@lists.digium.com">asterisk-video@lists.digium.com</a>&gt;<br>
Message-ID: &lt;<a href="mailto:ODECJFLODNJNGOCMDNLAAEKMEKAA.liujianquan@gmail.com">ODECJFLODNJNGOCMDNLAAEKMEKAA.liujianquan@gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;utf-8&quot;<br>
<br>
<br>
[test1]<br>
exten =&gt; 120,1,Set(GLOBAL(Digit)=&quot;123&quot;)<br>
<br>
<br>
<br>
<br>
  -----????-----<br>
  ???: <a href="mailto:asterisk-video-bounces@lists.digium.com">asterisk-video-bounces@lists.digium.com</a> [mailto:<a href="mailto:asterisk-video-bounces@lists.digium.com">asterisk-video-bounces@lists.digium.com</a>]?? lemonash<br>

  ????: 2010?8?26? 14:44<br>
  ???: <a href="mailto:asterisk-video@lists.digium.com">asterisk-video@lists.digium.com</a><br>
  ??: [Asterisk-video] Variable Pass Through h324m_gw()<br>
<br>
<br>
  Hi folks!<br>
<br>
  The following is my dialplan:<br>
  [test1]<br>
  exten =&gt; 120,1,Set(Digit=&quot;123&quot;)<br>
  exten =&gt; 120,n,NoOp(${Digit})<br>
  exten =&gt; 120,n,h324m_gw(ds@test2)<br>
<br>
  [test2]<br>
  exten =&gt; ds,1,h324m_gw_answer()<br>
  exten =&gt; ds,n,NoOp(${Digit})<br>
  exten =&gt; ds,n,Set(Name=${Digit})<br>
<br>
<br>
  The variable Name in test2 is NULL!<br>
  How can I get the variable from test1?<br>
<br>
  Thanks!<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://lists.digium.com/pipermail/asterisk-video/attachments/20100826/4364c87f/attachment-0001.htm" target="_blank">http://lists.digium.com/pipermail/asterisk-video/attachments/20100826/4364c87f/attachment-0001.htm</a><br>

<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Thu, 26 Aug 2010 09:58:29 +0200<br>
From: Klaus Darilion &lt;<a href="mailto:klaus.mailinglists@pernau.at">klaus.mailinglists@pernau.at</a>&gt;<br>
Subject: Re: [Asterisk-video] ??:  Variable Pass Through h324m_gw()<br>
To: Development discussion of video media support in Asterisk<br>
        &lt;<a href="mailto:asterisk-video@lists.digium.com">asterisk-video@lists.digium.com</a>&gt;<br>
Message-ID: &lt;<a href="mailto:4C761EA5.9050309@pernau.at">4C761EA5.9050309@pernau.at</a>&gt;<br>
Content-Type: text/plain; charset=UTF-8; format=flowed<br>
<br>
<br>
<br>
Am 26.08.2010 09:01, schrieb Liu Jianquan:<br>
&gt; [test1]<br>
&gt; exten =&gt; 120,1,Set(GLOBAL(Digit)=&quot;123&quot;)<br>
<br>
That would work, but can causes problems if you have concurrent calls as<br>
you are using a global variable.<br>
<br>
I think you can also workaround by using variable inheritance, e.g:<br>
<br>
; use _ for one-time inheritance<br>
Set(_Digit=123)<br>
; use __ for infinite inheritance<br>
Set(__Digit=123)<br>
<br>
<br>
In both cases you query the value as before without underscore, e.g.:<br>
<br>
NoOp(${Digit})<br>
<br>
regards<br>
klaus<br>
<br>
&gt;<br>
&gt;     -----????-----<br>
&gt;     *???:* <a href="mailto:asterisk-video-bounces@lists.digium.com">asterisk-video-bounces@lists.digium.com</a><br>
&gt;     [mailto:<a href="mailto:asterisk-video-bounces@lists.digium.com">asterisk-video-bounces@lists.digium.com</a>]*?? *lemonash<br>
&gt;     *????:* 2010?8?26? 14:44<br>
&gt;     *???:* <a href="mailto:asterisk-video@lists.digium.com">asterisk-video@lists.digium.com</a><br>
&gt;     *??:* [Asterisk-video] Variable Pass Through h324m_gw()<br>
&gt;<br>
&gt;     Hi folks!<br>
&gt;<br>
&gt;     The following is my dialplan:<br>
&gt;     [test1]<br>
&gt;     exten =&gt; 120,1,Set(Digit=&quot;123&quot;)<br>
&gt;     exten =&gt; 120,n,NoOp(${Digit})<br>
&gt;     exten =&gt; 120,n,h324m_gw(ds@test2)<br>
&gt;<br>
&gt;     [test2]<br>
&gt;     exten =&gt; ds,1,h324m_gw_answer()<br>
&gt;     exten =&gt; ds,n,NoOp(${Digit})<br>
&gt;     exten =&gt; ds,n,Set(Name=${Digit})<br>
&gt;<br>
&gt;<br>
&gt;     The variable Name in test2 is NULL!<br>
&gt;     How can I get the variable from test1?<br>
&gt;<br>
&gt;     Thanks!<br>
&gt;<br>
<br>
<br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
--Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--" target="_blank">http://www.api-digital.com--</a><br>
<br>
asterisk-video mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-video" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-video</a><br>
<br>
End of asterisk-video Digest, Vol 52, Issue 12<br>
**********************************************<br>
</blockquote></div><br>