<br><br><div class="gmail_quote">2009/6/17 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><div></div><div class="h5">On Wednesday 17 June 2009 03:45:54 Olivier wrote:<br>
> 2009/6/15 Tilghman Lesher <<a href="mailto:tilghman@mail.jeffandtilghman.com">tilghman@mail.jeffandtilghman.com</a>><br>
><br>
> > On Monday 15 June 2009 04:03:48 am Olivier wrote:<br>
> > > I've just discovered IMPORT function existence.<br>
> > > It can be use to import values from channel's Variable section but<br>
> > > unfortunately, il can't be use to access to values from Info section<br>
> > > (I'm referring here to sections Info and Variables dumped by DumpChan<br>
> > > application).<br>
> ><br>
> > You're mistaken.<br>
> ><br>
> > > Is there a way to work around this and access from one channel for<br>
> ><br>
> > instance<br>
> ><br>
> > > to another channel's CallerIDNum variable ?<br>
> ><br>
> > ${IMPORT(SIP/foo-abcd1234,CALLERID(num))} works fine.<br>
><br>
> Yes, you're right, this works fine.<br>
><br>
> The reason why I was wrong is because I closely followed DumpChan output<br>
> like this :<br>
> - DumpChan output is :<br>
> Dumping Info For Channel: SIP/7530-082f6160:<br>
> ===========================================================================<br>
>===== Info:<br>
> Name= SIP/7530-082f6160<br>
> Type= SIP<br>
> UniqueID= 1245227926.4<br>
> CallerIDNum= 7530<br>
> CallerIDName= Michele<br>
> DNIDDigits= 7531<br>
> RDNIS= (N/A)<br>
> ...<br>
><br>
> I then tried :<br>
> ${IMPORT(SIP/7530-082f6160,CallerIDNum)} which fails<br>
><br>
> Maybe, it should be preferable to teach DumpChan to output data like this :<br>
><br>
> Dumping Info For Channel: SIP/7530-082f6160:<br>
> ===========================================================================<br>
>===== Info:<br>
> Name= SIP/7530-082f6160<br>
> Type= SIP<br>
> UniqueID= 1245227926.4<br>
> CALLERID(num)= 7530<br>
> CALLERID(name)= Michele<br>
<br>
</div></div>Actually, that would be:<br>
Name ...<br>
CHANNEL(channeltype) ...<br>
CHANNEL(uniqueid) ...<br>
CALLERID(num) ...<br>
CALLERID(name) ...<br>
CALLERID(dnid) ...<br>
CALLERID(rdnis) ...<br>
<br>
It's certainly a possibility. If you wanted to dedicate the time to putting<br>
that patch together and submitting it on the issue tracker, I don't really<br>
see a reason why it wouldn't be committed.</blockquote><div><br>OK, I'll try to do that<br>Thanks ! <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>
<font color="#888888"><br>
--<br>
</font><div><div></div><div class="h5">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>
</div></div></blockquote></div><br>