mirror of
https://github.com/asterisk/asterisk.git
synced 2026-07-07 23:29:20 -07:00
Change in sip show channels display format allowing more digits for CID
(closes issue 0016459)
Reported by: Rzadzins
Patches:
chan_sip_longer_cid.patch uploaded by Rzadzins (license 953)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@238409 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
+3
-3
@@ -11563,9 +11563,9 @@ static int sip_show_subscriptions(int fd, int argc, char *argv[])
|
||||
/*! \brief SIP show channels CLI (main function) */
|
||||
static int __sip_show_channels(int fd, int argc, char *argv[], int subscriptions)
|
||||
{
|
||||
#define FORMAT3 "%-15.15s %-10.10s %-11.11s %-15.15s %-13.13s %-15.15s %-10.10s\n"
|
||||
#define FORMAT2 "%-15.15s %-10.10s %-11.11s %-11.11s %-15.15s %-7.7s %-15.15s\n"
|
||||
#define FORMAT "%-15.15s %-10.10s %-11.11s %5.5d/%5.5d %-15.15s %-3.3s %-3.3s %-15.15s %-10.10s\n"
|
||||
#define FORMAT3 "%-15.15s %-15.15s %-11.11s %-15.15s %-13.13s %-15.15s %-10.10s\n"
|
||||
#define FORMAT2 "%-15.15s %-15.15s %-11.11s %-11.11s %-15.15s %-7.7s %-15.15s\n"
|
||||
#define FORMAT "%-15.15s %-15.15s %-11.11s %5.5d/%5.5d %-15.15s %-3.3s %-3.3s %-15.15s %-10.10s\n"
|
||||
struct sip_pvt *cur;
|
||||
int numchans = 0;
|
||||
char *referstatus = NULL;
|
||||
|
||||
Reference in New Issue
Block a user