PABX da Simples IP
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

94 lines
2.1 KiB

phpAMI 1.0
meetmeList
Envia "ManagerAction_MeetmeList"
Lista los participantes en una conferencia
return: Ver listEvent()
link: https://wiki.asterisk.org/wiki/display/AST/ManagerAction_MeetmeList
access: public
array meetmeList ([string $conference = null])
string $conference: Numero meetme (Default: todas las activas)
-------------Interface AMI-------------
Action: MeetmeList
Response: Success
EventList: start
Message: Meetme user list will follow
Event: MeetmeList
Conference: 1234
UserNumber: 1
CallerIDNum: 11
CallerIDName: Cuarto Tito
ConnectedLineNum: <unknown>
ConnectedLineName: <no name>
Channel: SIP/ipphone-0000003d
Admin: No
Role: Talk and listen
MarkedUser: No
Muted: No
Talking: Not monitored
Event: MeetmeListComplete
EventList: Complete
ListItems: 1
---------------------------------------
----------------Ejemplo----------------
include "phpAMI.php";
$ami=new phpAMI("admin","admin");
$login=$ami->login();
if($login["Response"]=="Success"){
print_r($ami->meetmeList ());
$ami->logoff();
}
---------------------------------------
----------Respuesta de phpAMI----------
Array
(
[Response] => Success
[EventList] => start
[Message] => Meetme user list will follow
[List] => Array
(
[1234:1] => Array
(
[Event] => MeetmeList
[Conference] => 1234
[UserNumber] => 1
[CallerIDNum] => 11
[CallerIDName] => Cuarto Tito
[ConnectedLineNum] => <unknown>
[ConnectedLineName] => <no name>
[Channel] => SIP/ipphone-0000001e
[Admin] => No
[Role] => Talk and listen
[MarkedUser] => No
[Muted] => No
[Talking] => Not monitored
)
)
[ListInfo] => Array
(
[Event] => MeetmeListComplete
[EventList] => Complete
[ListItems] => 1
)
)
Si no hay Conferencias Activas Responde:
Array
(
[Response] => Error
[Message] => No active conferences.
)
---------------------------------------