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);
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.
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 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:
-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