Displaying 1 result from an estimated 1 matches for "callhistoryhandler".
2007 Apr 12
0
RAGI channel_status() never returnes
...nippet of my app:
debug log:
[2007-04-13 08:42:40] INFO Dialup
[2007-04-13 08:42:40] INFO Dialing
[2007-04-13 08:42:40] INFO Waiting for call to be done
[2007-04-13 08:42:40] INFO -1
[2007-04-13 08:42:48] INFO Hangup
code:
require 'ragi/call_handler'
require "thread"
class CallHistoryHandler < RAGI::CallHandler
def dialup
logger = WEBrick::Log::new
logger.info("Dialup")
hangup = false;
Thread.start {
# Keep running until the call is hung up
while hangup == false
# The 1st call returns -1
# The 2nd call never returns...