eeswitch-users-boun...@lists.freeswitch.org] On Behalf Of
Baskar
Sent: 26 February 2009 14:56
To: freeswitch-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
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:
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);
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.
console_log("no
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);
session.se