[Freeswitch-users] Cant get Disposition status in Javascript

Baskar yudha2008 at gmail.com
Thu Feb 26 03:45:06 PST 2009


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.setVariable("phone", "phone_no: " +argv[0]);
result = session.getVariable("endpoint_disposition")
hangup = session.getVariable("originate_disposition")


OUTPUT:

S_UUID
  PHONE_NO         RESULT          HANGUP_STATE

f579cb15-5145-4eb1-a080-03b9e53b90f739841799874     39841799874
 ANSWER

for "originate_disposition" i did not get any value stored in the Table. So
how can get the originate_disposition ????

-- 
Warm Regards,
N.Baskar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090226/8505d026/attachment-0002.html 


More information about the FreeSWITCH-users mailing list