[Home]

Summary:ASTERISK-04305: [patch] Small fixes in show channeltypes
Reporter:Clod Patry (junky)Labels:
Date Opened:2005-05-30 18:47:21Date Closed:2008-01-15 15:36:50.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) channeltypes.txt
Description:Currently, for format in show channeltypes is currently at 7 chars, which is probably for Console and Feature, but when testing ASTERISK-4289, a small increased was needed.

Plus i saw there was no #undef for that function. Added it.

So before:
debian*CLI> show channeltypes
Type     Description
------   -----------
Referen  Reference Channel Interface
Zap      Zapata Telephony Driver w/PRI
Phone    Standard Linux Telephony API Driver
Console  OSS Console Channel Driver
Feature  Feature Proxy Channel Driver
Skinny   Skinny Client Control Protocol (Skinny)
Local    Local Proxy Channel Driver
IAX2     Inter Asterisk eXchange Driver (Ver 2)
MGCP     Media Gateway Control Protocol (MGCP)
Agent    Call Agent Proxy Channel
SIP      Session Initiation Protocol (SIP)
Modem    Generic Voice Modem Channel Driver
debian*CLI>


and with that patch:
debian*CLI> show channeltypes
Type        Description
----------  -----------
Reference   Reference Channel Interface
Zap         Zapata Telephony Driver w/PRI
Phone       Standard Linux Telephony API Driver
Console     OSS Console Channel Driver
Feature     Feature Proxy Channel Driver
Skinny      Skinny Client Control Protocol (Skinny)
Local       Local Proxy Channel Driver
IAX2        Inter Asterisk eXchange Driver (Ver 2)
MGCP        Media Gateway Control Protocol (MGCP)
Agent       Call Agent Proxy Channel
SIP         Session Initiation Protocol (SIP)
Modem       Generic Voice Modem Channel Driver
debian*CLI>


****** ADDITIONAL INFORMATION ******

Disclaimer on file.
Comments:By: Olle Johansson (oej) 2005-05-31 00:56:54

What is a "Reference" channel?

Anyway, I recommend this for CVS. Assigned to Kevin.

By: Michael Jerris (mikej) 2005-05-31 01:58:49

the reference channel driver is the app_skel of channel drivers.  It is bug ASTERISK-4289.  This patch should be good to go.



By: Clod Patry (junky) 2005-05-31 06:56:32

Like Kevin already mentionned it, when i'll have some time, i'll make a patch to #undef all #define, cause i know there's a lot of cases with no #undef.

By: Kevin P. Fleming (kpfleming) 2005-06-02 17:34:16

Committed to CVS HEAD, thanks!

By: Digium Subversion (svnbot) 2008-01-15 15:36:50.000-0600

Repository: asterisk
Revision: 5820

U   trunk/channel.c

------------------------------------------------------------------------
r5820 | kpfleming | 2008-01-15 15:36:49 -0600 (Tue, 15 Jan 2008) | 2 lines

make 'show channeltypes' output format work properly (bug ASTERISK-4305)

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

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