[Home]

Summary:ASTERISK-09055: [patch] unregister a peer via CLI command
Reporter:Eliel Sardanons (eliel)Labels:
Date Opened:2007-03-20 09:33:54Date Closed:2007-04-13 16:26:07
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) chan_sip_unregister.diff
( 1) chan_sip_unregister.diff2
( 2) chan_sip_unregister.diff3
Description:This is a simple CLI command to unregister a sip peer.
Comments:By: Serge Vecher (serge-v) 2007-03-20 11:03:07

Nice patch.
1. I would expand the messages a bit.
+ast_cli(fd, "Attempted to unregister an unknown peer: %s\n via CLI", argv[2]);

2. Correct and expand wording here; peer, not user.
+" Unregister (force expiration of) a SIP peer in registry\n";

By: Eliel Sardanons (eliel) 2007-03-20 12:08:05

Sorry, some spaces appear con diff2. solved the copy and paste issue on diff3. :-)

By: Dwayne Hubbard (dhubbard) 2007-04-13 16:26:07

committed to trunk 61660.  thanks eliel!