[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:00:33 CST 2010


The following issue has been RESOLVED. 
====================================================================== 
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:                     resolved
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:00 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               
====================================================================== 
2010-01-07 14:00 svnbot         Status                   ready for review =>
assigned
2010-01-07 14:00 svnbot         Assigned To               => dvossel         
2010-01-07 14:00 svnbot         Status                   assigned => resolved
2010-01-07 14:00 svnbot         Resolution               open => fixed       
======================================================================




More information about the asterisk-bugs mailing list