Multicasting and conferencing

Version 1
    This document was generated from CDN thread

    Created by: ROBERT KULAGOWSKI on 27-07-2010 02:46:27 PM
    To support an "all hands" call, I created the following web page and made it an Enterprise Service:

     
    <?php
     
    $ip_of_phone = $_SERVER['REMOTE_ADDR'] ;
     
    $post_data = "XML=". urlencode('<CiscoIPPhoneExecute>
         <ExecuteItem Priority="1" URL="RTPTx:Stop"/>
         </CiscoIPPhoneExecute>') ;
     
     
    $ch = curl_init();
     
    curl_setopt($ch, CURLOPT_URL, "http://" . $ip_of_phone . "/CGI/Execute");
    curl_setopt($ch, CURLOPT_HEADER, 0);
    curl_setopt($ch, CURLOPT_POST, 1);
    curl_setopt($ch, CURLOPT_POSTFIELDS, $post_data);
    curl_setopt($ch, CURLOPT_USERPWD, "confsuperuser:password");
    curl_exec($ch);
    curl_close($ch);
     
    sleep(1) ;
     
    if ($ip_of_phone == "10.255.23.74" or $ip_of_phone == "10.255.23.75")
    {
    $post_data = "XML=". urlencode('<CiscoIPPhoneExecute>
         <ExecuteItem Priority="1" URL="RTPMTx:239.168.3.20:20480"/>
         </CiscoIPPhoneExecute>') ;
    $ch = curl_init();
     
    curl_setopt($ch, CURLOPT_URL, "http://" . $ip_of_phone . "/CGI/Execute");
    curl_setopt($ch, CURLOPT_HEADER, 0);
    curl_setopt($ch, CURLOPT_POST, 1);
    curl_setopt($ch, CURLOPT_POSTFIELDS, $post_data);
    curl_setopt($ch, CURLOPT_USERPWD, "confsuperuser:password");
    curl_exec($ch);
    curl_close($ch);
     
    }
     
    $post_data = "XML=". urlencode('<CiscoIPPhoneExecute>
         <ExecuteItem Priority="1" URL="RTPMRx:239.168.3.20:20480"/>
         </CiscoIPPhoneExecute>') ;
     
    // echo "Post data is " . $post_data ;
     
    $ch = curl_init();
     
    curl_setopt($ch, CURLOPT_URL, "http://" . $ip_of_phone . "/CGI/Execute");
    curl_setopt($ch, CURLOPT_HEADER, 0);
    curl_setopt($ch, CURLOPT_POST, 1);
    curl_setopt($ch, CURLOPT_POSTFIELDS, $post_data);
    curl_setopt($ch, CURLOPT_USERPWD, "confsuperuser:password");
    curl_exec($ch);
    curl_close($ch);
     
    ?>


    This was sufficient to allow two talkers and multiple listeners.  However, the next step would be to also allow 3rd parties to join, either through a Meet-me, or having one device place a call to an audio bridge and simultaneously be in the multicast group. Any ideas on how to either make it work, or is it just not possible to do easily?

    Subject: RE: Multicasting and conferencing
    Replied by: Umesh Chaurasia on 31-07-2010 01:29:24 PM
    Have you checked Cisco CUAE tool to design IP phone applications? Using this tool you can design XML application, voice based applications (IVR, multicast push to talk), recording etc. Yo need to bother about the functionality, load and stress reated things will be taken care by CUAE.
     
    Regards,
    Umesh