jambonz / jambonz-feature-server

Core telephony feature server for the jambones platform
MIT License
43 stars 38 forks source link

Call status is complete but listen and transcribe not stopping #613

Open simmibadhan opened 8 months ago

simmibadhan commented 8 months ago

I have 2 call legs - business call leg and user call leg where I am using enqueue and dequeue verbs to patch the calls.

Please check the below cases where the call is not ending properly for me.


Case 1:

  1. Business call leg starts with config - transcribe and listen
  2. Enqueue business call leg
  3. User initiates SIP call with config transcribe
  4. Business call leg dequeues and patches with user call leg
  5. User call leg is hanged up using SIP client. Here I get call completed call-hook for both call legs but

Issue:

  1. the business call keeps on going as I keep on receiving audio from business (no transcription)
  2. The audio keeps on coming (listen)
  3. The audio stops after a few minutes
  4. I get business call transcription in one go (from the point when call completed call-hooks were received)

Case 2:

  1. Business call leg starts with config - transcribe and listen
  2. Enqueue business call leg
  3. User initiates SIP call with config transcribe
  4. Business call leg dequeues and patches with user call leg
  5. User call leg is hanged up using hangup verb (LCC) and business call leg continues to get listened and transcribed (from config)
  6. Now, I want to end the call by updating the business call leg using API and sending call_status: 'completed'
  7. Here I get call completed call-hook for both call legs but

Issue:

  1. the business call keeps on going as I keep on receiving audio from business (no transcription)
  2. The audio keeps on coming (listen)
  3. The audio stops after a few minutes
  4. I get business call transcription in one go (from the point when call completed call-hooks were received)

Case 3:

  1. Business call leg starts with config - transcribe and listen
  2. Enqueue business call leg
  3. User initiates SIP call with config transcribe
  4. Business call leg dequeues and patches with user call leg
  5. User call leg is hanged up using hangup verb (LCC) and business call leg continues to get listened and transcribed (from config)
  6. Business hangs up
  7. Here I get call completed call-hook for both call legs but

Issue:

  1. I keep on receiving audio from business - blank audio (listen)
  2. The audio stops after a few minutes
davehorton commented 8 months ago

please provide logs from your own server or a call_sid from a call on jambonz.cloud

davehorton commented 7 months ago

This will be closed shortly due to lack of response