How I do to detect missed calls?
After Dial() has been executed, theres 3 ways a call could end up in: 1: The callee answers, and a communication is going on. Then one party hangs up, and thus execution goes to the h extension. 2: The callee newer answers or there was some error, the Dial() fails, and execution continues on next line in extensions. 3: The caller hangs up before callee have answered, and execution goes to the h extension. Now to the problem. I want to detect if callee did answer or not (in separate 1 and 3) so I could determite if a missed call should be logged to a missedcall.txt log file. (call should be logged in 3 case, but not in 1 case) 2 is easy to detect, as these always are failed (non-answered) calls. Best regards, Sebastian Nielsen
smime.p7s
Description: S/MIME Cryptographic Signature
-- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Astricon is coming up October 9-11! Signup is available at: https://www.asterisk.org/community/astricon-user-conference Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users