Re: [Freeswitch-users] accountcode and user id not present in CDRs

2008-11-19 Thread Brian West
It will be set if you challenge them and they actually authenticate. I suspect you have turned auth-calls off or setup an ACL to let them in without a challenge. /b On Nov 19, 2008, at 5:14 AM, [EMAIL PROTECTED] wrote: > No, this is an call FROM the user to another gateway. > The user whose

Re: [Freeswitch-users] accountcode and user id not present in CDRs

2008-11-19 Thread [EMAIL PROTECTED]
No, this is an call FROM the user to another gateway. The user whose data I want in my CDRs is the originator of the call. Brian West wrote: I'm going to guess that this is an inbound call to the user. Which means the variables aren't set inbound to the user. /b On Nov 18, 2008, at 1:40 PM,

Re: [Freeswitch-users] accountcode and user id not present in CDRs

2008-11-19 Thread [EMAIL PROTECTED]
Then what's the point of having it in the directory configuration file in the first place, if you don't mind me asking? I am really confused... :) Anthony Minessale wrote: you have to manually set the var on the channel in your dialplan. On Tue, Nov 18, 2008 at 1:40 PM, [EMAIL PROTECTED]

Re: [Freeswitch-users] accountcode and user id not present in CDRs

2008-11-18 Thread Anthony Minessale
you have to manually set the var on the channel in your dialplan. On Tue, Nov 18, 2008 at 1:40 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > The ${accountcode} variable IS set in the cdr_csv.xml conf file yet the > field is empty after the call. > Shouldn't it also show in the xml cdr? I t

Re: [Freeswitch-users] accountcode and user id not present in CDRs

2008-11-18 Thread Brian West
I'm going to guess that this is an inbound call to the user. Which means the variables aren't set inbound to the user. /b On Nov 18, 2008, at 1:40 PM, [EMAIL PROTECTED] wrote: > The ${accountcode} variable IS set in the cdr_csv.xml conf file yet > the field is empty after the call. > Should

Re: [Freeswitch-users] accountcode and user id not present in CDRs

2008-11-18 Thread [EMAIL PROTECTED]
The ${accountcode} variable IS set in the cdr_csv.xml conf file yet the field is empty after the call. Shouldn't it also show in the xml cdr? I thought the XML CDRs included all of the session variables. Brian West wrote: Add ${accuntcode} to the CDR template in cdr.conf.xml... the template

Re: [Freeswitch-users] accountcode and user id not present in CDRs

2008-11-18 Thread Brian West
Add ${accuntcode} to the CDR template in cdr.conf.xml... the template can include any variables from the session. /b On Nov 18, 2008, at 12:50 PM, [EMAIL PROTECTED] wrote: > Any help on how to define an endpoint (originating) and use some > attribute (like account_code or user id) > for billin

[Freeswitch-users] accountcode and user id not present in CDRs

2008-11-18 Thread [EMAIL PROTECTED]
I am using acls (cidr) to accept incoming calls from a gateway that I do not want to register in my FS box. I have this gateway configured in a xml file : freeswitch/conf/directory/default/gateway1.xml I have the corresponding cidr