<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16481" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Courier size=2><SPAN class=562021615-09082007>Ok, now that I've
learned I cannot use any variables when using the `hint` priority (for BLF), I
figured I'd try to use the next best thing: hardcoded values using
realtime. This way I avoid variables such as ${ACCOUNTCODE} but I can at
least change the DB more easily than text files. This is the appropriate
line in the DB:</SPAN></FONT></DIV>
<DIV><FONT face=Courier size=2></FONT> </DIV>
<DIV><FONT face=Courier size=2></FONT> </DIV>
<DIV><FONT face=Courier
size=2>+------+--------------+-------+----------+--------------------+---------+<BR>|
id | context | exten | priority |
app
| appdata
|<BR>+------+--------------+-------+----------+--------------------+---------+<BR>|
2000 | hint-context | 705 | <SPAN
class=562021615-09082007>hint</SPAN> | SIP/<SPAN
class=562021615-09082007>test</SPAN>-1<SPAN
class=562021615-09082007> </SPAN> |
|<BR>+------+--------------+-------+----------+--------------------+---------+</FONT></DIV>
<DIV><FONT face=Courier size=2></FONT> </DIV>
<DIV><FONT face=Courier size=2></FONT> </DIV>
<DIV><SPAN class=562021615-09082007><FONT face=Courier size=2>This is what I put
in mt hint-context in extensions.conf:</FONT></SPAN></DIV>
<DIV><SPAN class=562021615-09082007><FONT face=Arial
size=2>[hint-context]<BR>switch => <A
href="mailto:Realtime/hint-context@extensions">Realtime/hint-context@extensions</A></FONT></SPAN></DIV>
<DIV><SPAN class=562021615-09082007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=562021615-09082007><FONT face=Arial size=2>And this is what I
get from the CLI:</FONT></SPAN></DIV>
<DIV><SPAN class=562021615-09082007><FONT face=Arial size=2>Aug 9 11:34:14
NOTICE[19894]: chan_sip.c:11187 handle_request_subscribe: Got SUBSCRIBE for
extension <A href="mailto:705@hint-context">705@hint-context</A> from
xx.xxx.xx.xx, but there is no hint for that extension</FONT></SPAN></DIV>
<DIV><SPAN class=562021615-09082007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=562021615-09082007><FONT face=Arial size=2>Well....there
is! Is there any way I can do this?</FONT></SPAN></DIV>
<DIV><SPAN class=562021615-09082007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=562021615-09082007><FONT face=Arial
size=2>Mike</FONT></SPAN></DIV></BODY></HTML>