plivo/plivo — Issue #77: ConferenceRecord Stopping immediately after starting
Author: mattwilliamson
Created: 2012-02-29 15:30:26+00:00
State: open

Immediately after issuing a `ConferenceRecordStart` REST request, the `Record Stop Event` occurs and causes the callback to be hit with a blank duration.

**plivo-rest.log**

2012-02-29 10:24:56,587 plivo-rest[23882]: DEBUG: RESTAPI ConferenceRecordStart with [('ConferenceName', u'ACadea151d708d45febbbb5104c98977ca.1234'), ('FileFormat', u'mp3'), ('FilePath', u'/tmp/myapp/recordings')]
2012-02-29 10:24:56,590 plivo-rest[23882]: INFO: Conference Api (sync) 'conference 'ACadea151d708d45febbbb5104c98977ca.1234' record /tmp/myapp/recordings/20120229-102456_ACadea151d708d45febbbb5104c98977ca.1234.mp3' with JobUUID 148819e1-e35f-48a8-b831-3c324ae69b1c
2012-02-29 10:24:56,591 plivo-rest[23882]: INFO: Conference Api (sync) Response for JobUUID 148819e1-e35f-48a8-b831-3c324ae69b1c -- Record file /tmp/myapp/recordings/20120229-102456_ACadea151d708d45febbbb5104c98977ca.1234.mp3
2012-02-29 10:24:56,591 plivo-rest[23882]: INFO: Conference RecordStart Executed
2012-02-29 10:24:56,591 plivo-rest[23882]: INFO: 127.0.0.1 - - [2012-02-29 10:24:56] "POST /v0.1/ConferenceRecordStart/ HTTP/1.1" 200 173 "-" "Python-urllib/2.6"

2012-02-29 10:24:56,591 plivo-rest[23882]: INFO: Conference Record Stop event {'ConferenceName': u'ACadea151d708d45febbbb5104c98977ca.1234', 'RecordFile': u'/tmp/myapp/recordings/20120229-102456_ACadea151d708d45febbbb5104c98977ca.1234.mp3', 'RecordDuration': ''}
2012-02-29 10:24:56,591 plivo-rest[23882]: INFO: Fetching POST http://[REDACTED]/_plivo/recording/complete/ with {'ConferenceName': u'ACadea151d708d45febbbb5104c98977ca.1234', 'RecordFile': u'/tmp/myapp/recordings/20120229-102456_ACadea151d708d45febbbb5104c98977ca.1234.mp3', 'RecordDuration': ''}