Results 1 to 2 of 2

Thread: Integration with Asteria

  1. #1
    MickeyMooseMU is offline Junior Member
    Join Date
    Jun 2011
    Posts
    1

    Default Integration with Asteria

    Hi,

    I am in need of some serious help. We have a big project that we have going on right now that would be made easier if we had use of the Sugar CRM. The problem, however, is that we are using Asteria as our dialer service and they are not integrated with Sugar.

    We asked a friend to talk with Asteria and figure out what needed to be done to get this integration going. That was about three weeks ago. My co-manager, who had been communicating both with this developer friend and Asteria about this, left for Officer training and is gone for the next week. I have some of the conversations about what was going on, but a lot of this goes over my head.

    Here is what the person at Asteria sent us:

    What we usually do is create a "helper" scripts the pulls the URL parameters required from the actual screenpop in assist and then does a redirect:


    <?php
    header('Location: http://sugar_host.somewhere.com/sugarcrm/index.php?action=DetailView&module=Leads&record='. urlencode($_GET['vendor_id']));
    ?>


    That little PHP script will pull the vendor_id from the url pop and do a SugarCRM search for it. Below is another sample:

    <?php
    header('Location: http://192.168.2.101/sugarcrm/index.php?action=DetailView&module=Leads&record='. urlencode($_GET['ACCOUNT_ID']));
    ?>


    Here is a sample searching salesforce for the callerid number:

    ?php
    header('Location: https://na5.salesforce.com/search/SearchResults?sbstr='.urlencode($_GET['calleridnum']));
    ?>




    To get a list of the variables available try setting this as the POP URL.


    <html><head><title>General Popup Test</title>
    </head>
    <body>
    <H1>General Popup Test</H1>

    <?php

    echo "<pre>";
    echo "--------GET VARIABLES--------------<br>";
    print_r($_GET);
    echo "--------REQUEST VARIABLES--------------<br>";
    print_r($_REQUEST);
    echo "--------SERVER PARAMETERS----------<br>";
    print_r($_SERVER);
    echo "</pre>";
    ?>
    </body>
    </html>


    He also sent this as well (a sample php script):

    <html><head><title>General Popup Test</title>
    </head>
    <body>
    <H1>General Popup Test</H1>

    <?php

    echo "<pre>";
    echo "--------GET VARIABLES--------------<br>";
    print_r($_GET);
    echo "--------REQUEST VARIABLES--------------<br>";
    print_r($_REQUEST);
    echo "--------SERVER PARAMETERS----------<br>";
    print_r($_SERVER);
    echo "</pre>";
    ?>
    </body>
    </html>


    Now, when I login into Sugar, there is a header in the Last Viewed called "Base Implementa". When I click on that, it gives me "Error: File [modules/UserPreferences/metadata/detailviewdefs.php] is missing. Unable to create because no corresponding HTML file was found."

    I do not know what to do with the php script. Any help would be appreciated.

  2. #2
    jmertic is offline Sugar Community Manager
    Join Date
    Dec 2007
    Posts
    2,224

    Default Re: Integration with Asteria

    Trying add the following line of code somewhere inside the class definition UserPreference in modules/UserPreferences/UserPreference.php:

    PHP Code:
    public $tracker_visibility false

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. SMS integration
    By ravin in forum Installation and Upgrade Help
    Replies: 1
    Last Post: 2010-05-22, 05:06 PM
  2. fax integration
    By davetoffling in forum General Discussion
    Replies: 1
    Last Post: 2008-10-24, 07:30 PM
  3. fax integration?
    By efgroup in forum General Discussion
    Replies: 10
    Last Post: 2006-08-16, 10:30 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •