[Home]

Summary:ASTERISK-15327: [patch] Change in sip show channels display format allowing more digits for CID
Reporter:PAtryk Rzadzinski (rzadzins)Labels:
Date Opened:2009-12-17 05:33:41.000-0600Date Closed:2010-01-08 09:23:03.000-0600
Priority:TrivialRegression?No
Status:Closed/CompleteComponents:Channels/chan_sip/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) chan_sip_longer_cid.patch
Description:Hello,

Please see the attached trivial patch, that allows printing more than 10 digits to the output of "sip show channels". The default option is good for the USA, however most European countries, when using the country code, require 13 and more digits. This patch makes trivial changes to one of the fields in the FORMAT* chars in chan_sip.c

BEFORE:
asterwaw*CLI> sip show channels
Peer             User/ANR    Call ID          Format           Hold     Last Message    Expiry
194.145.191.93   00482263032 2f0bee4d75534c3  0x8 (alaw)       No       Rx: ACK                  
194.145.191.93   (None)      35f797a368f7b2a  0x0 (nothing)    No       Rx: OPTIONS      

AFTER:
asterwaw*CLI> sip show channels
Peer             User/ANR         Call ID          Format           Hold     Last Message    Expiry
194.145.191.93   0048226303272    2f0bee4d75534c3  0x8 (alaw)       No       Rx: ACK                  
194.145.191.93   (None)           35f797a368f7b2a  0x0 (nothing)    No       Rx: OPTIONS
Comments:By: PAtryk Rzadzinski (rzadzins) 2009-12-17 05:39:41.000-0600

Actually posting the output didn't make sense here, this bugzilla doesn't seem to like tabs.

By: Leif Madsen (lmadsen) 2009-12-17 08:04:01.000-0600

That's because this is Mantis, not Bugzilla :)

By: Digium Subversion (svnbot) 2010-01-07 14:00:32.000-0600

Repository: asterisk
Revision: 238405

U   trunk/channels/chan_sip.c

------------------------------------------------------------------------
r238405 | dvossel | 2010-01-07 14:00:32 -0600 (Thu, 07 Jan 2010) | 8 lines

Change in sip show channels display format allowing more digits for CID

(closes issue ASTERISK-15327)
Reported by: Rzadzins
Patches:
     chan_sip_longer_cid.patch uploaded by Rzadzins (license 953)


------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=238405

By: Digium Subversion (svnbot) 2010-01-07 14:01:20.000-0600

Repository: asterisk
Revision: 238406

_U  branches/1.6.2/
U   branches/1.6.2/channels/chan_sip.c

------------------------------------------------------------------------
r238406 | dvossel | 2010-01-07 14:01:20 -0600 (Thu, 07 Jan 2010) | 14 lines

Merged revisions 238405 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
 r238405 | dvossel | 2010-01-07 14:00:31 -0600 (Thu, 07 Jan 2010) | 8 lines
 
 Change in sip show channels display format allowing more digits for CID
 
 (closes issue ASTERISK-15327)
 Reported by: Rzadzins
 Patches:
       chan_sip_longer_cid.patch uploaded by Rzadzins (license 953)
........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=238406

By: Digium Subversion (svnbot) 2010-01-07 14:01:43.000-0600

Repository: asterisk
Revision: 238407

_U  branches/1.6.1/
U   branches/1.6.1/channels/chan_sip.c

------------------------------------------------------------------------
r238407 | dvossel | 2010-01-07 14:01:43 -0600 (Thu, 07 Jan 2010) | 14 lines

Merged revisions 238405 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
 r238405 | dvossel | 2010-01-07 14:00:31 -0600 (Thu, 07 Jan 2010) | 8 lines
 
 Change in sip show channels display format allowing more digits for CID
 
 (closes issue ASTERISK-15327)
 Reported by: Rzadzins
 Patches:
       chan_sip_longer_cid.patch uploaded by Rzadzins (license 953)
........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=238407

By: Olle Johansson (oej) 2010-01-07 14:03:03.000-0600

Note: We should refert to AMI, not continue to expand the length of the lines in the future.

By: Digium Subversion (svnbot) 2010-01-07 14:03:47.000-0600

Repository: asterisk
Revision: 238408

_U  branches/1.6.0/
U   branches/1.6.0/channels/chan_sip.c

------------------------------------------------------------------------
r238408 | dvossel | 2010-01-07 14:03:47 -0600 (Thu, 07 Jan 2010) | 14 lines

Merged revisions 238405 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
 r238405 | dvossel | 2010-01-07 14:00:31 -0600 (Thu, 07 Jan 2010) | 8 lines
 
 Change in sip show channels display format allowing more digits for CID
 
 (closes issue ASTERISK-15327)
 Reported by: Rzadzins
 Patches:
       chan_sip_longer_cid.patch uploaded by Rzadzins (license 953)
........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=238408