|
|
@@ -289,7 +289,8 @@ async def amiPJSIPShowAors():
|
|
|
for message in reply:
|
|
|
if ((message.event == 'AorList') and
|
|
|
('objecttype' in message) and
|
|
|
- (message.objecttype == 'aor')):
|
|
|
+ (message.objecttype == 'aor') and
|
|
|
+ (int(message.maxcontacts) > 0)):
|
|
|
aors[message.objectname] = message.contacts
|
|
|
app.logger.warning('AorsList: {}'.format(','.join(aors.keys())))
|
|
|
return successReply(aors)
|