[Asterisk-Users] Re: Asterisk CDR & UniqueID

Darryl Ross darryl at oeg.com.au
Mon Jul 26 17:32:52 MST 2004


Thanks for the reply Freddi,

>> The problem I am having is I'm trying to work out how to link the CDR
>> records into a single 'call stream', rather than having separate records
>> per machine the call passes through.
>
> I had the same problem. One solution is to include the ip-adr or uname 
> of the gateway that serves the call, then you can have a true unique-id.
> I did patch cdrcsv.c to include an exstra field which is the uname of my 
> * server. Another possible way today is to use the 'SetCDRUserField'
> to let the 'uname' into your  cdrstream.  

I've done some testing in setting both the account code and the CDR user 
field, but neither of them are being transferred between the two 
machines over the IAX2 link.

Is there any way of setting a variable or some such thing and having it 
transfered over the IAX2 link? I've thought about playing with the 
CallerID field which we're not really using at the moment, but we 
probably will in the future.

Any ideas?

Cheers
Darryl

-- 

If you want to live up to the whole "There is more than one way to
     do it" slogan, you have to give someone a swiss army chainsaw ...



More information about the asterisk-users mailing list