Further to my last. It is kind of being processed, the account code is being set, XML cdr's are created and are correct, but csv cdr's for the account code are not Caller ID is not being set in the A leg but is in the B Leg ________________________________ From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Nik Middleton Sent: 12 February 2009 00:48 To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Call accounting not working as expected Thanks, that cured the call accounting However, in the original originate, any ideas why {var=val} is not being processed? Regards, ________________________________ From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Brian West Sent: 12 February 2009 00:14 To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Call accounting not working as expected first off don't use the session.originate var new_session = new Session({var=val}sofia/blah/blah); will do it all for you in one step. Also can you point me to where on the wiki that keeps talking about session.originate? I need to clean them off there. /b On Feb 11, 2009, at 6:09 PM, Nik Middleton wrote: else if (data.digit == "5") { if (session.ready()) { var new_session = new Session(); new_session.originate(.....