Results 1 to 3 of 3

Thread: Newbie question - Lookup lead/contact based on Caller ID

  1. #1
    jasondeegan is offline Junior Member
    Join Date
    May 2010
    Posts
    1

    Default Newbie question - Lookup lead/contact based on Caller ID

    Hey group - here's an easy question for someone with just a little bit of experience...

    I'm trying to integrate my SOAP API (v 5.2) with a new open-source communications-enabled BPM tool, StarPound. The idea is, on an incoming call, I want to lookup the caller ID in my SugarCRM DB. I could then use SP to route the call to the correct account rep or to the CSR queue...

    I used SP and the WSDL to expose all my methods, but I don't see anything that retrieves contact / lead data based on a phone number input. And, given a phone number could be a lead or a contact, is there an API to do both at the same time (i.e. I don't care if they are a lead or a contact, just find out who it is...)

    What am I missing?

    Thanks!

    Jason

  2. #2
    Angel's Avatar
    Angel is offline Sugar Community Member
    Join Date
    Jul 2005
    Location
    Los Angeles
    Posts
    4,813

    Default Re: Newbie question - Lookup lead/contact based on Caller ID

    I do something similar within my Skype link. The way I do it is just using get_entry_list() searching the Leads and Contacts modules independently.

    I tried using the more generic search method, but ran into some issue with it that made it somewhat rigid for my needs if memory serves me.
    Regards,

    Angel Magaņa
    Co-Author: Implementing SugarCRM 5.x (Packt Publishing -- Sept. 2010)
    Blog: http://cheleguanaco.blogspot.com.
    Twitter: @cheleguanaco.

    ________
    | Projects: |_____________________________________
    |
    | CandyWrapper (.NET Wrapper for SugarCRM SOAP API). Source now available on GitHub!
    | GoldMine to SugarCRM Express Conversion. Latest: 1.0.1.7 (Nov. 3, 2009)
    | CRM SkyDialer (Skype Integration). Latest: 1.0.2 (Feb. 17, 2010)
    | Round Robin Leads Assignment
    | Phone Number Formatter
    | CaseTwit (Twitter Integration)
    ______________________________________________

  3. #3
    christianknoll's Avatar
    christianknoll is offline Sugar Community Member
    Join Date
    Nov 2008
    Location
    Vienna
    Posts
    939

    Default Re: Newbie question - Lookup lead/contact based on Caller ID

    To do this with a responsetime that provides you the nu,ber before the call is over ... .. you will need to write your own SOAP function. Can be done easily and is most likely also much easier than writing the search goiung back and forth with various saop calls. Just add a Soap functions where you add search logic by maybe also masking the phone number and then return whatever you want to return. You can look at our asterisk integration .. very similar only that the polling script does the search via AJAX from the SugarUI.

    christian.

    www.kinamu.com

    Quote Originally Posted by jasondeegan View Post
    Hey group - here's an easy question for someone with just a little bit of experience...

    I'm trying to integrate my SOAP API (v 5.2) with a new open-source communications-enabled BPM tool, StarPound. The idea is, on an incoming call, I want to lookup the caller ID in my SugarCRM DB. I could then use SP to route the call to the correct account rep or to the CSR queue...

    I used SP and the WSDL to expose all my methods, but I don't see anything that retrieves contact / lead data based on a phone number input. And, given a phone number could be a lead or a contact, is there an API to do both at the same time (i.e. I don't care if they are a lead or a contact, just find out who it is...)

    What am I missing?

    Thanks!

    Jason

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. related account type lookup in contact record
    By Sunnsky in forum General Discussion
    Replies: 1
    Last Post: 2010-05-07, 04:57 AM
  2. Auto Assign Lead/Contact to User Based on Zip
    By trega in forum Developer Help
    Replies: 1
    Last Post: 2009-06-11, 04:01 AM
  3. Leads/Roles. Permission based access based on lead type.
    By kyhoop in forum General Discussion
    Replies: 2
    Last Post: 2008-08-18, 07:11 PM
  4. Question on contact/lead history
    By topdown in forum General Discussion
    Replies: 0
    Last Post: 2006-06-12, 10:31 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
  •