Jump to content

simple cdr format


Darcy Primrose
 Share

Recommended Posts

Currently using 3.0.1.3023 (Linux)

 

We use the simple cdr format to send billing info to the call tracker. The string we request is as follows:

 

<cdr_format>Domain{$m}Day{$b}Hour{$B}Date{$w}Direction{$o}type{$v}origTrunk{$x}destTrunk{$y}CLID{$c}FromExt{$F}ToExt{$T}Account{$R}Redirected{$r}ToHeader{$t}FromHeader{$f}Connected{$S}Answered{$C}Ringing{$A}CallId{$i}ivr{$W}hold{$E}</cdr_format>

 

The "type{$v}" parameter is sending type "attendant" for a call that routes directly to an extension when the call is presented to the pbxnsip as a DID. The CDR is as follows:

 

66.78.97.40-Domain{voip.voipsub.com}Day{20081123}Hour{075324}Date{20081123075324}Direction{I

}type{attendant}origTrunk{pstn}destTrunk{}CLID{anonymous}FromExt{}ToExt{61352933

0

4@voip.voipsub.com}Account{}Redirected{}ToHeader{"Test Phone" <sip:6135293304@voip.voipsub.com>}FromHeader{"Anonymous " <sip:anonymous@voip.voipsub.com:5060;user=phone>}Connected{1227444804}Answered{3}Ringing{1}CallId{6135293304.1227458822.116@M

LCProxyServer-74.51.38.75#87d98d34aa}ivr{}hold{}

 

The type should be "extcall" or perhaps a new parameter "calltoext" since that is what it actually is versus an extension making a call.

 

Here is the list of accounts in the domain

 

211;Snom 321;Extension;00041328704A

212;second 2;Extension;0004132C0165

c01;;CO-Line;

c02;;CO-Line;

c03;;CO-Line;

c04;;CO-Line;

6135290000;Darcy One;Extension;000E08ECB460

6135290001;Marnie Two;Extension;000E08ECB460

6135293304;Test Phone;Extension;

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...