Results 1 to 6 of 6

Thread: SugarCRM + Asterisk, click-to-dial issues

  1. #1
    cysuser's Avatar
    cysuser is offline Member
    Join Date
    Sep 2010
    Location
    Madrid, Spain
    Posts
    10

    Default SugarCRM + Asterisk, click-to-dial issues

    Hi all,

    I am a new user of Asterisk + SugarCRM. After configuring both systems following the directions in several docs, my click-to-dial from SugarCRM only shows a pop-up window telling me that is Dialing...[Extn] but nothing happens!

    I followed the instructions from http://www.voicerd.org/index.php/Voi...n_for_SugarCRM and I think it is OK. I also configured Asterisk following several instrucions + forums.

    Let me paste some clues:

    Asterisk 1.6.2.7 in FreePBX 2.8.0.2

    I configured some SIP extensions (1001, 1002, 1003, 1004). The context is "from-internal". We can dial from one extension to other using X-Lite SIP phone (Asterisk works!). We also can dial from one SIP extension to a CISCO Call Manager extension (Dial plan and trunks also works!).

    I configured manager.conf with the following:

    [sugaruser]
    secret = secretpass
    permit=0.0.0.0/0.0.0.0 <-- allow ALL for test purposes
    ;permit=127.0.0.1/255.255.255.0 <-- commented
    ;permit=10.0.0.155/255.255.248.0 <-- commented
    read = system,call,log,verbose,command,agent,user
    write = system,call,log,verbose,command,agent,user

    SugarCRM 5.5.1 with Asterisk Voice RD Integration (http://www.sugarforge.org/frs/?group_id=204)

    Admin --> System Settings (Asterisk)

    Enable Asterisk Integration [X]
    Enable Asterisk Pro [] (unchecked, I have sugarcrm CE)
    Asterisk Server: [IP address]
    Asterisk Port: 5038
    Asterisk Username: sugaruser
    Asterisk Secret: secretpass
    Asterisk Internal context: from-internal
    Asterisk External Context: from-internal
    Asterisk Phone Icon [X]

    There is no place to configure a timeout as seen in other forums.

    Finally, we configured "My Account" at SugarCRM to have the Extension "SIP/1004" and created a contact with the phone "1003" (we also tried using "SIP/1003").

    From Asterisk, when increasing the trace level (we used 26 "v"! -verbose-):

    cd /etc/asterisk
    asterisk -vvvvvvvvvvvvvvvvvvvvvvvvvvr

    The only output is:

    localhost*CLI>
    == Manager 'sugaruser' logged on from 10.0.0.155 <-- the IP from the user trying to call
    == Manager 'sugaruser' logged off from 10.0.0.155


    Asterisk full log file:
    [Sep 16 14:46:30] VERBOSE[4539] manager.c: == Manager 'sugaruser' logged on from 10.0.0.155
    [Sep 16 14:46:30] VERBOSE[4539] manager.c: == Manager 'sugaruser' logged off from 10.0.0.155

    are we missing anything?

    Thanks a lot!

    * PS: Sorry for my english!

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

    Default Re: SugarCRM + Asterisk, click-to-dial issues

    maybe this http://www.sugarforge.org/projects/yaai/ can help resolve your issue.

    christian.

  3. #3
    cysuser's Avatar
    cysuser is offline Member
    Join Date
    Sep 2010
    Location
    Madrid, Spain
    Posts
    10

    Default Re: SugarCRM + Asterisk, click-to-dial issues [SOLVED]

    Thank you, Christian

    It was easier (I didn't want to start with a new module... Voice/RD HAD to work).

    First, I had to add provileges to sugaruser in Asterisk manager.conf.
    Second, auto pickup feature must NOT be checked in Sugar --> MyAccount.

    Thank you again
    Ramon
    Last edited by cysuser; 2010-09-20 at 10:55 AM. Reason: EDT: check

  4. #4
    christospen is offline Junior Member
    Join Date
    Oct 2010
    Posts
    2

    Smile Re: SugarCRM + Asterisk, click-to-dial issues

    Hello,
    First of all i've installed trixbox 2.8 iso, I've installed SugarCRM too, I want to integrate asterisk and sugarcrm. I want your help i configured the manager.conf with above settings and asterisk stoped... I left the default user and pass and I configure sugar with those settings too. When I call a contact from sugarcrm it pop up a windows says dialling and the number but nothing then. Please help me!!!

    Thank you a lot!

  5. #5
    cysuser's Avatar
    cysuser is offline Member
    Join Date
    Sep 2010
    Location
    Madrid, Spain
    Posts
    10

    Default Re: SugarCRM + Asterisk, click-to-dial issues

    Quote Originally Posted by christospen View Post
    Hello,
    First of all i've installed trixbox 2.8 iso, I've installed SugarCRM too, I want to integrate asterisk and sugarcrm. I want your help i configured the manager.conf with above settings and asterisk stoped... I left the default user and pass and I configure sugar with those settings too. When I call a contact from sugarcrm it pop up a windows says dialling and the number but nothing then. Please help me!!!

    Thank you a lot!
    Hello christospen

    You have to add 'originate' privileges to the [sugaruser] user. My manager.conf shows the following:

    [sugaruser]
    secret = secretpass
    permit=127.0.0.1/255.255.255.0
    permit=10.0.0.155/255.255.248.0
    read = system,call,log,verbose,command,agent,user,origina te
    write = system,call,log,verbose,command,agent,user,origina te

    Good luck!

  6. #6
    christospen is offline Junior Member
    Join Date
    Oct 2010
    Posts
    2

    Smile Re: SugarCRM + Asterisk, click-to-dial issues

    ThanKk you it worked!!!

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Click-to-Call / Click-to-Dial feature...
    By mmorelli in forum Developer Help
    Replies: 0
    Last Post: 2010-08-25, 06:08 PM
  2. SugarCRM CE con Asterisk
    By thejay69 in forum Español
    Replies: 2
    Last Post: 2010-04-29, 10:43 PM
  3. demande d'aide "click to dial"
    By mundoreves in forum Français
    Replies: 0
    Last Post: 2008-01-06, 01:37 PM
  4. click to dial not working.
    By Randyr in forum Help
    Replies: 0
    Last Post: 2006-01-02, 07:25 PM
  5. SugarCRM and Asterisk
    By akrall in forum General Discussion
    Replies: 8
    Last Post: 2005-06-16, 07:44 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
  •