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
With Freeswitch agent and channel_sync_interval enabled, looking at ngrep captures of port 2014, it seems that after a session is initiated, it doesn't show up when queried for on SessionSv1.GetActiveSessionIDs, as "error":"NO_ACTIVE_SESSION" is returned when the query is made. So CGRates forcefully hangs up an active call whenever it syncs the channel at whatever interval is set, assuming that it is a stale session, even though it should proceed.
When I disable channel_sync_interval by setting it to 0, the SessionSv1.GetActiveSessionIDs method isn't called and the voice call proceeds as it should.
Ionuț said it's because the show channels request to Freeswitch returns a response that is not being parsed properly by GetActiveSessionIDs, and he instructed me to open this issue.
Attached is an ngrep of a call that is being killed in this manner, with channel_sync_interval enabled.
Call processed normally, and when I do an ngrep of port 2014, I can see every 7 seconds (channel sync interval is set to 7s) a request for active sessions and a normal response with no errors.
With Freeswitch agent and
channel_sync_interval
enabled, looking at ngrep captures of port 2014, it seems that after a session is initiated, it doesn't show up when queried for onSessionSv1.GetActiveSessionIDs
, as"error":"NO_ACTIVE_SESSION"
is returned when the query is made. So CGRates forcefully hangs up an active call whenever it syncs the channel at whatever interval is set, assuming that it is a stale session, even though it should proceed.When I disable
channel_sync_interval
by setting it to 0, the SessionSv1.GetActiveSessionIDs method isn't called and the voice call proceeds as it should.Ionuț said it's because the
show channels
request to Freeswitch returns a response that is not being parsed properly byGetActiveSessionIDs
, and he instructed me to open this issue.Attached is an ngrep of a call that is being killed in this manner, with
channel_sync_interval
enabled.cgr_ngrep_2014_and_8021.txt
The text was updated successfully, but these errors were encountered: