blak3r / yaai

SugarCRM Asterisk integration
http://www.sugarforge.org/projects/yaai
GNU General Public License v3.0
81 stars 85 forks source link

callinize module issue #195

Open shmshm opened 10 years ago

shmshm commented 10 years ago

When i upload the module and click on install after installation it didn't appear on the installation menu but i found that the module in the admin page and configure it and run the asteriskLogger.php it give me this:

root@shimaa-HP-Compaq-Elite-8300-CMT:/var/www/sugarcrm/custom/modules/Asterisk# php asteriskLogger.php PHP Warning: fopen(): Filename cannot be empty in /var/www/sugarcrm/custom/modules/Asterisk/asteriskLogger.php on line 1498 PHP Warning: fclose() expects parameter 1 to be resource, boolean given in /var/www/sugarcrm/custom/modules/Asterisk/asteriskLogger.php on line 1505

\ Asterisk Logger Starting [2014-06-30 05:59:19]**** [Config Settings] Sugar root set to [/var/www/sugarcrm/custom/modules/Asterisk/../../../] Main Log is logging to: /etc/asterisk/logger.conf Dial Events Log is enabled and logging to: /etc/asterisk/logger.conf Found Language file for en_us Callout prefix is [994123456789] Callin prefix is [994123456789] Match Internal Regex = /^(sip\/[1-9][0-9][0-9]?[0-9]?-|Local)/i [Database Connection] Selecting DB Name: sugarcrm PHP Notice: Undefined index: value in /var/www/sugarcrm/custom/modules/Asterisk/asteriskLogger.php on line 194 [SOAP Connection] Trying SOAP login endpoint=[http://localhost/sugarcrm/soap.php] user=[admin] password=[21232f297a57a5a743894a0e4a801fc3] PHP Warning: Attempt to modify property of non-object in /var/www/sugarcrm/include/nusoap/nusoap.php on line 6166 PHP Warning: Attempt to modify property of non-object in /var/www/sugarcrm/include/nusoap/nusoap.php on line 6166 PHP Warning: Attempt to modify property of non-object in /var/www/sugarcrm/include/nusoap/nusoap.php on line 6166 PHP Warning: Attempt to modify property of non-object in /var/www/sugarcrm/include/nusoap/nusoap.php on line 6166 Successfully logged into Sugar via SOAP! SessionId=9j8kt73lg3lh03sikcl1dck6c2 user=admin GUID=1 [Asterisk Manager Interface (AMI) Connection] Successfully opened socket connection to 127.0.0.1:5038 AMI Version Info:

 Asterisk Call Manager/1.1

Supported AMI version: 1.1 Detected AMI Login action raw response:

 Response: Success
 Message: Authentication accepted

AMI Login was a success! Waiting for call events...

and when i call the call appears the question is there is no popup and no call sign near to my number there is nothing new on my sugarcrm what should i do please if any one know any thing reply to me...

shmshm commented 10 years ago

this is the log when installing th callinize module:

Including: cache/upgrades/temp/SjiFu7/scripts/pre_install.php 100%

Display Log Installing administration extension Installing Language Packs Rebuilding Language...en_us Rebuilding Language...ge_ge Rebuilding Language...ru_ru Rebuilding ActionViewMap... Rebuilding ActionFileMap... Rebuilding ActionReMap... Rebuilding Administration... Rebuilding EntryPointRegistry... Rebuilding Extensions... Rebuilding FileAccessControlMap... Rebuilding Layoutdefs... Rebuilding GlobalLinks... Rebuilding LogicHooks... Rebuilding Menus... Rebuilding Include... Rebuilding ScheduledTasks... Rebuilding UserPage... Rebuilding Utils... Rebuilding Vardefs... Rebuilding JSGroupings... Installing Custom Fields...

blak3r commented 10 years ago

Try www.callinize.com. Something sounds broken in your sugar and don't know where to begin to help. The callinize.com version requires no module to be loaded in sugar locally.

The errors in the asterisk logger output aren't serious.

Sent via mobile

On Jun 30, 2014, at 2:47 AM, shmshm notifications@github.com wrote:

When i upload the module and click on install after installation it didn't appear on the installation menu but i found that the module in the admin page and configure it and run the asteriskLogger.php it give me this:

root@shimaa-HP-Compaq-Elite-8300-CMT:/var/www/sugarcrm/custom/modules/Asterisk# php asteriskLogger.php PHP Warning: fopen(): Filename cannot be empty in /var/www/sugarcrm/custom/modules/Asterisk/asteriskLogger.php on line 1498 PHP Warning: fclose() expects parameter 1 to be resource, boolean given in /var/www/sugarcrm/custom/modules/Asterisk/asteriskLogger.php on line 1505

\ Asterisk Logger Starting [2014-06-30 05:59:19]**** [Config Settings] Sugar root set to [/var/www/sugarcrm/custom/modules/Asterisk/../../../] Main Log is logging to: /etc/asterisk/logger.conf Dial Events Log is enabled and logging to: /etc/asterisk/logger.conf Found Language file for en_us Callout prefix is [994123456789] Callin prefix is [994123456789] Match Internal Regex = /^(sip\/[1-9][0-9][0-9]?[0-9]?-|Local)/i [Database Connection] Selecting DB Name: sugarcrm PHP Notice: Undefined index: value in /var/www/sugarcrm/custom/modules/Asterisk/asteriskLogger.php on line 194 [SOAP Connection] Trying SOAP login endpoint=[http://localhost/sugarcrm/soap.php] user=[admin] password=[21232f297a57a5a743894a0e4a801fc3] PHP Warning: Attempt to modify property of non-object in /var/www/sugarcrm/include/nusoap/nusoap.php on line 6166 PHP Warning: Attempt to modify property of non-object in /var/www/sugarcrm/include/nusoap/nusoap.php on line 6166 PHP Warning: Attempt to modify property of non-object in /var/www/sugarcrm/include/nusoap/nusoap.php on line 6166 PHP Warning: Attempt to modify property of non-object in /var/www/sugarcrm/include/nusoap/nusoap.php on line 6166 Successfully logged into Sugar via SOAP! SessionId=9j8kt73lg3lh03sikcl1dck6c2 user=admin GUID=1 [Asterisk Manager Interface (AMI) Connection] Successfully opened socket connection to 127.0.0.1:5038 AMI Version Info:

Asterisk Call Manager/1.1 Supported AMI version: 1.1 Detected AMI Login action raw response:

Response: Success Message: Authentication accepted AMI Login was a success! Waiting for call events...

and when i call the call appears the question is there is no popup and no call sign near to my number there is nothing new on my sugarcrm what should i do please if any one know any thing reply to me...

— Reply to this email directly or view it on GitHub.

shmshm commented 10 years ago

i already try that when i configure the organization CRM:sugar status=true but phone system:asterisk status=Status: INVALID_HOST_LAN_IP_SPECIFIED is it nessecerly to have public ip

blak3r commented 10 years ago

Yes. Setup port forwarding.

Blake Robertson Callinize blake@callinize.com

On Jun 30, 2014, at 6:00 AM, shmshm notifications@github.com wrote:

i already try that when i configure the organization CRM:sugar status=true but phone system:asterisk status=Status: INVALID_HOST_LAN_IP_SPECIFIED is it nessecerly to have public ip

— Reply to this email directly or view it on GitHub.

shmshm commented 10 years ago

these are my configuration: Host: 192.168.4.240/admin/config.php Port: 5038 Username: admin Secret: ***

shmshm commented 10 years ago

i want to install sugarcrm from the beginning and to integrated with my asterisk what should i do plz if you have helpful links..

shaymaael commented 9 years ago

i installed callinize module, the asterisklogger.php runs as supposed to and calls come to the sugarcrm but there is no popup, click to dial appears but not functioning