You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My issue is kindof weird.
I have a drachtio server with drachtio applications listening in a k8s cluster
First i get an invite with 2 media parts, then i create 2 uac with twilio (create a call with twilio for media handling)
Then a uas with the initial request where i pass twilio's response.
Then i have an event handler on the dialog with the requester, i listen on "Destroy", and when i get it, i want to hangup (destroy) the 2 uac's i created prior, and after that endSession.
However, i get an error sometimes where:
AssertionError [ERR_ASSERTION]: provided socket has been destroyed
at DrachtioAgent._makeRequest (/sip-client/node_modules/drachtio-srf/lib/drachtio-agent.js:278:12)
at DrachtioAgent.request (/sip-client/node_modules/drachtio-srf/lib/drachtio-agent.js:333:17)
at __x (/sip-client/node_modules/drachtio-srf/lib/dialog.js:202:22)
at /sip-client/node_modules/drachtio-srf/lib/dialog.js:250:7
at new Promise (<anonymous>)
at Dialog.destroy (/sip-client/node_modules/drachtio-srf/lib/dialog.js:249:12)
at SipCall.removeTwilioCall (/sip-client/main.js:568:25)
at /sip-client/main.js:591:54
at Array.forEach (<anonymous>)
at SipCall.hangUpActiveCalls (/sip-client/main.js:591:31)
Where endSession occurs before the 2 dialog destroy of the uac's.
This is a bit complex b2bua where i handle it on my own.
Could you please help?
The text was updated successfully, but these errors were encountered:
My issue is kindof weird.
I have a drachtio server with drachtio applications listening in a k8s cluster
First i get an invite with 2 media parts, then i create 2 uac with twilio (create a call with twilio for media handling)
Then a uas with the initial request where i pass twilio's response.
Then i have an event handler on the dialog with the requester, i listen on "Destroy", and when i get it, i want to hangup (destroy) the 2 uac's i created prior, and after that endSession.
However, i get an error sometimes where:
Where endSession occurs before the 2 dialog destroy of the uac's.
This is a bit complex b2bua where i handle it on my own.
Could you please help?
The text was updated successfully, but these errors were encountered: