Hello Guys,
This is Paresh,
I am trying to record the call conversation with SipXTapi Latest version with the API
sipxCallAudioRecordFileStart().
API returns success also file with proper location gets ctreated but having size 0 bytes.
I am facing the problem with it and I tried to look into code for the same and found
'mFramesToRecord' sets the value to 0 in handleSetup( ) function.
I am pesting the log details for the same as under,
ENTER FUNC (tid=3428) sipxCallAudioRecordFileStart\n"
:349:SIPXTAPI:INFO:ps0827::00000000:sipXtapi:"sipxCallAudioRecordFileStart hCall=1 szFile=C:\\record.WAV"
:350:SIPXTAPI:DEBUG:ps0827::00000000:sipXtapi:"ENTER FUNC (tid=3428) sipxCallGetCommonData\n"
:351:SIPXTAPI:DEBUG:ps0827::00000000:sipXtapi:"ENTER FUNC (tid=3428) sipxCallGetCommonData->sipxCallLookup\n"
:352:SIPXTAPI:DEBUG:ps0827::00000000:sipXtapi:"EXIT FUNC (tid=3428) sipxCallGetCommonData->sipxCallLookup\n"
:353:SIPXTAPI:DEBUG:ps0827::00000000:sipXtapi:"ENTER FUNC (tid=3428) sipxCallGetCommonData->sipxCallReleaseLock\n"
:354:SIPXTAPI:DEBUG:ps0827::00000000:sipXtapi:"EXIT FUNC (tid=3428) sipxCallGetCommonData->sipxCallReleaseLock\n"
:355:SIPXTAPI:DEBUG:ps0827::00000000:sipXtapi:"EXIT FUNC (tid=3428) sipxCallGetCommonData\n"
:356:CP:DEBUG:ps0827:Call-22:00000128:sipXtapi:"CpCall::handleMessage message type: 5 subtype 95\n"
:349:SIPXTAPI:INFO:ps0827::00000000:sipXtapi:"sipxCallAudioRecordFileStart hCall=1 szFile=C:\\record.WAV"
:350:SIPXTAPI:DEBUG:ps0827::00000000:sipXtapi:"ENTER FUNC (tid=3428) sipxCallGetCommonData\n"
:351:SIPXTAPI:DEBUG:ps0827::00000000:sipXtapi:"ENTER FUNC (tid=3428) sipxCallGetCommonData->sipxCallLookup\n"
:352:SIPXTAPI:DEBUG:ps0827::00000000:sipXtapi:"EXIT FUNC (tid=3428) sipxCallGetCommonData->sipxCallLookup\n"
:353:SIPXTAPI:DEBUG:ps0827::00000000:sipXtapi:"ENTER FUNC (tid=3428) sipxCallGetCommonData->sipxCallReleaseLock\n"
:354:SIPXTAPI:DEBUG:ps0827::00000000:sipXtapi:"EXIT FUNC (tid=3428) sipxCallGetCommonData->sipxCallReleaseLock\n"
:355:SIPXTAPI:DEBUG:ps0827::00000000:sipXtapi:"EXIT FUNC (tid=3428) sipxCallGetCommonData\n"
:356:CP:DEBUG:ps0827:Call-22:00000128:sipXtapi:"CpCall::handleMessage message type: 5 subtype 95\n"
sipXtapi:"EXIT FUNC (tid=3428) sipxCallAudioRecordFileStart\n"
:358:MP:DEBUG:ps0827:MpMedia:00000494:sipXtapi:"MprRecorder::handleMessage(102)\n"
:359:MP:INFO:ps0827:MpMedia:00000494:sipXtapi:"MprRecorder::handleSetup, set MinVoiceEnergy to 20000, was 0\n"
:360:MP:DEBUG:ps0827:MpMedia:00000494:sipXtapi:"MprRecorder::handleSetup(4, 1, 0x0)... #frames=0\n"
:361:MP:DEBUG:ps0827:MpMedia:00000494:sipXtapi:"MprRecorder::progressReport(2) (No event)\n"
:362:MP:DEBUG:ps0827:MpMedia:00000494:sipXtapi:"MprRecorder::enable\n"
:363:MP:DEBUG:ps0827:MpMedia:00000494:sipXtapi:"MprRecorder::handleMessage(14)\n"
:364:MP:INFO:ps0827:MpMedia:00000494:sipXtapi:"MprRecorder::doProcessFrame to disable recording because mFramesToRecord=-1, mStatus=2 mSilenceLength=500, mConsecutiveInactive=0, MinVoiceEnergy=20000"
:365:MP:DEBUG:ps0827:MpMedia:00000494:sipXtapi:"MprRecorder::disable to report progress mState(2) code(0), mFileDescriptor(0x00000004)"
:366:MP:DEBUG:ps0827:MpMedia:00000494:sipXtapi:"MprRecorder::progressReport(0) (No event)\n"
:367:MP:DEBUG:ps0827:MpMedia:00000494:sipXtapi:"MprRecorder::disable (not already recording)\n"
:368:MP:DEBUG:ps0827:MpMedia:00000494:sipXtapi:"MprRecorder::disable setting mpEvent (0x00000000) to NULL"
:369:MP:DEBUG:ps0827:MpMedia:00000494:sipXtapi:"MprRecorder::handleMessage(13)\n"
:370:INCOMING:INFO:ps0827:SipClient-5
:359:MP:INFO:ps0827:MpMedia:00000494:sipXtapi:"MprRecorder::handleSetup, set MinVoiceEnergy to 20000, was 0\n"
:360:MP:DEBUG:ps0827:MpMedia:00000494:sipXtapi:"MprRecorder::handleSetup(4, 1, 0x0)... #frames=0\n"
:361:MP:DEBUG:ps0827:MpMedia:00000494:sipXtapi:"MprRecorder::progressReport(2) (No event)\n"
:362:MP:DEBUG:ps0827:MpMedia:00000494:sipXtapi:"MprRecorder::enable\n"
:363:MP:DEBUG:ps0827:MpMedia:00000494:sipXtapi:"MprRecorder::handleMessage(14)\n"
:364:MP:INFO:ps0827:MpMedia:00000494:sipXtapi:"MprRecorder::doProcessFrame to disable recording because mFramesToRecord=-1, mStatus=2 mSilenceLength=500, mConsecutiveInactive=0, MinVoiceEnergy=20000"
:365:MP:DEBUG:ps0827:MpMedia:00000494:sipXtapi:"MprRecorder::disable to report progress mState(2) code(0), mFileDescriptor(0x00000004)"
:366:MP:DEBUG:ps0827:MpMedia:00000494:sipXtapi:"MprRecorder::progressReport(0) (No event)\n"
:367:MP:DEBUG:ps0827:MpMedia:00000494:sipXtapi:"MprRecorder::disable (not already recording)\n"
:368:MP:DEBUG:ps0827:MpMedia:00000494:sipXtapi:"MprRecorder::disable setting mpEvent (0x00000000) to NULL"
:369:MP:DEBUG:ps0827:MpMedia:00000494:sipXtapi:"MprRecorder::handleMessage(13)\n"
:370:INCOMING:INFO:ps0827:SipClient-5
Any clue regarding to this will be great help for me.
Thanks
Paresh Patel
Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1ยข/min.
_______________________________________________ sipxtapi-dev mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/
