[asterisk-dev] Hint from func_odbc Work Or not ?

Dome C. dome at tel.co.th
Wed Aug 30 16:28:13 MST 2006


Dear all,
I found documnet about new hint implement in func_odbc. I want to know 
Is readay to use ?
I create table in database and  try to test with  default config but 
don't work.

func_odbc.conf

[HINTS]
dsn=freecall
read=SELECT channel FROM hints WHERE extension='${ARG1}'


Extension.conf

exten => _4XXXX,hint,${ODBC_HINTS(${EXTEN})}

And CLI

krizt*CLI> show hints
krizt*CLI>
    -= Registered Asterisk Dial Plan Hints =-
                 _4XXXX at freecall            :                       
State:Unavailable     Watchers  0
----------------
- 1 hints registered
krizt*CLI>


Best Regards.

Dome C.





More information about the asterisk-dev mailing list