static char mandescr_show_peers[] =
"Description: Lists SIP peers in text format with details on current status.\n"
+"Peerlist will follow as separate events, followed by a final event called\n"
+"PeerlistComplete.\n"
"Variables: \n"
" ActionID: <id> Action ID for this transaction. Will be returned.\n";
if (!ast_strlen_zero(id))
snprintf(idtext, sizeof(idtext), "ActionID: %s\r\n", id);
- astman_send_ack(s, m, "Peer status list will follow");
+ astman_send_listack(s, m, "Peer status list will follow", "start");
/* List the peers in separate manager events */
_sip_show_peers(-1, &total, s, m, 3, a);
/* Send final confirmation */
astman_append(s,
"Event: PeerlistComplete\r\n"
+ "EventList: Complete\r\n"
"ListItems: %d\r\n"
"%s"
"\r\n", total, idtext);