by Vedisoft

All-In-One CTI is a computer telephony integration between SugarCRM and most popular PBXs. Easy install. Stable work. 100% support.

Cancel at any time!
Free Trial

#163 - What is the password that goes into the ALL-IN-ONE CTI configuration?

Closed Installation created by journeyerhum 7 years ago

Hi,

During SuiteCRM plugin setting, I need to put Password, Host, Port. I want to know what to put for Password and Host. I think the Port has to be the one in /etc/asterisk/cel_prostiezvonki.conf (default is 10150)

I tried Host with the defaut prewritten value - mobile.prostiezvonki.ru and Password empty. But this try fails with an error message - Missing required field: Password

Where can I find this missing required password?

Thanks!

  1. journeyerhum member avatar

    journeyerhum

    7 years ago

    Hi,

    There is one more thing - Match only last N digits. What is this? What do I need to put for this value?

  2. Vedisoft member avatar

    Vedisoft Provider

    7 years ago

    Hi, Password in CRM in All In One settigs should be equal to the one you set in cel_prostiezvonki.conf in field password. Do not be confused with field Contact. It is another field.

    Host is address of your freepbx. Make sure you can access freepbx by port 10150 from your BROWSER.

    N is a number of digits that should be matched when crm looks for existing client by phone number. It is usually set to 7 or 10

  3. journeyerhum member avatar

    journeyerhum

    7 years ago

    hi Vedisoft,

    Then can I use IP in the place of host? I didn't setup name for freepbx.

  4. journeyerhum member avatar

    journeyerhum

    7 years ago

    Hi,

    I get an error messge below: Connection close with error; Code: 1006 Reason:

    What did I set wrong? Please guide me.. Thank you in advance!

    The configuration entry I set are shown below:

    Configuration of ALL-IN-ONE CTI

    • Password 11111
    • Host we://192.168.0.81
    • Port 10150
    • Match only last N digits 7

    contents of /etc/asterisk/cel_prostiezvonki.conf

    password = 11111 port => 10150 ; default is 10150 internal_num_len => 4 ; default is 5 use_ssl = false

    ;############################################################### ;# Добавочный префикс add_prefix =

    ;############################################################### ;# Добавочный префикс для исходящих звонков out_prefix =

    I use versions of FreePBX and SuiteCRM as shown below: SuiteCRM Version 7.7.8(Sugar Version 6.5.24 (Build 509)) FreePBX 13.0.190.7 (Asterisk 11)

  5. Vedisoft member avatar

    Vedisoft Provider

    7 years ago

    Sorry, i mean ws://ip-address

    If use Ssl then wss.

    But it is better to start without Ssl

  6. journeyerhum member avatar

    journeyerhum

    7 years ago

    I get same error "Connection close with error; Code: 1006 Reason:"

    So I checked log message - /var/log/asterisk/cel_prostiezvonki_15-Dec-2016_16-49-31.log There is an error. - 15.12.2016 16:49:31.921 ERROR History loading failed, error: failed to load external entity "/var/log/asterisk/pzHistory.bak" And /var/log/asterisk/pzHistory.bak doesn't exist!

    What did I do wrong? Thanks in advance..

    15.12.2016 16:49:31.867 INFO Starting Asterisk 1.2.8.8^M 15.12.2016 16:49:31.875 INFO ProtocolLib initialized port=10150 ^M 15.12.2016 16:49:31.875 INFO ========== CONFIG ========== Module for Asterisk 11 password = 11111 certificate_path = /etc/asterisk/ log_file = /var/log/asterisk/cel_prostiezvonki.log log_level = 4 port = 10150 internal_num_len = 4 record_internal_path = record_external_path = audio_format = wav smart_transfer = 1 transfer_time = 3 answer_time = 10 queue_max_length = 500 use_ssl = 1 add_prefix = contract = IXUPJ76121111632036978655 channel_type = SIP out_prefix = only_outgoing = 0 event_log = 0 lame_codec_path =

    is_free_pbx = 1

        history_backup_file = /var/log/asterisk/pzHistory.bak
        truncated_incoming_chars = 92590991
    

    ^M 15.12.2016 16:49:31.875 INFO macro-prostie-zvonki context create succeeded ^M 15.12.2016 16:49:31.921 ERROR History loading failed, error: failed to load external entity "/var/log/asterisk/pzHistory.bak" ^M 15.12.2016 16:49:31.921 WARNING File /etc/asterisk/pz_status.html does not exist, or cannot be opened ^M 15.12.2016 16:49:33.779 INFO License server successfully set license status^M 15.12.2016 16:49:49.111 INFO New client connected: GUID , ClientType sugarcrm, PhoneNumber , BroadcastGroup , BroadcastEventsMask 0, EventsMode , EventsMask 0, ProtocolVersion 1^M 15.12.2016 16:49:52.331 INFO Client disconnected^M

  7. journeyerhum member avatar

    journeyerhum

    7 years ago

    ~ 15.12.2016 16:49:31.867 INFO Starting Asterisk 1.2.8.8^M 15.12.2016 16:49:31.875 INFO ProtocolLib initialized port=10150 ^M 15.12.2016 16:49:31.875 INFO ========== CONFIG ========== Module for Asterisk 11 password = 11111 certificate_path = /etc/asterisk/ log_file = /var/log/asterisk/cel_prostiezvonki.log log_level = 4 port = 10150 internal_num_len = 4 record_internal_path = record_external_path = audio_format = wav smart_transfer = 1 transfer_time = 3 answer_time = 10 queue_max_length = 500 use_ssl = 1 add_prefix = contract = IXUPJ76121111632036978655 channel_type = SIP out_prefix = only_outgoing = 0 event_log = 0 lame_codec_path =

    is_free_pbx = 1

        history_backup_file = /var/log/asterisk/pzHistory.bak
        truncated_incoming_chars = 92590991
    

    ^M 15.12.2016 16:49:31.875 INFO macro-prostie-zvonki context create succeeded ^M 15.12.2016 16:49:31.921 ERROR History loading failed, error: failed to load external entity "/var/log/asterisk/pzHistory.bak" ^M 15.12.2016 16:49:31.921 WARNING File /etc/asterisk/pz_status.html does not exist, or cannot be opened ^M 15.12.2016 16:49:33.779 INFO License server successfully set license status^M 15.12.2016 16:49:49.111 INFO New client connected: GUID , ClientType sugarcrm, PhoneNumber , BroadcastGroup , BroadcastEventsMask 0, EventsMode , EventsMask 0, ProtocolVersion 1^M 15.12.2016 16:49:52.331 INFO Client disconnected^M 15.12.2016 16:52:22.925 INFO New client connected: GUID , ClientType sugarcrm, PhoneNumber , BroadcastGroup , BroadcastEventsMask 0, EventsMode , EventsMask 0, ProtocolVersion 1^M ~

  8. journeyerhum member avatar

    journeyerhum

    7 years ago

    I get an error messge below: Connection close with error; Code: 1006 Reason:

    What did I set wrong? Please guide me.. Thank you in advance!

    The configuration entry I set are shown below:

    Configuration of ALL-IN-ONE CTI

    Password 11111 Host ws://192.168.0.81 Port 10150 Match only last N digits 7 contents of /etc/asterisk/cel_prostiezvonki.conf

    password = 11111 port => 10150 ; default is 10150 internal_num_len => 4 ; default is 5 use_ssl = false

    ;############################################################### ;# Добавочный префикс add_prefix =

    ;############################################################### ;# Добавочный префикс для исходящих звонков out_prefix =

    I use versions of FreePBX and SuiteCRM as shown below: SuiteCRM Version 7.7.8(Sugar Version 6.5.24 (Build 509)) FreePBX 13.0.190.7 (Asterisk 11)

    Look! I used ws:// as you pointed..

    log.png

  9. journeyerhum member avatar

    journeyerhum

    7 years ago

    F.Y.I. I tried to find the file /var/log/asterisk/pzHistory.bak. It doesn't exist!!

  10. Vedisoft member avatar

    Vedisoft Provider

    7 years ago

    Hi, 1. I don't see the result for this string. Could you say what you really have there: "License server successfully set license status^M" 2. Please send me the whole log file here a@vedisoft.info

    We can have a skype call. My skype is andrew.uymin

  11. Vedisoft member avatar

    Vedisoft Provider

    7 years ago

    ---F.Y.I. I tried to find the file /var/log/asterisk/pzHistory.bak. It doesn't exist!!

    check that asterisk user has access to write in your folder

  12. journeyerhum member avatar

    journeyerhum

    7 years ago

    There is the exact sentence with yours - "License server ... status^M" - in the image I uploaded. Look at the forth line from the bottom.

This case is public. Please leave out any sensitive information such as URLs, passwords, etc.
Saving Comment Saving Comment...