Displaying 1 result from an estimated 1 matches for "conf_id".
2013 Apr 18
5
ODBC dialplan looping problem
...problem is that
if a user enters a PIN that is NOT in the table, asterisk goes crazy and
continues to loop forever.
Please have a look and tell me where I went so wrong.
Func_odbc.conf looks like this:
[PIN]
dsn=BRIDGE
mode=multirow
readsql=SELECT pin from users WHERE confid='${SQL_ESC(${CONF_ID})}'
extensions.conf section:
[infromhost] ;Host dials 8888 over SIP trunk exten=8888,1,Answer
exten=8888,n,Background(conf-getconfno)
exten=8888,n,WaitExten(10)
exten=8888,n,Hangup
exten=_XXXXXX,1,Set(GLOBAL(CONF_ID)=${EXTEN})
exten=_XXXXXX,n,GoTo(rooms,${EXTEN},1)
;
[rooms]
exten=...