Displaying 1 result from an estimated 1 matches for "odbc_id".
Did you mean:
doc_id
2013 Apr 18
5
ODBC dialplan looping problem
...pin,${EXTEN},1)
exten=_6XXXXX,1,Goto(getpin,${EXTEN},1)
exten=_7XXXXX,1,Goto(getpin,${EXTEN},1)
exten=_8XXXXX,1,Goto(getpin,${EXTEN},1)
exten=_9XXXXX,1,Goto(getpin,${EXTEN},1)
exten=i,1,Goto(getpin,${CONF_PIN},1)
;
[getpin]
exten=_XXXXXX,1,Set(GLOBAL(CONF_PIN)=${EXTEN})
exten=_XXXXXX,n,Set(ODBC_ID=${ODBC_PIN(1)})
exten=_XXXXXX,n(loop_start),NoOp()
exten=_XXXXXX,n,Set(ROW_RESULT=${ODBC_FETCH(${ODBC_ID})})
exten=_XXXXXX,n,GotoIf($["${ODBC_FETCH}" = "FAILURE"]?cleanup,1)
exten=_XXXXXX,n,GotoIf($["${ROW_RESULT}" = "${CONF_PIN}"]?good_exten,1)
exten=_...