Displaying 2 results from an estimated 2 matches for "conf_pin".
Did you mean:
conf_api
2013 Apr 18
5
ODBC dialplan looping problem
...XX,1,Goto(getpin,${EXTEN},1)
exten=_4XXXXX,1,Goto(getpin,${EXTEN},1)
exten=_5XXXXX,1,Goto(getpin,${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=...
2009 Aug 13
1
RealTime in dialplan - proper way?
...t conference exists in database
exten => s,n,Set(CONFINFO="${REALTIME(meetme,confno,${USER_CONFNO})}")
; If conference doesn't exist, play error
exten => s,n,GotoIf(${ISNULL(${CONFINFO})} ? 101)
; Retardedly string-manip out the conference settings
exten => s,n,Set(CONF_PINPAIR=${CUT(CONFINFO,"|",2)})
exten => s,n,Set(CONF_PIN=${CUT(CONF_PINPAIR,"=",2)})
exten => s,n,Set(CONF_ADMINPINPAIR=${CUT(CONFINFO,"|",3)})
exten => s,n,Set(CONF_ADMINPIN=${CUT(CONF_ADMINPINPAIR,"=",2)})
exten => s,n,Set(CONF_SETTINGSPAIR=${C...