siprec icon indicating copy to clipboard operation
siprec copied to clipboard

The conversation is not recorded, the files are created empty

Open a72 opened this issue 1 year ago • 1 comments

giga-01:~/siprec$ ll recordings/
total 92K
drwxr-xr-x 2 user user 4.0K Nov 12 11:10 .
drwxr-xr-x 4 user user 4.0K Nov 12 11:08 ..
-rw-r--r-- 1 user user  23K Nov 12 11:10 B2B1601104510176293501016935349220.wav
-rw-r--r-- 1 user user 3.2K Nov 12 11:10 B2B1601104510176293501016935349221.wav
{"level":"info","message":"Received INVITE request","method":"INVITE","timestamp":"2025-11-12T11:10:10.348654036+03:00"}
{"level":"info","message":"Processing initial SIPREC INVITE","method":"INVITE","timestamp":"2025-11-12T11:10:10.348991107+03:00"}
{"body_size":2420,"branch":"z9hG4bK4712.b17a2d7.0","call_id":"B2B.160.1104510.1762935010.1693534922","from_tag":"9c1f5156b54173a7d77567005799932d-ce21","level":"info","message":"Processing SIPREC INVITE with large metadata","siprec":true,"timestamp":"2025-11-12T11:10:10.349116715+03:00","transport":"udp"}
{"level":"info","message":"Extracted SIPREC metadata","metadata_size":1802,"siprec":true,"timestamp":"2025-11-12T11:10:10.349471214+03:00"}
{"level":"warning","message":"SIPREC metadata validation warnings","timestamp":"2025-11-12T11:10:10.350290816+03:00","warnings":["missing recording state attribute; will default to 'active' in responses","stream 89l8x6SOSs+uZyC1YdDyeA== missing type attribute","stream zgM6EUHISTmjZPZgMBOmyg== missing type attribute","session association missing both call-ID and fixed-ID"]}
{"direction":"unknown","level":"info","message":"Created recording session from SIPREC metadata","participant_count":2,"policy_updates":0,"recording_state":"active","session_groups":0,"session_id":"UlLooFcCQP+bPTEoPKGW2A==","siprec":true,"stream_count":2,"timestamp":"2025-11-12T11:10:10.350371022+03:00"}
{"level":"info","message":"Successfully created recording session from SIPREC metadata","participant_count":2,"recording_state":"active","session_id":"UlLooFcCQP+bPTEoPKGW2A==","siprec":true,"timestamp":"2025-11-12T11:10:10.350436272+03:00"}
{"dropped_attributes":2,"level":"warning","message":"Removed non-compliant SDP attributes prior to processing","timestamp":"2025-11-12T11:10:10.350880237+03:00"}
{"audio_stream_count":2,"level":"info","message":"Detected audio streams in received SDP","siprec":true,"timestamp":"2025-11-12T11:10:10.350945965+03:00"}
{"channels":1,"codec":"PCMA","level":"info","message":"Configured RTP forwarder codec from SDP offer","payload_type":8,"sample_rate":8000,"timestamp":"2025-11-12T11:10:10.351206409+03:00"}
{"channels":1,"codec":"PCMA","level":"info","message":"Configured RTP forwarder codec from SDP offer","payload_type":8,"sample_rate":8000,"timestamp":"2025-11-12T11:10:10.351255884+03:00"}
{"forwarder_count":2,"level":"info","media_desc_count":2,"message":"Generating SDP response for multiple forwarders","siprec":true,"timestamp":"2025-11-12T11:10:10.351363783+03:00"}
{"level":"info","message":"Generated SIPREC multipart response","participant_count":2,"sequence":1,"session_id":"UlLooFcCQP+bPTEoPKGW2A==","siprec":true,"state":"active","stream_count":2,"timestamp":"2025-11-12T11:10:10.351955018+03:00"}
{"call_uuid":"B2B.160.1104510.1762935010.1693534922_0","channels":1,"level":"info","message":"Audio processing initialized","noise_reduction":true,"timestamp":"2025-11-12T11:10:10.352067411+03:00","vad_enabled":true}
{"call_uuid":"B2B.160.1104510.1762935010.1693534922_0","level":"info","message":"Routing STT stream to provider","requested":"","resolved":"google","timestamp":"2025-11-12T11:10:10.352341825+03:00"}
{"attempt":1,"call_uuid":"B2B.160.1104510.1762935010.1693534922_0","level":"warning","message":"STT provider not registered; skipping","provider":"google","timestamp":"2025-11-12T11:10:10.352535075+03:00"}
{"call_uuid":"B2B.160.1104510.1762935010.1693534922_0","error":"no speech-to-text provider available","level":"warning","message":"STT provider exited early; transcription will be disabled","timestamp":"2025-11-12T11:10:10.35257699+03:00"}
{"level":"info","message":"Received ACK request","method":"ACK","timestamp":"2025-11-12T11:10:10.352751021+03:00"}
{"call_id":"B2B.160.1104510.1762935010.1693534922","cseq":2,"level":"info","message":"Call state transitioned to connected after ACK","method":"ACK","state":"connected","timestamp":"2025-11-12T11:10:10.352781821+03:00"}
{"call_uuid":"B2B.160.1104510.1762935010.1693534922_1","channels":1,"level":"info","message":"Audio processing initialized","noise_reduction":true,"timestamp":"2025-11-12T11:10:10.353040883+03:00","vad_enabled":true}
{"call_uuid":"B2B.160.1104510.1762935010.1693534922_1","level":"info","message":"Routing STT stream to provider","requested":"","resolved":"google","timestamp":"2025-11-12T11:10:10.357987138+03:00"}
{"attempt":1,"call_uuid":"B2B.160.1104510.1762935010.1693534922_1","level":"warning","message":"STT provider not registered; skipping","provider":"google","timestamp":"2025-11-12T11:10:10.358139667+03:00"}
{"call_uuid":"B2B.160.1104510.1762935010.1693534922_1","error":"no speech-to-text provider available","level":"warning","message":"STT provider exited early; transcription will be disabled","timestamp":"2025-11-12T11:10:10.35817679+03:00"}
{"audit":true,"audit_action":"invite","audit_category":"sip","audit_outcome":"success","call_id":"B2B.160.1104510.1762935010.1693534922","fields.timestamp":"2025-11-12T08:10:10.358252294Z","level":"info","message":"audit.event","session_id":"UlLooFcCQP+bPTEoPKGW2A==","siprec_metadata":true,"span_id":"7157528a559f07ce","tenant":"unknown","timestamp":"2025-11-12T11:10:10.358274176+03:00","trace_id":"55d3f17734222581bd355c4a4c7b1c0a","transport":"udp","users":["+123","+456"]}
{"call_id":"B2B.160.1104510.1762935010.1693534922","level":"info","local_tag":"tag-1762935010349233940","message":"Successfully responded to SIPREC INVITE","siprec":true,"timestamp":"2025-11-12T11:10:10.358358484+03:00"}
{"call_uuid":"B2B.160.1104510.1762935010.1693534922_0","error":"no speech-to-text provider available","level":"warning","message":"Failed to stream audio samples to STT provider","timestamp":"2025-11-12T11:10:10.432071647+03:00"}
{"call_uuid":"B2B.160.1104510.1762935010.1693534922_1","error":"no speech-to-text provider available","level":"warning","message":"Failed to stream audio samples to STT provider","timestamp":"2025-11-12T11:10:10.439195231+03:00"}
{"level":"info","message":"Received BYE request","method":"BYE","timestamp":"2025-11-12T11:10:30.899786085+03:00"}
{"level":"info","message":"Successfully responded to BYE request","method":"BYE","timestamp":"2025-11-12T11:10:30.900046988+03:00"}
{"duration":20549714348,"level":"info","message":"Recording session terminated due to BYE","method":"BYE","recording_state":"terminated","session_id":"UlLooFcCQP+bPTEoPKGW2A==","timestamp":"2025-11-12T11:10:30.900070202+03:00"}
{"call_uuid":"B2B.160.1104510.1762935010.1693534922_1","last_rtp":"2025-11-12T11:10:12.421355744+03:00","level":"info","message":"RTP timeout detected, closing forwarder","timeout":30000000000,"timestamp":"2025-11-12T11:10:43.358624177+03:00"}

a72 avatar Nov 12 '25 08:11 a72

Going to close this, we tested it this morning and it seems to be working fine. we've updated the code and let us know if this works for you.

loreste avatar Nov 12 '25 15:11 loreste