[Freeswitch-users] Cant get Disposition status in Javascript

2009-02-26 Thread Baskar
Hi, I am using javascript to store uuid, phone_no, endpoint_disposition and hangup cause in my MYSQL. I can get the session UUID , Phone_no, endpoint disposition but i cant get the originate disposition. Javascript : session.setVariable(session.uuid, ses_uuid: + session.uuid);

Re: [Freeswitch-users] Cant get Disposition status in Javascript

2009-02-26 Thread Baskar
Hi, One thing i forget to tell i can able to get this Disconnection causeand Disconnection code in Freeswitch console but when i set in the variable i did not get the cause or cause code in javascript. I use these line in Javascript i get the output in the Freeswitch console.

Re: [Freeswitch-users] Cant get Disposition status in Javascript

2009-02-26 Thread Anthony Minessale
both of your set lines are wrong: session.cause and session.causecode are attributes session.setVariable(session.causecode, discause: + session.causecode+ \n); session.setVariable(notice, Disconnect cause: + session.cause + \n); session.setVariable(cause_code, session.causecode);

Re: [Freeswitch-users] Cant get Disposition status in Javascript

2009-02-26 Thread Baskar
Hi Anthony Minessale, I have added these lines in my javascript with your *guidance. *But still i did not get any status like busy , no answer, etc . session.setVariable(cause_code, session.causecode); session.setVariable(cause_name, session.cause); I Get this output only for all the call:

Re: [Freeswitch-users] Cant get Disposition status in Javascript

2009-02-26 Thread Nik Middleton
-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Cant get Disposition status in Javascript Hi Anthony Minessale, I have added these lines in my javascript with your guidance. But still i did not get any status like busy , no answer, etc . session.setVariable(cause_code