<br><br><div class="gmail_quote">2009/6/18 Tilghman Lesher <span dir="ltr">&lt;<a href="mailto:tilghman@mail.jeffandtilghman.com">tilghman@mail.jeffandtilghman.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;">
<div class="im">On Wednesday 17 June 2009 17:06:25 Olivier wrote:<br>
&gt; At the moment, I can&#39;t read Local channels variables using IMPORT function<br>
&gt; : ${IMPORT(Local/7531@pcdialer-5dff\;1,CALLERID(num))}<br>
<br>
</div>I&#39;m confused as to why you&#39;re trying to escape the semicolon here.  The name<br>
of the channel cannot be hardcoded into a configuration file, because it&#39;s<br>
dynamically generated at runtime, and the only reason I&#39;d see for escaping the<br>
semicolon would be if you wanted it preserved during a load from a<br>
configuration file.  What am I missing?</blockquote><div><br>You&#39;re not missing anything, I think.<br>Root cause of this thread is that when I&#39;m giving IMPORT function a Local channel as first argument (and I agree with you saying this Local channel value is generated dynamically), I&#39;ve got an empty reply though requested variable appears (with a non-empty value) in DumpChan&#39;s output.<br>
<br>When I tried to understand why the same function call works with SIP channels and does work with Local, I wondered if this could come from the fact a dynamically generated Local channel name includes a semi colon.<br>
No experience I did backed this assumption (&quot;root cause is semi-colon&quot;).<br><br>So this question remains :<br>- Has someone been successfull in using IMPORT on a Local channel ? Is there a known limitation in doing so ?<br>
<br>Cheers<br> <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
<br>
--<br>
Tilghman<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-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</blockquote></div><br>