Displaying 1 result from an estimated 1 matches for "lcr_exten".
Did you mean:
ct_exten
2007 Jan 14
0
realtime mysql db performance difference with matching extensions
...oing calls with a Goto statement into a context that does a
realtime database lookup for a route and extracts the appdata from the
record, put that into a Dial statement to complete the call like this
exten => _1NXXNXX,1,RealTime(lcr|exten|${EXTEN:1}|LCR_)
exten => _1NXXNXX,2,GotoIf($["${LCR_exten}" = ""]?${EXTEN},105:${EXTEN},3)
exten => _1NXXNXX,3,Set(directdial=${LCR_exten}@${LCR_appdata})
exten => _1NXXNXX,4,NoOp(${directdial})
exten => _1NXXNXX,5,NoOp(${TIMESTAMP})
the database has records with 504555, this is just a test setup
The performance difference is subs...