Aastra XML scripts can search Sugar from Aastra ph

Discussion in 'General' started by donhwyo, Dec 2, 2008.

  1. donhwyo

    Joined:
    Aug 8, 2008
    Messages:
    293
    Likes Received:
    0
    Hi thought others may be interested in this. I installed the XML scripts in the link below and can now search from my 480i phones.
    http://www.elastix.org/index.php?op...c=view&id=12652&catid=3&limit=10&limitstart=0

    You need to to change passw0rd in this file /var/www/html/aastra/asterisk/sugarCRM.php to eLaStIx.2oo7 .

    Then add an entry in this file to match your phones. Make sure it is asterisk:asterisk. I supose I could try to add for all but I only have 480 to test.
    /var/www/html/aastra/asterisk/demo-user.prf

    In the 480i section I added this
    Code:
    softkey10 type:xml
    softkey10 label:Sugar CRM
    softkey10 value:http://$$AA_XML_SERVER_AA$$/$$AA_XMLDIRECTORY_AA$$/asterisk/sugarCRM.php?$$SIPUSERNAME$$
    softkey10 states:idle connected incoming outgoing
    
    Hit Softkey 10
    It asks for first letters of name (last name) then returns a list. Select a contact and it gives there numbers. Nice!

    Now for my request. I am using Vtiger crm and would like to do the same from Vtiger. Is anybody out there familiar enough with mysql and php to see how to modify it for Vtiger. I am stuck trying to figure out where $database is coming from. I am going to start a thread in the vtiger section for replies to this part if any one can help. http://www.elastix.org/index.php?option=com_fireboard&Itemid=55&func=view&catid=37&id=13629#13629

    Thanks,
    Don
     

Share This Page