[asterisk-commits] murf: branch murf/newcdr r63837 -
/team/murf/newcdr/doc/celdriver.tex
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Thu May 10 16:42:42 MST 2007
Author: murf
Date: Thu May 10 18:42:42 2007
New Revision: 63837
URL: http://svn.digium.com/view/asterisk?view=rev&rev=63837
Log:
updated the celdrive.tex to reflect the uniform naming across backend tables
Modified:
team/murf/newcdr/doc/celdriver.tex
Modified: team/murf/newcdr/doc/celdriver.tex
URL: http://svn.digium.com/view/asterisk/team/murf/newcdr/doc/celdriver.tex?view=diff&rev=63837&r1=63836&r2=63837
==============================================================================
--- team/murf/newcdr/doc/celdriver.tex (original)
+++ team/murf/newcdr/doc/celdriver.tex Thu May 10 18:42:42 2007
@@ -87,18 +87,21 @@
\begin{verbatim}
CREATE TABLE cel (
[eventtype] [varchar] (30) NOT NULL ,
- [usereventname] [varchar] (30) NOT NULL ,
[eventtime] [datetime] NOT NULL ,
- [clid] [varchar] (80) NOT NULL ,
- [clidnum] [varchar] (80) NOT NULL ,
+ [cidname] [varchar] (80) NOT NULL ,
+ [cidnum] [varchar] (80) NOT NULL ,
+ [cidani] [varchar] (80) NOT NULL ,
+ [cidrdnis] [varchar] (80) NOT NULL ,
+ [ciddnid] [varchar] (80) NOT NULL ,
[exten] [varchar] (80) NOT NULL ,
[context] [varchar] (80) NOT NULL ,
- [channel] [varchar] (80) NOT NULL ,
- [app] [varchar] (80) NOT NULL ,
+ [channame] [varchar] (80) NOT NULL ,
+ [appname] [varchar] (80) NOT NULL ,
[appdata] [varchar] (80) NOT NULL ,
[amaflags] [int] NOT NULL ,
[accountcode] [varchar] (20) NOT NULL ,
[uniqueid] [varchar] (32) NOT NULL ,
+ [peer] [varchar] (80) NOT NULL ,
[userfield] [varchar] (255) NOT NULL
)
\end{verbatim}
@@ -146,19 +149,22 @@
\begin{verbatim}
CREATE TABLE cel (
[eventtype] [varchar] (30) NULL ,
- [usereventname] [varchar] (30) NULL ,
[eventtime] [datetime] NULL ,
- [clid] [varchar] (80) NULL ,
- [clidnum] [varchar] (80) NULL ,
+ [cidname] [varchar] (80) NULL ,
+ [cidnum] [varchar] (80) NULL ,
+ [cidani] [varchar] (80) NULL ,
+ [cidrdnis] [varchar] (80) NULL ,
+ [ciddnid] [varchar] (80) NULL ,
[exten] [varchar] (80) NULL ,
[context] [varchar] (80) NULL ,
- [channel] [varchar] (80) NULL ,
- [app] [varchar] (80) NULL ,
+ [channame] [varchar] (80) NULL ,
+ [appname] [varchar] (80) NULL ,
[appdata] [varchar] (80) NULL ,
[amaflags] [varchar] (16) NULL ,
[accountcode] [varchar] (20) NULL ,
[uniqueid] [varchar] (32) NULL ,
- [userfield] [varchar] (255) NULL
+ [userfield] [varchar] (255) NULL ,
+ [peer] [varchar] (80) NULL
)
\end{verbatim}
Start asterisk in verbose mode, you should see that asterisk
@@ -196,19 +202,22 @@
\begin{verbatim}
CREATE TABLE cel (
eventtype varchar (30) NOT NULL ,
- usereventname varchar (30) NOT NULL ,
eventtime time NOT NULL ,
- clid varchar (80) NOT NULL ,
- clidnum varchar (80) NOT NULL ,
+ cidname varchar (80) NOT NULL ,
+ cidnum varchar (80) NOT NULL ,
+ cidani varchar (80) NOT NULL ,
+ cidrdnis varchar (80) NOT NULL ,
+ ciddnis varchar (80) NOT NULL ,
exten varchar (80) NOT NULL ,
context varchar (80) NOT NULL ,
- channel varchar (80) NOT NULL ,
- app varchar (80) NOT NULL ,
+ channame varchar (80) NOT NULL ,
+ appname varchar (80) NOT NULL ,
appdata varchar (80) NOT NULL ,
amaflags int NOT NULL ,
accountcode varchar (20) NOT NULL ,
uniqueid varchar (32) NOT NULL ,
- userfield varchar (255) NOT NULL
+ userfield varchar (255) NOT NULL ,
+ peer varchar (80) NOT NULL
);
\end{verbatim}
@@ -399,18 +408,22 @@
\section{Logged Values}
\begin{verbatim}
"Asterisk-Acc-Code", The account name of detail records
- "Asterisk-ClidNum",
+ "Asterisk-CidName",
+ "Asterisk-CidNum",
+ "Asterisk-Cidani",
+ "Asterisk-Cidrdnis",
+ "Asterisk-Ciddnid",
"Asterisk-Exten",
"Asterisk-Context", The destination context
- "Asterisk-Clid",
- "Asterisk-Chan", The channel
- "Asterisk-App", Last application run on the channel
- "Asterisk-App-Data", Argument to the last channel
+ "Asterisk-Channame", The channel name
+ "Asterisk-Appname", Last application run on the channel
+ "Asterisk-App-Data", Argument to the last channel
"Asterisk-Event-Time",
"Asterisk-Event-Type",
- "Asterisk-User-Event-Name",
"Asterisk-AMA-Flags", DOCUMENTATION, BILL, IGNORE etc, specified on
a per channel basis like accountcode.
"Asterisk-Unique-ID", Unique call identifier
"Asterisk-User-Field" User field set via SetCELUserField
-\end{verbatim}
+ "Asterisk-Peer" Name of the Peer for 2-channel events (like bridge)
+
+\end{verbatim}
More information about the asterisk-commits
mailing list