<div>I am actually deploying on a 1.6.1.6 but it does not seem to work - maybe I am using a wrong syntax?.</div><div><br></div><div>pbx-ch*CLI> core show version<br>Asterisk 1.6.1.6 built by root @ pbx-ch on a i686 running Linux on 2009-09-11 16:54:55 UTC<br>
<br></div><div>I see this works:</div><div><br></div><div>exten => 100,hint,SIP/${EXTENSION}</div><div><br></div><div>pbx-ch*CLI> core show hint 100<br> 100@agents : SIP/100 State:Unavailable Watchers 0<br>
</div><div><br></div><div><br></div><div>but this does not</div><div><br></div><div>exten => 100,hint,SIP/${DB(/Agent/100)}</div><div><br></div><div>pbx-ch*CLI> core show hint 100<br> 100@agents : SIP/ State:Unavailable Watchers 0<br>
</div><div><br></div><div>Thanks</div><div>l.</div><div><br></div><div><br></div><div><br></div><div>l.</div><div><br></div><div><br></div><div><br></div><br><div class="gmail_quote">2009/12/14 Tilghman Lesher <span dir="ltr"><<a href="mailto:tlesher@digium.com">tlesher@digium.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On Monday 14 December 2009 03:20:11 pm Stephen Davies wrote:<br>
> On 12/14/09, Lenz Emilitri <<a href="mailto:lenz.loway@gmail.com">lenz.loway@gmail.com</a>> wrote:<br>
</div><div class="im">> > But more dynamical, so I would try and look up the actual channel in the<br>
> > AstDB, like:<br>
> ><br>
> > exten => XXX,hint,${DB(myagent/${EXTEN})}<br>
> ><br>
> > This does not seem to be working - is there a way to work around this<br>
><br>
</div><div class="im">> You can't use functions in a hint exten.<br>
<br>
</div>That's no longer true as of 1.6.1. If the OP is using 1.6.0, however, the<br>
solution becomes clear.<br>
<br>
--<br>
<font color="#888888">Tilghman<br>
</font><div><div class="h5"><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><br clear="all"><br>-- <br>Loway - home of QueueMetrics - <a href="http://queuemetrics.com">http://queuemetrics.com</a><br><br>