<br><br><div class="gmail_quote">2009/6/18 Tilghman Lesher <span dir="ltr"><<a href="mailto:tilghman@mail.jeffandtilghman.com">tilghman@mail.jeffandtilghman.com</a>></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>
> At the moment, I can't read Local channels variables using IMPORT function<br>
> : ${IMPORT(Local/7531@pcdialer-5dff\;1,CALLERID(num))}<br>
<br>
</div>I'm confused as to why you're trying to escape the semicolon here. The name<br>
of the channel cannot be hardcoded into a configuration file, because it's<br>
dynamically generated at runtime, and the only reason I'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're not missing anything, I think.<br>Root cause of this thread is that when I'm giving IMPORT function a Local channel as first argument (and I agree with you saying this Local channel value is generated dynamically), I've got an empty reply though requested variable appears (with a non-empty value) in DumpChan'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 ("root cause is semi-colon").<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>