<div dir="ltr"><div><div><div>Hi all,<br><br></div>Observing that channels are getting stuck in HANGUP state.. So next attempt to make outgoing calls prompts "Channel in use"<br><br><b>freeswitch@mansarover> ftdm core state HANGUP</b><br><br>[s2c1][2:32] in state HANGUP<br>[s2c2][2:33] in state HANGUP<br>[s2c3][2:34] in state HANGUP<br>[s2c4][2:35] in state HANGUP<br>[s2c5][2:36] in state HANGUP<br>[s2c6][2:37] in state HANGUP<br>[s2c7][2:38] in state HANGUP<br>[s2c8][2:39] in state HANGUP<br>[s2c9][2:40] in state HANGUP<br>[s2c10][2:41] in state HANGUP<br>[s2c11][2:42] in state HANGUP<br>[s2c12][2:43] in state HANGUP<br>[s2c13][2:44] in state HANGUP<br>[s2c14][2:45] in state HANGUP<br>[s2c15][2:46] in state HANGUP<br>[s2c17][2:48] in state HANGUP<br>[s2c18][2:49] in state HANGUP<br>[s2c19][2:50] in state HANGUP<br>[s2c20][2:51] in state HANGUP<br>[s2c21][2:52] in state HANGUP<br>[s2c22][2:53] in state HANGUP<br>[s2c23][2:54] in state HANGUP<br>[s2c24][2:55] in state HANGUP<br>[s2c25][2:56] in state HANGUP<br>[s2c27][2:58] in state HANGUP<br>[s2c28][2:59] in state HANGUP<br>[s2c29][2:60] in state HANGUP<br>[s2c30][2:61] in state HANGUP<br>[s2c31][2:62] in state HANGUP<br><br>Total channels in state HANGUP: 29<br><br><br><b>freeswitch@mansarover> ftdm dump wp2 1</b><br><br>span_id: 2<br>chan_id: 1<br>physical_span_id: 2<br>physical_chan_id: 32<br>physical_status: ok<br>physical_status_red: 0<br>physical_status_yellow: 0<br>physical_status_rai: 0<br>physical_status_blue: 0<br>physical_status_ais: 0<br>physical_status_general: 0<br>signaling_status: UP<br>type: B<br>state: HANGUP<br>last_state: TERMINATING<br>txgain: 0.00<br>rxgain: 0.00<br>cid_date:<br>cid_name:<br>cid_num: 01203890380<br>ani:<br>aniII:<br>dnis: 09819154202<br>rdnis:<br>cause: NORMAL_CLEARING<br>session: (none)<br><br>-- States -- -- Function -- -- Location -- -- Time Offset --<br>DIALING => PROCEED [on_proceeding] [ftmod_libpri.c:1586] 0ms<br>PROCEED => TERMINATING [on_hangup] [ftmod_libpri.c:1444] 4991ms<br>TERMINATING => HANGUP [channel_on_hangup] [mod_freetdm.c:623] 1ms<br>HANGUP => HANGUP_COMPLETE [on_hangup] [ftmod_libpri.c:1458] 153ms<br>HANGUP_COMPLETE => DOWN [state_advance] [ftmod_libpri.c:1266] 0ms<br>DOWN => DIALING [channel_outgoing_channel] [mod_freetdm.c:1767] 757ms<br>DIALING => PROCEED [on_proceeding] [ftmod_libpri.c:1586] 158ms<br>PROCEED => RINGING [on_ringing] [ftmod_libpri.c:1685] 8029ms<br>RINGING => TERMINATING [on_hangup] [ftmod_libpri.c:1477] 35432ms<br><b>TERMINATING => HANGUP </b> [channel_on_hangup] [mod_freetdm.c:623] 0ms<br><br>Time since last state change:<b> 1213972ms</b><br><br><b>freeswitch@mansarover> status</b><br>UP 0 years, 0 days, 0 hours, 54 minutes, 5 seconds, 411 milliseconds, 728 microseconds<br>FreeSWITCH (Version 1.5.15b git acd8d74 2014-10-03 16:48:43Z 64bit) is ready<br>274 session(s) since startup<br>1 session(s) - peak 13, last 5min 2<br>0 session(s) per Sec out of max 30, peak 3, last 5min 3<br>1000 session(s) max<br>min idle cpu 0.00/99.83<br>Current Stack Size/Max 240K/8192K<br><br><br></div>So one by one i see channels are blocked in HANGUP state so are not being used for further calls.<br></div><div>Can
anyone help what could be the problem. I think channel state should
move to HANGUP_COMPLETE and then to DOWN. So that it can be used in
further calls.<br><br></div><div>Thanks,<br></div>Vishal.</div>