drachtio / drachtio-server

A SIP call processing server that can be controlled via nodejs applications
https://drachtio.org
MIT License
237 stars 92 forks source link

Some calls failing with media timeout #305

Closed sachinlevel closed 1 year ago

sachinlevel commented 1 year ago

Hi Dave,

We are using this module (https://github.com/drachtio/drachtio-freeswitch-modules/blob/main/examples/google_transcribe.js) to trancribe calls, but some calls from drachtio to freeswitch are failing with media timeout, also i am not setting up this variable, so it should be using its default value, what could be possibly wrong and how can we correct it ?

it fails while connecting to FS, => ms.connectCaller(req, res)



/usr/local/freeswitch/log# grep -i "Timeout" freeswitch.log

2023-06-07 06:03:17.689310 [WARNING] sofia.c:5227 rtp-timeout-sec deprecated use media_timeout variable.
2023-06-07 06:03:17.689334 [WARNING] sofia.c:5234 rtp-hold-timeout-sec deprecated use media_hold_timeout variable.
2023-06-30 04:28:16.337857 [WARNING] sofia.c:5227 rtp-timeout-sec deprecated use media_timeout variable.
2023-06-30 04:28:16.337878 [WARNING] sofia.c:5234 rtp-hold-timeout-sec deprecated use media_hold_timeout variable.

db492d19-0caf-49df-8e99-330769961f85 2023-06-30 17:39:16.083379 [NOTICE] switch_core_media.c:2935 Hangup sofia/drachtio_mrf/nobody@X.X.X.X:5060 [CS_EXECUTE] [MEDIA_TIMEOUT]
Reason: SIP;cause=604;text="MEDIA_TIMEOUT"
c93129ab-bf73-49ea-832a-ee06b371de7e 2023-07-01 03:05:46.763366 [NOTICE] switch_core_media.c:2935 Hangup sofia/drachtio_mrf/nobody@X.X.X.X:5060 [CS_EXECUTE] [MEDIA_TIMEOUT]
Reason: SIP;cause=604;text="MEDIA_TIMEOUT"
2fe67026-d5a4-4c4f-bb8d-42b66fb11db7 2023-07-01 03:05:46.783374 [NOTICE] switch_core_media.c:2935 Hangup sofia/drachtio_mrf/nobody@X.X.X.X:5060 [CS_EXECUTE] [MEDIA_TIMEOUT]
Reason: SIP;cause=604;text="MEDIA_TIMEOUT"
69c38a74-8e67-47ce-ab33-53986d46d42f 2023-07-06 17:50:01.263340 [NOTICE] switch_core_media.c:2935 Hangup sofia/drachtio_mrf/nobody@X.X.X.X:5060 [CS_EXECUTE] [MEDIA_TIMEOUT]
Reason: SIP;cause=604;text="MEDIA_TIMEOUT"
2c421ff1-a6ea-4589-8c2b-9eacbd532689 2023-07-06 17:50:01.283335 [NOTICE] switch_core_media.c:2935 Hangup sofia/drachtio_mrf/nobody@X.X.X.X:5060 [CS_EXECUTE] [MEDIA_TIMEOUT]
Reason: SIP;cause=604;text="MEDIA_TIMEOUT"
05aef738-d580-42d6-ac27-ff37ee356654 2023-07-07 21:01:24.303403 [NOTICE] switch_core_media.c:2935 Hangup sofia/drachtio_mrf/nobody@X.X.X.X:5060 [CS_EXECUTE] [MEDIA_TIMEOUT]
Reason: SIP;cause=604;text="MEDIA_TIMEOUT"
4606db18-b9cc-426a-9cf1-0c08324adcd8 2023-07-07 21:01:24.383350 [NOTICE] switch_core_media.c:2935 Hangup sofia/drachtio_mrf/nobody@X.X.X.X:5060 [CS_EXECUTE] [MEDIA_TIMEOUT]
Reason: SIP;cause=604;text="MEDIA_TIMEOUT"
64425d08-b0ff-4a33-bfbb-ef6abec66514 2023-07-18 19:26:30.303360
``` [NOTICE] switch_core_media.c:2935 Hangup sofia/drachtio_mrf/nobody@X.X.X.X:5060 [CS_EXECUTE] [MEDIA_TIMEOUT]
Reason: SIP;cause=604;text="MEDIA_TIMEOUT"
davehorton commented 1 year ago

can you please open this issue in this repo