[asterisk-bugs] [Asterisk 0016459]: [patch] Change in sip show channels display format allowing more digits for CID

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Jan 7 14:01:21 CST 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16459 
====================================================================== 
Reported By:                Rzadzins
Assigned To:                dvossel
====================================================================== 
Project:                    Asterisk
Issue ID:                   16459
Category:                   Channels/chan_sip/General
Reproducibility:            N/A
Severity:                   trivial
Priority:                   normal
Status:                     closed
Asterisk Version:           1.6.1.11 
JIRA:                       SWP-559 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-12-17 05:33 CST
Last Modified:              2010-01-07 14:01 CST
====================================================================== 
Summary:                    [patch] Change in sip show channels display format
allowing more digits for CID
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
====================================================================== 

---------------------------------------------------------------------- 
 (0116258) svnbot (reporter) - 2010-01-07 14:01
 https://issues.asterisk.org/view.php?id=16459#c116258 
---------------------------------------------------------------------- 
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 https://issues.asterisk.org/view.php?id=16459)
  Reported by: Rzadzins
  Patches:
        chan_sip_longer_cid.patch uploaded by Rzadzins (license 953)
........

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-01-07 14:01 svnbot         Checkin                                      
2010-01-07 14:01 svnbot         Note Added: 0116258                          
======================================================================




More information about the asterisk-bugs mailing list