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(…..