|
@@ -642,7 +642,7 @@ class BotAgent:
|
|
|
try:
|
|
|
acc = self.accounts.get(user_part)
|
|
|
if acc:
|
|
|
- for k, v in acc.calls.items():
|
|
|
+ for k, v in list(acc.calls.items()):
|
|
|
self.logger.info('hangup, call_idx=%s, call_active=%s'%(k, v.isActive()))
|
|
|
if v.isActive():
|
|
|
v.hangup(call_op_param)
|