[Freeswitch-users] Call accounting not working as expected

Nik Middleton nik.middleton at noblesolutions.co.uk
Wed Feb 11 16:09:53 PST 2009


I'm having an issue with call accounting

 

If I initiate a call, and it is then transferred to an IVR menu.  

Person selects 1 to talk to someone.

 

In js

 

else if (data.digit == "5") {

            if (session.ready()) {

            var new_session = new Session();

            new_session.originate(.....

 

This Second call leg is not accounted for in either CSV or xml logs

 

Am I doing something wrong?   In the XML record is shows that I've
diverted to the new number, but the time is all bundled with the initial
call.

 

This is exactly the same issue in Asterisk, which I was hoping to avoid.
In Other words, why isn't a new call record created for the second leg? 

 

Regards,

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090212/262d461a/attachment-0002.html 


More information about the FreeSWITCH-users mailing list