phpAMI 1.0 iaxRegistry Envia "ManagerAction_IAXregistry" Ver los registros iax return: Ver listEvent() link: https://wiki.asterisk.org/wiki/display/AST/ManagerAction_IAXregistry access: public array iaxRegistry () -------------Interface AMI------------- Action: IAXregistry Response: Success EventList: start Message: Registrations will follow Event: RegistryEntry Host: XXX.XXX.XXX.XXX:4569 DNSmanager: N Username: astersik-home Perceived: Refresh: 60 State: Rejected Event: RegistrationsComplete EventList: Complete ListItems: 1 --------------------------------------- ----------------Ejemplo---------------- include "phpAMI.php"; $ami=new phpAMI("admin","admin"); $login=$ami->login(); if($login["Response"]=="Success"){ print_r($ami->iaxRegistry()); $ami->logoff(); } --------------------------------------- ----------Respuesta de phpAMI---------- Array ( [Response] => Success [EventList] => start [Message] => Registrations will follow [List] => Array ( [XXX.XXX.XXX.XXX:4569] => Array ( [Event] => RegistryEntry [Host] => XXX.XXX.XXX.XXX:4569 [DNSmanager] => N [Username] => astersik-home [Perceived] => [Refresh] => 60 [State] => Timeout ) ) [ListInfo] => Array ( [Event] => RegistrationsComplete [EventList] => Complete [ListItems] => 1 ) ) ---------------------------------------