API - startNewConferenceI

Ronaldo
2007-03-02
2013-05-01
  • Ronaldo
    Ronaldo
    2007-03-02

    HI,

    Someone could help me. I´m using the API example that we have at Dimdim documentation, but someting is wrong and I can´t start a new conference.

    Thanks,

    Ronaldo
    ronaldol@cybernet.com.br

    -----------------------< Page Code >-----------------------------------------
    <html>
    <head>
        <title></title>

            <link href="css/style_v3.css" rel="stylesheet" type="text/css" media="all" />

          <script language="JavaScript1.2" type="text/javascript" src="html/browser_check.js"></script>
          <script language="JavaScript1.2" type="text/javascript" src="js/client_guid.js"></script>
          <script language="JavaScript1.2" type="text/javascript" src="js/dimdimInteractive.js"></script>

    <script type="text/javascript">

    var interactiveSuccessHandler = function(o)
    {
        if (o.responseText !== undefined)
            {
                var resp = eval('('+o.responseText+')');
                if (resp.result == "success")
                {
                    if (resp.url != "")
                    {
                        window.location = resp.url;
                    }
                    else
                    {
                        alert(resp.result);
                    }
                }
                else if (resp.message != "")
                {
                    alert(resp.message);
                }
            }
        else
            {
            alert("No response from server");
            }
    }

    /** Dimdim Failure Handler */

    var interactiveFailureHandler = function(o)
        {
        alert("Failure: "+o.statusText);
        }

    /** Function to display the alert message
        * @public
        * @param string text: Message to be displayed
        * @return void
    */

    function showMessage(text)
        {
        alert(text);
        }

    /*** The interactive counterparts of the api calls.  */

    function scheduleConferenceI (baseUrl,organizerEmail,organizerDisplayName,
    confName,confKey,presenters,attendees,timeStr,timeZone,sendEmail)
        {
        schedulerConference    (baseUrl,organizerEmail,organizerDisplayName,
                    confName,confKey,presenters,attendees,timeStr,timeZone,sendEmail,
                    interactiveSuccessHandler,interactiveFailureHandler);
        }

    function startScheduledConferenceI (baseUrl,email,displayName,confKey)
        {
        startScheduledConference    (baseUrl,email,displayName,confKey,
                        interactiveSuccessHandler,interactiveFailureHandler);
    }

    function startNewConferenceI(baseUrl,email,displayName,confName,confKey)
    {
    startNewConference(baseUrl,email,displayName,confName,confKey,interactiveSuccessHandler,interactiveFailureHandler);
    }

    function joinConferenceI (baseUrl,email,displayName,confKey)
        {
        joinConference    (baseUrl,email,displayName,confKey,
                interactiveSuccessHandler,interactiveFailureHandler);
    }

    </script>

    </head>

    <body bgcolor="#FFFFFF" text="#000000" link="#000000" vlink="#000000" alink="#000000" leftmargin="0" topmargin="0">

    <br>
    <br>
    <br>

    <input type="button" value="Start Conference" onclick="startNewConferenceI('dimdim','ronaldol@cybernet.com.br','Ronaldo','ConfName','123456')"> 

    </body>
    </html>

     
    • dimdim_sundar
      dimdim_sundar
      2007-03-12

      Hello Ronaldo,

      The integration API has changed a little bit since the time it was released. This has not been reflected in the documentation/code samples you are seeing and using. We are planning a release candidate of the Dimdim Enterprise version soon and the API and server code is being tweaked so that everythig works fine.

      Can you please tell me what exactly is not working and where you are facingthe problem and I will tryt o help you resolve it?

      Regards,
      ~sundar
      sundar(@)dimdim.com

       
      • tkwork
        tkwork
        2007-12-25

        Has the new RC been released?  If not is there an eta?  I'm also interested in using this API functionality.

        Thanks.
        -Tom

         
    • Le Quang Ninh
      Le Quang Ninh
      2008-04-21

      I installed Dimdim in my desktop and now i can start a conference by this URL:  http://10.0.0.170/Dimdim (port:80). I have a web application and want to integrate with Dimdim. For example i run my application by this url: http://localhost:8080/vfg/admin/conference.vf (i use Spring framework) and start a conference from Dimdim by call a javascript function. But it isn't working and i receive an error "uncaught exception: Permission denied to call method XMLHttpRequest.open"
      Please help me to solve this problem!

      Thank you very much