]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Change in sip show channels display format allowing more digits for CID
authorDavid Vossel <dvossel@digium.com>
Thu, 7 Jan 2010 20:06:00 +0000 (20:06 +0000)
committerDavid Vossel <dvossel@digium.com>
Thu, 7 Jan 2010 20:06:00 +0000 (20:06 +0000)
(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

channels/chan_sip.c

index cb0b5f907f44b8316fa70085a72328740eacb39e..1a4e7b7b60e68940e3ea17a2922abd4c34a1a0ba 100644 (file)
@@ -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;