Project

General

Profile

Feature #7074

goapiv2 (stuck conferences in asterisk)

Added by Wittie Manansala 5 months ago. Updated about 1 month ago.

Status:
Closed
Priority:
Normal
Category:
Features
Start date:
11/03/2018
Due date:
% Done:

100%

Estimated time:

Description

Team,

Pa-add na lang ng feature na lang pag-ni-exit incidentally ni agent yun broswer nya dapat automatic din magha-hangup yun conference/channel nya.

Eto yun logs na paglogin nya:

    -- Called 99993680099889@default
    -- Executing [99993680099889@default:1] Dial("Local/99993680099889@default-0000008a;2", "SIP/3680099889@kamailio-in,,tTo") in new stack
  == Using SIP RTP CoS mark 5
    -- Called SIP/3680099889@kamailio-in
    -- SIP/kamailio-in-00000065 is ringing
    -- Local/99993680099889@default-0000008a;1 is ringing
       > 0x7f8434008e60 -- Strict RTP learning after remote address set to: 66.165.230.6:54698
    -- SIP/kamailio-in-00000065 answered Local/99993680099889@default-0000008a;2
    -- Local/99993680099889@default-0000008a;1 answered
    -- Executing [8600051@default:1] Konference("Local/99993680099889@default-0000008a;1", "8600051,R") in new stack
  == Manager 'sendcron' logged off from 127.0.0.1
    -- Channel SIP/kamailio-in-00000065 joined 'simple_bridge' basic-bridge <843ddb93-cfd2-4940-a14a-79601f638431>
    -- Channel Local/99993680099889@default-0000008a;2 joined 'simple_bridge' basic-bridge <843ddb93-cfd2-4940-a14a-79601f638431>
       > 0x7f8434008e60 -- Strict RTP switching to RTP target address 66.165.230.6:54698 as source
       > 0x7f8434008e60 -- Strict RTP learning complete - Locking on source address 66.165.230.6:54698

Eto namn un logs after na incidentally naclose un browser pero active pa din ang channel or extension nya.

Peer             User/ANR         Call ID          Format           Hold     Last Message    Expiry     Peer
66.165.230.6     3680099889       50ee2160624aac2  (opus)           No       Tx: ACK                    kamailio-i

Thanks

History

#1 Updated by Demian Biscocho 5 months ago

  • Status changed from New to Feedback
  • Assignee changed from Chris Lomuntad to Demian Biscocho
  • % Done changed from 0 to 100

I've already finished this via the app_konference Perl script "listener.pl". Upon login or when agents join the app_konference rooms, listener.pl checks if there are stuck/stale channels. If there are, it kicks them out.

To test, have your agent close their web browsers (instead of doing a proper logout). Check if their konference rooms are still existing (via Asterisk CLI) and check the online table in the Asterisk DB for their konference channels.

Agent can then relogin (admin needs to emergency logout the agent first) and the old konference channels are kicked out.

#2 Updated by Jackie Alfonso 5 months ago

HI Sir Dems.

Nag test na po ako dito. working po sya kahit hinde po mag proper logout si agent then maipit ung conference basta na force logout pgka login smooth po ule with voice prompt.

Salamat po!

#3 Updated by Wittie Manansala 2 months ago

  • Status changed from Feedback to Resolved

#4 Updated by Demian Biscocho about 1 month ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF

Go to top