Hi, The subject says it all. Is it possible to put the IP address of the peer in the CDR records? Using AGI maybe? -- Kind regards, Signet bv Remco Bressers T 040 - 707 4 907 F 040 - 707 4 909 E rbressers at signet.nl
Simply set it to costume field of cdrs in dialplan and you will have it a part of native cdr Regards, *Faisal Hanif* -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100629/a7565221/attachment.htm
Remco Bressers wrote:> Hi, > > The subject says it all. Is it possible to put the IP address of the > peer in the CDR records? Using AGI maybe? >Yes you can either put the information in the userfield if you are using a plain text file. If you are storing to a mysql table for example then you can create additional columns and write whatever information you want to them. See http://www.voip-info.org/wiki/view/Asterisk+cdr+mysql for an example of how to do this.
Just put exten => _<pattern>,s, before the MYSQL ... Zeeshan A Zakaria -- www.ilovetovoip.com On 2010-06-29 11:41 AM, "Remco Bressers" <rbressers at signet.nl> wrote: Thanks Zeeshan, but i don't use (and understand) AEL :) Any regular examples out there? :) regards, Remco On 06/29/2010 05:27 PM, Zeeshan Zakaria wrote:> Let me make it simple for you: > > Add a column ...> <list-asterisk at skycomuk.com <mailto:list-asterisk at skycomuk.com>> wrote: > > Remco Bressers wr...-- _____________________________________________________________________ -- Bandwidth and Colocation Pr... -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100629/45ffdb10/attachment.htm