[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 Dec 17 08:07:53 CST 2009


The following issue has been UPDATED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16459 
====================================================================== 
Reported By:                Rzadzins
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16459
Category:                   Channels/chan_sip/General
Reproducibility:            N/A
Severity:                   trivial
Priority:                   normal
Status:                     ready for review
Asterisk Version:           1.6.1.11 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-12-17 05:33 CST
Last Modified:              2009-12-17 08:07 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
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-12-17 08:07 lmadsen        version                  Addons-1.6.1.1 =>   
2009-12-17 08:07 lmadsen        Description Updated                          
======================================================================




More information about the asterisk-bugs mailing list