Subject: [asterisk-dev] The Trouble with CDR's...!
Paul Hewlett
paul at gccs.co.za
Tue Dec 19 07:13:24 MST 2006
On Tuesday 19 December 2006 15:42, Jonathan k. Creasy wrote:
>
> I would like to see the ability to have more user fields. Userfield1,
> Userfield2, Userfieldn, etc.
>
> Possibly be able to define a field in the table and use it in the
> dialplan like the user field. In the example above he would create a
> field called "ServerID" and then in the dialplan he could reference
> CDR(ServerID) and it would know since that was not a defined CDR field
> it must go with the field that has that name in the table, if no such
> field exists then just ignore it.
>
This is already available in 1.2
exten => s,n,Set(CDR(myfield)=myvalue)
exten => s,n,Noop(Myfield=${CDR(myfield)})
You can then make your own CDR records by editing cdr-custom.conf
Paul
--
Paul Hewlett Technical Director
Global Call Center Solutions Ltd, 2nd Floor, Milnerton Mall
Cnr Loxton & Koeberg Roads, 7435 Milnerton
paul at gccs.co.za www.gccs.co.za
Tel: +27 86 111 3433 Fax: +27 86 111 3520 Cel: +27 84 420 9282
Gizmo: 1 747 659 6171
More information about the asterisk-dev
mailing list