Skip to content

Commit

Permalink
ACC linked with Dialog to generate CDRs
Browse files Browse the repository at this point in the history
Changed database schema


git-svn-id: svn+ssh://svn.code.sf.net/p/opensips/svn/trunk@7139 689a6050-402a-0410-94f2-e92a70836424
  • Loading branch information
razvancrainea committed Aug 17, 2010
1 parent db01fbb commit 5ac9b82
Show file tree
Hide file tree
Showing 16 changed files with 960 additions and 139 deletions.
26 changes: 24 additions & 2 deletions db/schema/acc.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<table id="acc" xmlns:db="http://docbook.org/ns/docbook">
<name>acc</name>
<version>5</version>
<version>6</version>
<type db="mysql">&MYSQL_TABLE_TYPE;</type>
<description>
<db:para>This table is used by the ACC module to report on transactions - accounted calls. More information is available at: &OPENSIPS_MOD_DOC;acc.html
Expand Down Expand Up @@ -79,7 +79,29 @@
<name>time</name>
<type>datetime</type>
<description>Date and time when this record was written.</description>
</column>
</column>

<column>
<name>duration</name>
<type>unsigned int</type>
<size>&expires_len;</size>
<default>0</default>
<description>Call duration.</description>
</column>

<column>
<name>setuptime</name>
<type>unsigned int</type>
<size>&expires_len;</size>
<default>0</default>
<description>Call initialization duration.</description>
</column>

<column>
<name>created</name>
<type>datetime</type>
<description>The call creation date and time.</description>
</column>

<index>
<name>callid_idx</name>
Expand Down
2 changes: 2 additions & 0 deletions etc/dictionary.opensips
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ ATTRIBUTE Sip-Uri-User 208 string # Proprietary, auth_radius
ATTRIBUTE Sip-Group 211 string # Proprietary, group_radius
ATTRIBUTE Sip-Rpid 213 string # Proprietary, auth_radius
ATTRIBUTE SIP-AVP 225 string # Proprietary, avp_radius
ATTRIBUTE Sip-Call-Duration 227 integer
ATTRIBUTE Sip-Call-Setuptime 228 integer

### Service-Type Values ###
VALUE Service-Type Group-Check 12 # Proprietary, group_radius
Expand Down
Loading

0 comments on commit 5ac9b82

Please sign in to comment.