Re: [Asterisk-Users] Add Country to CDR's

2006-06-21 Thread Simon Woodhead
Yep, cmd setCDRUserField will do this for you assuming you have the field set up. I'd be keen to hear if anyone has a way of achieving the same thing across multiple user fields to save having to explode multiple values out of a single user field seperately. SimonOn 6/20/06, trixter aka Bret McDane

Re: [Asterisk-Users] Add Country to CDR's

2006-06-20 Thread trixter aka Bret McDanel
On Tue, 2006-06-20 at 11:14 -0400, William Piper wrote: > Thanks Bret, but how about an example or webpage? > I'm not finding anything on google about this command for asterisk. > > What about AppendCDRUserField()... would this work? > that seems to be the same thing. the userfield lets you st

Re: [Asterisk-Users] Add Country to CDR's

2006-06-20 Thread William Piper
Thanks Bret, but how about an example or webpage? I'm not finding anything on google about this command for asterisk.   What about AppendCDRUserField()... would this work?  bp  On 6/20/06, trixter aka Bret McDanel <[EMAIL PROTECTED]> wrote: On Tue, 2006-06-20 at 10:49 -0400, William Piper wrote:> L

Re: [Asterisk-Users] Add Country to CDR's

2006-06-20 Thread trixter aka Bret McDanel
On Tue, 2006-06-20 at 10:49 -0400, William Piper wrote: > List, > > Does anyone know how to add the dst Country to the CDR's via Macro > (preferably). cdr(userinfo)? > -- Trixter http://www.0xdecafbad.com Bret McDanel Belfast IE +44 28 9099 6461DE +49 801 777 555 3402 Utrecht NL +31 30

[Asterisk-Users] Add Country to CDR's

2006-06-20 Thread William Piper
List,   Does anyone know how to add the dst Country to the CDR's via Macro (preferably). For example, I will add a column in the cdr DB table and when someone dials 01158212XXX. I want the CDR's to show Caracas as the destination in this new column.   I have all of the International destinations in