Project

General

Profile

Error autenticate goautodial CE v4

Added by Enzo Zazzaro over 5 years ago

Hi instalation problem goautodial v4 and on login log in tail -f ssl_access_log is

"POST /goAPIv2/goUsers/goAPI.php HTTP/1.1" 500 -"
Error 500 (not foud) but is ok and file exist

php7 ok
mariadb is ok
connect is ok
kamailio mmm (
kamailio.service - Kamailio (OpenSER) - the Open Source SIP Server
Loaded: loaded (/usr/lib/systemd/system/kamailio.service; enabled; vendor preset: disabled)
Active: failed (Result: start-limit) since Fri 2018-08-24 16:56:25 CEST; 1h 59min ago
Main PID: 7373 (code=exited, status=255)

Aug 24 16:56:25 newgoautodial systemd1: kamailio.service: main process exited, code=exited, status=255/n/a
Aug 24 16:56:25 newgoautodial systemd1: Unit kamailio.service entered failed state.
Aug 24 16:56:25 newgoautodial systemd1: kamailio.service failed.
Aug 24 16:56:25 newgoautodial systemd1: kamailio.service holdoff time over, scheduling restart.
Aug 24 16:56:25 newgoautodial systemd1: start request repeated too quickly for kamailio.service
Aug 24 16:56:25 newgoautodial systemd1: Failed to start Kamailio (OpenSER) - the Open Source SIP Server.
Aug 24 16:56:25 newgoautodial systemd1: Unit kamailio.service entered failed state.
Aug 24 16:56:25 newgoautodial systemd1: kamailio.service failed.)

rtpengine mmm
( ngcp-rtpengine.service - LSB: NGCP rtpengine
Loaded: loaded (/etc/rc.d/init.d/ngcp-rtpengine; bad; vendor preset: disabled)
Active: failed (Result: exit-code) since Fri 2018-08-24 17:27:19 CEST; 1h 28min ago
Docs: man:systemd-sysv-generator(8)
Process: 11316 ExecStart=/etc/rc.d/init.d/ngcp-rtpengine start (code=exited, status=1/FAILURE)

Aug 24 17:27:19 newgoautodial rtpengine11325: INFO: Generating new DTLS certificate
Aug 24 17:27:19 newgoautodial rtpengine11325: ERR: FAILED TO CREATE KERNEL TABLE 0 (No such file or directory), KERNEL FORWARDING DISABLED
Aug 24 17:27:19 newgoautodial rtpengine11325: CRIT: Userspace fallback disallowed - exiting
Aug 24 17:27:19 newgoautodial ngcp-rtpengine11316: Starting rtpengine: [1535124439.135844] ERR: FAILED TO CREATE KERNEL TABLE 0 (No such file or directory... DISABLED
Aug 24 17:27:19 newgoautodial ngcp-rtpengine11316: [1535124439.135862] CRIT: Userspace fallback disallowed - exiting
Aug 24 17:27:19 newgoautodial ngcp-rtpengine11316: [FAILED]
Aug 24 17:27:19 newgoautodial systemd1: ngcp-rtpengine.service: control process exited, code=exited status=1
Aug 24 17:27:19 newgoautodial systemd1: Failed to start LSB: NGCP rtpengine.
Aug 24 17:27:19 newgoautodial systemd1: Unit ngcp-rtpengine.service entered failed state.
)

astersk ok

rtpengine
kamailio
problem resov tomorrow
my problem is autenticate and error 500 on goAPIv2

Please help me THX


Replies (50)

RE: Error autenticate goautodial CE v4 - Added by Enzo Zazzaro over 5 years ago

error 500 Internal server Error mmm

RE: Error autenticate goautodial CE v4 - Added by Brett05 VOIP over 5 years ago

i have got the same error as you friend
Kamailio and ngcp-rtpengine failed to start

hope we find solution for

for error 500 from web try to check the permission chmod

RE: Error autenticate goautodial CE v4 - Added by Demian Biscocho over 5 years ago

This is for the RTPengine issue:

Recompile the rtpengine kernel module:

cd /usr/src/ngcp-rtpengine-6.4.0.0-1.el7/
make
make install

RE: Error autenticate goautodial CE v4 - Added by Guilherme Bizzani over 5 years ago

Demian Biscocho wrote:

This is for the RTPengine issue:

Recompile the rtpengine kernel module:

[...]

Could you please copy your Makefile from ngcp-rtpengine here? The one I have is with the "install:" tag empty and I can't find it on google, etc.

rtpengine -v
Version: 6.4.0.0-1.el7

cat Makefile
https://pastebin.com/1mJLBPnn

RE: Error autenticate goautodial CE v4 - Added by Demian Biscocho over 5 years ago

You need to install the following:

ngcp-rtpengine-kernel-6.4.0.0-1.el7.x86_64
ngcp-rtpengine-dkms-6.4.0.0-1.el7.noarch
dkms-2.6.1-1.el7.noarch

This should do the trick:

yum install ngcp-rtpengine-kernel ngcp-rtpengine-dkms dkms

RE: Error autenticate goautodial CE v4 - Added by Guilherme Bizzani over 5 years ago

Trying to install over my current server didn't work. I'm formating it and starting the tutorial from the beggining once again, will update here soon.

RE: Error autenticate goautodial CE v4 - Added by Demian Biscocho over 5 years ago

Let's consolidate everything version 4 scratch install HOWTO here: https://goautodial.org/boards/3/topics/13811.

RE: Error autenticate goautodial CE v4 - Added by Brett05 VOIP over 5 years ago

for those who use Let’s Encrypt
if you try to start kamailio with "systemctl start kamailio " then you tail statis with "systemctl status kamailio.service -l"
in /var/log/messages i have see that he search the tls file so :
/etc/kamailio/tls.cfg and

[server:default]
method = TLSv1
verify_certificate = no
require_certificate = no
private_key = /etc/letsencrypt/live/MYDOMAIN/privkey.pem
certificate = /etc/letsencrypt/live/MYDOMAIN/fullchain.pem

and restart kamailio
i my case he tired me with read file privkey.pem so i have disable the "define WITH_TLS" in file /etc/kamailio/kamailio.cfg in line 152 "/*#!define WITH_TLS*/"
then i have reboot kamailio and it's working.

now my problme is when i log as agent exemple : agent001 i can access but if i click in "lOGIN TO DIALER" i see "ERROR
Login incorrect, please try again.
Please contact your Administrator"

what wrong here ?

RE: Error autenticate goautodial CE v4 - Added by Brett05 VOIP over 5 years ago

Brett05 VOIP wrote:

for those who use Let’s Encrypt
if you try to start kamailio with "systemctl start kamailio " then you tail statis with "systemctl status kamailio.service -l"
in /var/log/messages i have see that he search the tls file so :
/etc/kamailio/tls.cfg and

[...]

and restart kamailio
i my case he tired me with read file privkey.pem so i have disable the "define WITH_TLS" in file /etc/kamailio/kamailio.cfg in line 152 "/*#!define WITH_TLS*/"
then i have reboot kamailio and it's working.

now my problme is when i log as agent exemple : agent001 i can access but if i click in "lOGIN TO DIALER" i see "ERROR
Login incorrect, please try again.
Please contact your Administrator"

what wrong here ?

screen i have is :

 screen -ls
There are screens on:
        21433.ASTVDadapt        (Detached)
        1517.ASTfastlog (Detached)
        1511.ASTVDremote        (Detached)
        1508.ASTVDauto  (Detached)
        1505.ASTlisten  (Detached)
        1502.ASTsend    (Detached)
        1499.ASTupdate  (Detached)
        1285.asterisk   (Detached)
8 Sockets in /var/run/screen/S-root.

RE: Error autenticate goautodial CE v4 - Added by Brett05 VOIP over 5 years ago

full issue here in text file

issue.txt (7.94 KB) issue.txt full issue here in text file

RE: Error autenticate goautodial CE v4 - Added by Brett05 VOIP over 5 years ago

[30-Aug-2018 12:27:23 Asia/Manila] PHP Notice:  Undefined variable: session_id in /var/www/html/php/SessionHandler.php on line 116
[30-Aug-2018 00:27:23 America/New_York] PHP Notice:  Undefined variable: NOW_TIME in /var/www/html/goAPIv2/goAdminLogs/goLogActions.php on line 77
[30-Aug-2018 00:27:23 America/New_York] PHP Notice:  Undefined variable: db_query in /var/www/html/goAPIv2/goAdminLogs/goLogActions.php on line 80
[30-Aug-2018 00:27:23 America/New_York] PHP Notice:  Undefined variable: apiresults in /var/www/html/goAPIv2/goAPI.php on line 113
[30-Aug-2018 00:27:34 America/New_York] PHP Notice:  Undefined variable: action in /var/www/html/goAPIv2/goAPI.php on line 119
[30-Aug-2018 00:27:34 America/New_York] PHP Notice:  Undefined variable: action in /var/www/html/goAPIv2/goAPI.php on line 119
[30-Aug-2018 12:27:34 Asia/Manila] Module "GOautodial Agent Dialer" initializing...
[30-Aug-2018 12:27:34 Asia/Manila] Module "Message of the day" initializing...
[30-Aug-2018 00:27:34 America/New_York] PHP Notice:  Undefined variable: VARBRINGOWNVOIP in /var/www/html/goAPIv2/goPackages/goGetPackage.php on line 25
[30-Aug-2018 00:27:34 America/New_York] PHP Notice:  Undefined variable: VARPACKAGETYPE in /var/www/html/goAPIv2/goPackages/goGetPackage.php on line 25
[30-Aug-2018 00:27:37 America/New_York] PHP Notice:  Undefined variable: cols in /var/www/html/goAPIv2/goDashboard/goGetRealtimeAgentsMonitoring.php on line 53
[30-Aug-2018 00:27:37 America/New_York] PHP Notice:  Undefined variable: cols in /var/www/html/goAPIv2/goDashboard/goGetRealtimeAgentsMonitoring.php on line 53
[30-Aug-2018 00:27:39 America/New_York] PHP Notice:  Undefined variable: cols in /var/www/html/goAPIv2/goDashboard/goGetRealtimeAgentsMonitoring.php on line 53
[30-Aug-2018 12:27:40 Asia/Manila] Module "GOautodial Agent Dialer" initializing...
[30-Aug-2018 12:27:40 Asia/Manila] Module "Message of the day" initializing...
[30-Aug-2018 00:27:41 America/New_York] PHP Notice:  Undefined variable: VARBRINGOWNVOIP in /var/www/html/goAPIv2/goPackages/goGetPackage.php on line 25
[30-Aug-2018 00:27:41 America/New_York] PHP Notice:  Undefined variable: VARPACKAGETYPE in /var/www/html/goAPIv2/goPackages/goGetPackage.php on line 25

RE: Error autenticate goautodial CE v4 - Added by Enzo Zazzaro over 5 years ago

I do not go authentication I can not log in the system change password changed pass_hash changed everything also authentication on DB even on the REGISTER queries. You can log in as goamin and G0autodial2018
please help

RE: Error autenticate goautodial CE v4 - Added by Guilherme Bizzani over 5 years ago

Enzo Zazzaro wrote:

I do not go authentication I can not log in the system change password changed pass_hash changed everything also authentication on DB even on the REGISTER queries. You can log in as goamin and G0autodial2018
please help

The correct login credentials are: "goadmin" / " "

Yes, the password is a blank space.

RE: Error autenticate goautodial CE v4 - Added by Demian Biscocho over 5 years ago

Brett05 VOIP wrote:

for those who use Let’s Encrypt
if you try to start kamailio with "systemctl start kamailio " then you tail statis with "systemctl status kamailio.service -l"
in /var/log/messages i have see that he search the tls file so :
/etc/kamailio/tls.cfg and

[...]

and restart kamailio
i my case he tired me with read file privkey.pem so i have disable the "define WITH_TLS" in file /etc/kamailio/kamailio.cfg in line 152 "/*#!define WITH_TLS*/"
then i have reboot kamailio and it's working.

now my problme is when i log as agent exemple : agent001 i can access but if i click in "lOGIN TO DIALER" i see "ERROR
Login incorrect, please try again.
Please contact your Administrator"

what wrong here ?

You need to enable TLS in Kamailio. This is a requirement for webRTC. Not long ago, it can use HTTP so TLS was not required. Just make sure that the entries in /etc/kamailio/tls.cfg are correct and the files are in the right places.

[server:default]
method = TLSv1 
verify_certificate = no  
require_certificate = no
private_key = /etc/httpd/certs/YOUR_PRIVATE.key 
certificate = /etc/httpd/certs/YOUR_CERTIFICATE.crt
ca_list = /etc/httpd/certs/YOUR_CA-BUNDLE.ca-bundle

RE: Error autenticate goautodial CE v4 - Added by Brett05 VOIP over 5 years ago

my /etc/kamailio/tls.cfg

[server:default]
method = TLSv1
verify_certificate = no
require_certificate = no
private_key = /etc/letsencrypt/live/ivrstats.cloud/privkey.pem
certificate = /etc/letsencrypt/live/ivrstats.cloud/fullchain.pem
ca_list = /etc/letsencrypt/live/ivrstats.cloud/cert.pem
#crl = /etc/kamailio/tls/crl.pem

my domain use letsencrypt good with green bar too and all those file already in place.
this is my log from /var/log/messages
i have also chmod with 777 all the folder /etc/letsencrypt/live/*.*
Aug 31 18:55:28 IVRSTATS kamailio: INFO: <core> [core/tcp_main.c:4671]: init_tcp(): using epoll_lt as the io watch method (auto detected)
Aug 31 18:55:28 IVRSTATS /usr/sbin/kamailio[8676]: INFO: rr [../outbound/api.h:52]: ob_load_api(): unable to import bind_ob - maybe module is not loaded
Aug 31 18:55:28 IVRSTATS /usr/sbin/kamailio[8676]: INFO: rr [rr_mod.c:175]: mod_init(): outbound module not available
Aug 31 18:55:28 IVRSTATS /usr/sbin/kamailio[8676]: INFO: tls [tls_mod.c:365]: mod_init(): With ECDH-Support!
Aug 31 18:55:28 IVRSTATS /usr/sbin/kamailio[8676]: INFO: tls [tls_mod.c:368]: mod_init(): With Diffie Hellman
Aug 31 18:55:28 IVRSTATS /usr/sbin/kamailio[8676]: INFO: cfgutils [cfgutils.c:780]: mod_init(): no hash_file given, disable hash functionality
Aug 31 18:55:28 IVRSTATS /usr/sbin/kamailio[8676]: INFO: pike [pike.c:99]: pike_init(): PIKE - initializing
Aug 31 18:55:28 IVRSTATS /usr/sbin/kamailio[8676]: INFO: pike [ip_tree.c:81]: init_lock_set(): probing 256 set size
Aug 31 18:55:28 IVRSTATS /usr/sbin/kamailio[8676]: INFO: tls [tls_init.c:708]: init_tls_h(): tls: _init_tls_h:  compiled  with  openssl  version "OpenSSL 1.0.2k-fips  26 Jan 2017" (0x100020bf), kerberos support: on, compression: on
Aug 31 18:55:28 IVRSTATS /usr/sbin/kamailio[8676]: INFO: tls [tls_init.c:716]: init_tls_h(): tls: init_tls_h: installed openssl library version "OpenSSL 1.0.2k-fips  26 Jan 2017" (0x100020bf), kerberos support: on,  zlib compression: on#012 compiler: gcc -I. -I.. -I../include  -fPIC -DOPENSSL_PIC -DZLIB -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DKRB5_MIT -m64 -DL_ENDIAN -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -Wa,--noexecstack -DPURIFY -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DRC4_ASM -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM -DECP_NISTZ256_ASM
Aug 31 18:55:28 IVRSTATS /usr/sbin/kamailio[8676]: WARNING: tls [tls_init.c:773]: init_tls_h(): tls: openssl bug #1491 (crash/mem leaks on low memory) workaround enabled (on low memory tls operations will fail preemptively) with free memory thresholds 12058624 and 6029312 bytes
Aug 31 18:55:28 IVRSTATS /usr/sbin/kamailio[8676]: INFO: <core> [core/cfg/cfg_ctx.c:608]: cfg_set_now(): INFO: cfg_set_now(): tls.low_mem_threshold1 has been changed to 12058624
Aug 31 18:55:28 IVRSTATS /usr/sbin/kamailio[8676]: INFO: <core> [core/cfg/cfg_ctx.c:608]: cfg_set_now(): INFO: cfg_set_now(): tls.low_mem_threshold2 has been changed to 6029312
Aug 31 18:55:28 IVRSTATS /usr/sbin/kamailio[8676]: INFO: <core> [core/udp_server.c:153]: probe_max_receive_buffer(): SO_RCVBUF is initially 212992
Aug 31 18:55:28 IVRSTATS /usr/sbin/kamailio[8676]: INFO: <core> [core/udp_server.c:203]: probe_max_receive_buffer(): SO_RCVBUF is finally 425984
Aug 31 18:55:28 IVRSTATS /usr/sbin/kamailio[8676]: INFO: tls [tls_domain.c:290]: fill_missing(): TLSs<default>: tls_method=12
Aug 31 18:55:28 IVRSTATS /usr/sbin/kamailio[8676]: INFO: tls [tls_domain.c:302]: fill_missing(): TLSs<default>: certificate='/etc/letsencrypt/live/crm.ivrstats.cloud/fullchain.pem'
Aug 31 18:55:28 IVRSTATS /usr/sbin/kamailio[8676]: INFO: tls [tls_domain.c:309]: fill_missing(): TLSs<default>: ca_list='/etc/letsencrypt/live/crm.ivrstats.cloud/cert.pem'
Aug 31 18:55:28 IVRSTATS /usr/sbin/kamailio[8676]: INFO: tls [tls_domain.c:316]: fill_missing(): TLSs<default>: crl='(null)'
Aug 31 18:55:28 IVRSTATS /usr/sbin/kamailio[8676]: INFO: tls [tls_domain.c:320]: fill_missing(): TLSs<default>: require_certificate=0
Aug 31 18:55:28 IVRSTATS /usr/sbin/kamailio[8676]: INFO: tls [tls_domain.c:327]: fill_missing(): TLSs<default>: cipher_list='(null)'
Aug 31 18:55:28 IVRSTATS /usr/sbin/kamailio[8676]: INFO: tls [tls_domain.c:334]: fill_missing(): TLSs<default>: private_key='/etc/letsencrypt/live/crm.ivrstats.cloud/privkey.pem'
Aug 31 18:55:28 IVRSTATS /usr/sbin/kamailio[8676]: INFO: tls [tls_domain.c:338]: fill_missing(): TLSs<default>: verify_certificate=0
Aug 31 18:55:28 IVRSTATS /usr/sbin/kamailio[8676]: INFO: tls [tls_domain.c:341]: fill_missing(): TLSs<default>: verify_depth=9
Aug 31 18:55:28 IVRSTATS /usr/sbin/kamailio[8676]: ERROR: tls [tls_domain.c:529]: load_cert(): TLSs<default>: Unable to load certificate file '/etc/letsencrypt/live/crm.ivrstats.cloud/fullchain.pem'
Aug 31 18:55:28 IVRSTATS /usr/sbin/kamailio[8676]: ERROR: tls [tls_util.h:42]: tls_err_ret(): load_cert:error:0200100D:system library:fopen:Permission denied
Aug 31 18:55:28 IVRSTATS /usr/sbin/kamailio[8676]: ERROR: tls [tls_util.h:42]: tls_err_ret(): load_cert:error:20074002:BIO routines:FILE_CTRL:system lib
Aug 31 18:55:28 IVRSTATS /usr/sbin/kamailio[8676]: ERROR: tls [tls_util.h:42]: tls_err_ret(): load_cert:error:140DC002:SSL routines:SSL_CTX_use_certificate_chain_file:system lib
Aug 31 18:55:28 IVRSTATS /usr/sbin/kamailio[8676]: ERROR: <core> [core/sr_module.c:929]: init_mod_child(): error while initializing module tls (/usr/lib64/kamailio/modules/tls.so) (idx: 0 rank: -127 desc: [main])
Aug 31 18:55:28 IVRSTATS /usr/sbin/kamailio[8676]: ERROR: <core> [main.c:1574]: main_loop(): error in init_child(PROC_INT) -- exiting
Aug 31 18:55:28 IVRSTATS /usr/sbin/kamailio[8676]: INFO: <core> [core/sctp_core.c:53]: sctp_core_destroy(): SCTP API not initialized
Aug 31 18:55:28 IVRSTATS systemd: kamailio.service: main process exited, code=exited, status=255/n/a
Aug 31 18:55:28 IVRSTATS systemd: Unit kamailio.service entered failed state.
Aug 31 18:55:28 IVRSTATS systemd: kamailio.service failed.
Aug 31 18:55:28 IVRSTATS systemd: kamailio.service holdoff time over, scheduling restart.
Aug 31 18:55:28 IVRSTATS systemd: start request repeated too quickly for kamailio.service
Aug 31 18:55:28 IVRSTATS systemd: Failed to start Kamailio (OpenSER) - the Open Source SIP Server.
Aug 31 18:55:28 IVRSTATS systemd: Unit kamailio.service entered failed state.
Aug 31 18:55:28 IVRSTATS systemd: kamailio.service failed.

but if i disable #!define WITH_TLS from /etc/kamailio/kamailio.cfg so kamailio start good.
finaly i want understand why i got always this probleme when i log in with agent001 as agent.
please see my two picture attached

thank you

RE: Error autenticate goautodial CE v4 - Added by Brett05 VOIP over 5 years ago

for kamailio it's ok he start now with correct TLS

now the only probleme i do not find a solution is those two picture that i have add when i login as agent and want start dialer

RE: Error autenticate goautodial CE v4 - Added by Demian Biscocho over 5 years ago

What's the output of the command below when you login an agent?

tail /var/log/php-fpm/www-error.log -f

RE: Error autenticate goautodial CE v4 - Added by Brett05 VOIP over 5 years ago

[02-Sep-2018 03:17:54 Asia/Manila] PHP Notice:  Undefined variable: session_id in /var/www/html/php/SessionHandler.php on line 116
[01-Sep-2018 15:17:54 America/New_York] PHP Notice:  Undefined variable: NOW_TIME in /var/www/html/goAPIv2/goAdminLogs/goLogActions.php on line 77
[01-Sep-2018 15:17:54 America/New_York] PHP Notice:  Undefined variable: db_query in /var/www/html/goAPIv2/goAdminLogs/goLogActions.php on line 80
[01-Sep-2018 15:17:54 America/New_York] PHP Notice:  Undefined variable: apiresults in /var/www/html/goAPIv2/goAPI.php on line 113
[01-Sep-2018 15:17:59 America/New_York] PHP Notice:  Undefined index: lead_id in /var/www/html/goAPIv2/goGetLeads/goGetLeadsInfo.php on line 31
[01-Sep-2018 15:18:00 America/New_York] PHP Notice:  Undefined variable: vendor_id in /var/www/html/goAPIv2/goViewScripts/goViewAgentScript.php on line 28
[01-Sep-2018 15:18:00 America/New_York] PHP Notice:  Undefined variable: script_height in /var/www/html/goAPIv2/goViewScripts/goViewAgentScript.php on line 207
[01-Sep-2018 15:18:00 America/New_York] PHP Notice:  Undefined variable: length_in_sec in /var/www/html/goAPIv2/goViewScripts/goViewAgentScript.php on line 227
[01-Sep-2018 15:18:00 America/New_York] PHP Notice:  Undefined variable: phone_code in /var/www/html/goAPIv2/goViewScripts/goViewAgentScript.php on line 228
[01-Sep-2018 15:18:00 America/New_York] PHP Notice:  Undefined variable: in_script in /var/www/html/goAPIv2/goViewScripts/goViewAgentScript.php on line 277
[01-Sep-2018 15:18:00 America/New_York] PHP Notice:  Undefined variable: camp_script in /var/www/html/goAPIv2/goViewScripts/goViewAgentScript.php on line 278
[01-Sep-2018 15:18:00 America/New_York] PHP Notice:  Undefined variable: group in /var/www/html/goAPIv2/goViewScripts/goViewAgentScript.php on line 284
[01-Sep-2018 15:18:00 America/New_York] PHP Notice:  Undefined variable: ignore_list_script in /var/www/html/goAPIv2/goViewScripts/goViewAgentScript.php on line 293
[01-Sep-2018 15:18:00 America/New_York] PHP Notice:  Undefined variable: vendor_id in /var/www/html/goAPIv2/goViewScripts/goViewAgentScript.php on line 413
[01-Sep-2018 15:18:00 America/New_York] PHP Notice:  Undefined variable: gmt_offset_now in /var/www/html/goAPIv2/goViewScripts/goViewAgentScript.php on line 418
[01-Sep-2018 15:18:00 America/New_York] PHP Notice:  Undefined variable: title in /var/www/html/goAPIv2/goViewScripts/goViewAgentScript.php on line 421
[01-Sep-2018 15:18:00 America/New_York] PHP Notice:  Undefined variable: gender in /var/www/html/goAPIv2/goViewScripts/goViewAgentScript.php on line 433
[01-Sep-2018 15:18:00 America/New_York] PHP Notice:  Undefined variable: date_of_birth in /var/www/html/goAPIv2/goViewScripts/goViewAgentScript.php on line 434
[01-Sep-2018 15:18:00 America/New_York] PHP Notice:  Undefined variable: security_phrase in /var/www/html/goAPIv2/goViewScripts/goViewAgentScript.php on line 437
[01-Sep-2018 15:18:00 America/New_York] PHP Notice:  Undefined variable: comments in /var/www/html/goAPIv2/goViewScripts/goViewAgentScript.php on line 438
[01-Sep-2018 15:18:00 America/New_York] PHP Notice:  Undefined variable: campaign in /var/www/html/goAPIv2/goViewScripts/goViewAgentScript.php on line 441
[01-Sep-2018 15:18:00 America/New_York] PHP Notice:  Undefined variable: phone_login in /var/www/html/goAPIv2/goViewScripts/goViewAgentScript.php on line 442
[01-Sep-2018 15:18:00 America/New_York] PHP Notice:  Undefined variable: original_phone_login in /var/www/html/goAPIv2/goViewScripts/goViewAgentScript.php on line 443
[01-Sep-2018 15:18:00 America/New_York] PHP Notice:  Undefined variable: phone_pass in /var/www/html/goAPIv2/goViewScripts/goViewAgentScript.php on line 444
[01-Sep-2018 15:18:00 America/New_York] PHP Notice:  Undefined variable: fronter in /var/www/html/goAPIv2/goViewScripts/goViewAgentScript.php on line 445
[01-Sep-2018 15:18:00 America/New_York] PHP Notice:  Undefined variable: closer in /var/www/html/goAPIv2/goViewScripts/goViewAgentScript.php on line 446
[01-Sep-2018 15:18:00 America/New_York] PHP Notice:  Undefined variable: group in /var/www/html/goAPIv2/goViewScripts/goViewAgentScript.php on line 447
[01-Sep-2018 15:18:00 America/New_York] PHP Notice:  Undefined variable: channel_group in /var/www/html/goAPIv2/goViewScripts/goViewAgentScript.php on line 448
[01-Sep-2018 15:18:00 America/New_York] PHP Notice:  Undefined variable: SQLdate in /var/www/html/goAPIv2/goViewScripts/goViewAgentScript.php on line 449
[01-Sep-2018 15:18:00 America/New_York] PHP Notice:  Undefined variable: epoch in /var/www/html/goAPIv2/goViewScripts/goViewAgentScript.php on line 450
[01-Sep-2018 15:18:00 America/New_York] PHP Notice:  Undefined variable: uniqueid in /var/www/html/goAPIv2/goViewScripts/goViewAgentScript.php on line 451
[01-Sep-2018 15:18:00 America/New_York] PHP Notice:  Undefined variable: customer_zap_channel in /var/www/html/goAPIv2/goViewScripts/goViewAgentScript.php on line 452
[01-Sep-2018 15:18:00 America/New_York] PHP Notice:  Undefined variable: customer_server_ip in /var/www/html/goAPIv2/goViewScripts/goViewAgentScript.php on line 453
[01-Sep-2018 15:18:00 America/New_York] PHP Notice:  Undefined variable: server_ip in /var/www/html/goAPIv2/goViewScripts/goViewAgentScript.php on line 454
[01-Sep-2018 15:18:00 America/New_York] PHP Notice:  Undefined variable: SIPexten in /var/www/html/goAPIv2/goViewScripts/goViewAgentScript.php on line 455
[01-Sep-2018 15:18:00 America/New_York] PHP Notice:  Undefined variable: session_id in /var/www/html/goAPIv2/goViewScripts/goViewAgentScript.php on line 456
[01-Sep-2018 15:18:00 America/New_York] PHP Notice:  Undefined variable: phone in /var/www/html/goAPIv2/goViewScripts/goViewAgentScript.php on line 457
[01-Sep-2018 15:18:00 America/New_York] PHP Notice:  Undefined variable: parked_by in /var/www/html/goAPIv2/goViewScripts/goViewAgentScript.php on line 458
[01-Sep-2018 15:18:00 America/New_York] PHP Notice:  Undefined variable: dispo in /var/www/html/goAPIv2/goViewScripts/goViewAgentScript.php on line 459
[01-Sep-2018 15:18:00 America/New_York] PHP Notice:  Undefined variable: dialed_number in /var/www/html/goAPIv2/goViewScripts/goViewAgentScript.php on line 460
[01-Sep-2018 15:18:00 America/New_York] PHP Notice:  Undefined variable: dialed_label in /var/www/html/goAPIv2/goViewScripts/goViewAgentScript.php on line 461
[01-Sep-2018 15:18:00 America/New_York] PHP Notice:  Undefined variable: source_id in /var/www/html/goAPIv2/goViewScripts/goViewAgentScript.php on line 462
[01-Sep-2018 15:18:00 America/New_York] PHP Notice:  Undefined variable: rank in /var/www/html/goAPIv2/goViewScripts/goViewAgentScript.php on line 463
[01-Sep-2018 15:18:00 America/New_York] PHP Notice:  Undefined variable: owner in /var/www/html/goAPIv2/goViewScripts/goViewAgentScript.php on line 464
[01-Sep-2018 15:18:00 America/New_York] PHP Notice:  Undefined variable: camp_script in /var/www/html/goAPIv2/goViewScripts/goViewAgentScript.php on line 465
[01-Sep-2018 15:18:00 America/New_York] PHP Notice:  Undefined variable: in_script in /var/www/html/goAPIv2/goViewScripts/goViewAgentScript.php on line 466
[01-Sep-2018 15:18:00 America/New_York] PHP Notice:  Undefined variable: script_width in /var/www/html/goAPIv2/goViewScripts/goViewAgentScript.php on line 467
[01-Sep-2018 15:18:00 America/New_York] PHP Notice:  Undefined variable: recording_filename in /var/www/html/goAPIv2/goViewScripts/goViewAgentScript.php on line 470
[01-Sep-2018 15:18:00 America/New_York] PHP Notice:  Undefined variable: recording_id in /var/www/html/goAPIv2/goViewScripts/goViewAgentScript.php on line 471
[01-Sep-2018 15:18:00 America/New_York] PHP Notice:  Undefined variable: user_custom_one in /var/www/html/goAPIv2/goViewScripts/goViewAgentScript.php on line 472
[01-Sep-2018 15:18:00 America/New_York] PHP Notice:  Undefined variable: user_custom_two in /var/www/html/goAPIv2/goViewScripts/goViewAgentScript.php on line 473
[01-Sep-2018 15:18:00 America/New_York] PHP Notice:  Undefined variable: user_custom_three in /var/www/html/goAPIv2/goViewScripts/goViewAgentScript.php on line 474
[01-Sep-2018 15:18:00 America/New_York] PHP Notice:  Undefined variable: user_custom_four in /var/www/html/goAPIv2/goViewScripts/goViewAgentScript.php on line 475
[01-Sep-2018 15:18:00 America/New_York] PHP Notice:  Undefined variable: user_custom_five in /var/www/html/goAPIv2/goViewScripts/goViewAgentScript.php on line 476
[01-Sep-2018 15:18:00 America/New_York] PHP Notice:  Undefined variable: preset_number_a in /var/www/html/goAPIv2/goViewScripts/goViewAgentScript.php on line 477
[01-Sep-2018 15:18:00 America/New_York] PHP Notice:  Undefined variable: preset_number_b in /var/www/html/goAPIv2/goViewScripts/goViewAgentScript.php on line 478
[01-Sep-2018 15:18:00 America/New_York] PHP Notice:  Undefined variable: preset_number_c in /var/www/html/goAPIv2/goViewScripts/goViewAgentScript.php on line 479
[01-Sep-2018 15:18:00 America/New_York] PHP Notice:  Undefined variable: preset_number_d in /var/www/html/goAPIv2/goViewScripts/goViewAgentScript.php on line 480
[01-Sep-2018 15:18:00 America/New_York] PHP Notice:  Undefined variable: preset_number_e in /var/www/html/goAPIv2/goViewScripts/goViewAgentScript.php on line 481
[01-Sep-2018 15:18:00 America/New_York] PHP Notice:  Undefined variable: preset_number_f in /var/www/html/goAPIv2/goViewScripts/goViewAgentScript.php on line 482
[01-Sep-2018 15:18:00 America/New_York] PHP Notice:  Undefined variable: preset_dtmf_a in /var/www/html/goAPIv2/goViewScripts/goViewAgentScript.php on line 483
[01-Sep-2018 15:18:00 America/New_York] PHP Notice:  Undefined variable: preset_dtmf_b in /var/www/html/goAPIv2/goViewScripts/goViewAgentScript.php on line 484
[01-Sep-2018 15:18:00 America/New_York] PHP Notice:  Undefined variable: did_id in /var/www/html/goAPIv2/goViewScripts/goViewAgentScript.php on line 485
[01-Sep-2018 15:18:00 America/New_York] PHP Notice:  Undefined variable: did_extension in /var/www/html/goAPIv2/goViewScripts/goViewAgentScript.php on line 486
[01-Sep-2018 15:18:00 America/New_York] PHP Notice:  Undefined variable: did_pattern in /var/www/html/goAPIv2/goViewScripts/goViewAgentScript.php on line 487
[01-Sep-2018 15:18:00 America/New_York] PHP Notice:  Undefined variable: did_description in /var/www/html/goAPIv2/goViewScripts/goViewAgentScript.php on line 488
[01-Sep-2018 15:18:00 America/New_York] PHP Notice:  Undefined variable: closecallid in /var/www/html/goAPIv2/goViewScripts/goViewAgentScript.php on line 489
[01-Sep-2018 15:18:00 America/New_York] PHP Notice:  Undefined variable: xfercallid in /var/www/html/goAPIv2/goViewScripts/goViewAgentScript.php on line 490
[01-Sep-2018 15:18:00 America/New_York] PHP Notice:  Undefined variable: agent_log_id in /var/www/html/goAPIv2/goViewScripts/goViewAgentScript.php on line 491
[01-Sep-2018 15:18:00 America/New_York] PHP Notice:  Undefined variable: entry_list_id in /var/www/html/goAPIv2/goViewScripts/goViewAgentScript.php on line 492
[01-Sep-2018 15:18:00 America/New_York] PHP Notice:  Undefined variable: call_id in /var/www/html/goAPIv2/goViewScripts/goViewAgentScript.php on line 493
[01-Sep-2018 15:18:00 America/New_York] PHP Notice:  Undefined variable: user_group in /var/www/html/goAPIv2/goViewScripts/goViewAgentScript.php on line 494
[01-Sep-2018 15:18:00 America/New_York] PHP Notice:  Undefined variable: web_vars in /var/www/html/goAPIv2/goViewScripts/goViewAgentScript.php on line 495
[01-Sep-2018 15:18:00 America/New_York] PHP Notice:  Undefined variable: CF_uses_custom_fields in /var/www/html/goAPIv2/goViewScripts/goViewAgentScript.php on line 497
[01-Sep-2018 15:18:00 America/New_York] PHP Notice:  Undefined variable: goAgentScripts in /var/www/html/goAPIv2/goViewScripts/goViewAgentScript.php on line 520
[01-Sep-2018 15:18:00 America/New_York] PHP Notice:  Undefined variable: ScrollDIV in /var/www/html/goAPIv2/goViewScripts/goViewAgentScript.php on line 521
[01-Sep-2018 15:18:00 America/New_York] PHP Notice:  Undefined variable: ScrollDIV in /var/www/html/goAPIv2/goViewScripts/goViewAgentScript.php on line 525
[01-Sep-2018 15:18:00 America/New_York] PHP Notice:  Undefined variable: user_level in /var/www/html/goAPIv2/goUsers/goGetUserInfo.php on line 72
[01-Sep-2018 15:18:00 America/New_York] PHP Notice:  Undefined variable: linkgo in /var/www/html/goAPIv2/goFunctions.php on line 1813
[01-Sep-2018 15:18:00 America/New_York] PHP Warning:  mysqli_query() expects parameter 1 to be mysqli, null given in /var/www/html/goAPIv2/goFunctions.php on line 1813
[01-Sep-2018 15:18:00 America/New_York] PHP Warning:  mysqli_num_rows() expects parameter 1 to be mysqli_result, null given in /var/www/html/goAPIv2/goFunctions.php on line 1814
[02-Sep-2018 03:18:00 Asia/Manila] Module "GOautodial Agent Dialer" initializing...
[01-Sep-2018 15:18:00 America/New_York] PHP Notice:  Undefined variable: VARBRINGOWNVOIP in /var/www/html/goAPIv2/goPackages/goGetPackage.php on line 25
[01-Sep-2018 15:18:00 America/New_York] PHP Notice:  Undefined variable: VARPACKAGETYPE in /var/www/html/goAPIv2/goPackages/goGetPackage.php on line 25
[02-Sep-2018 03:18:00 Asia/Manila] Module "Message of the day" initializing...
[01-Sep-2018 15:18:00 America/New_York] PHP Notice:  Undefined index: enable_callback_alert in /var/www/html/goAPIv2/goAgent/goGetLoginInfo.php on line 1050
[01-Sep-2018 15:18:00 America/New_York] PHP Notice:  Undefined index: cb_noexpire in /var/www/html/goAPIv2/goAgent/goGetLoginInfo.php on line 1051
[01-Sep-2018 15:18:00 America/New_York] PHP Notice:  Undefined index: cb_sendemail in /var/www/html/goAPIv2/goAgent/goGetLoginInfo.php on line 1052

RE: Error autenticate goautodial CE v4 - Added by Vijay Prakash over 5 years ago

I Have also installed and everything is running as expected but on login to dialer getting the same two popups as given above. and the tail /var/log/php-fpm/www-error.log -f is also showing similar responses.
Please help.

RE: Error autenticate goautodial CE v4 - Added by Demian Biscocho over 5 years ago

Is the user you're trying to login a newly created user? What's the output of the following:

MariaDB [asterisk]> select pass_hash_enabled,pass_key,pass_cost from system_settings;

Should be like:

+-------------------+------------------+-----------+
| pass_hash_enabled | pass_key         | pass_cost |
+-------------------+------------------+-----------+
| 1                 | DIapgKfF5fQWEYMY |        12 |
+-------------------+------------------+-----------+
1 row in set (0.00 sec)

Please post output of this (with the agent you're using):

MariaDB [asterisk]> select user,pass,pass_hash from vicidial_users;

RE: Error autenticate goautodial CE v4 - Added by Brett05 VOIP over 5 years ago

MariaDB [asterisk]> select pass_hash_enabled,pass_key,pass_cost from system_settings;
+-------------------+------------------+-----------+
| pass_hash_enabled | pass_key         | pass_cost |
+-------------------+------------------+-----------+
| 1                 | DIapgKfF5fQWEYMY |        12 |
+-------------------+------------------+-----------+
1 row in set (0.00 sec)


MariaDB [asterisk]> select user,pass,pass_hash from vicidial_users;
+----------+----------------+---------------------------------+
| user     | pass           | pass_hash                       |
+----------+----------------+---------------------------------+
| VDAD     | donotedit      |                                 |
| admin    | goautodial     |                                 |
| agent001 |                | yeBi6sRAUqLX6KLzuIoDgrlyZqCyWVu |
| agent002 | goautodial     |                                 |
| agent003 | goautodial     |                                 |
| agent004 | goautodial     |                                 |
| agent005 | goautodial     |                                 |
| agent006 | goautodial     |                                 |
| agent007 | goautodial     |                                 |
| agent008 | goautodial     |                                 |
| agent009 | goautodial     |                                 |
| agent010 | goautodial     |                                 |
| agent011 | goautodial     |                                 |
| agent012 | goautodial     |                                 |
| agent013 | goautodial     |                                 |
| agent014 | goautodial     |                                 |
| agent015 | goautodial     |                                 |
| agent016 | goautodial     |                                 |
| agent017 | goautodial     |                                 |
| agent018 | goautodial     |                                 |
| agent019 | goautodial     |                                 |
| agent020 | goautodial     |                                 |
| VDCL     | donotedit      |                                 |
| goAPI    |                | EORxUHT6Ju2kLOOB4g3X3GxJcQ9RGGS |
| goadmin  | G0autodial2018 | h0CAwQ/of1y0YFKgut1hVcqNl1SMSNu |
+----------+----------------+---------------------------------+
25 rows in set (0.00 sec)

RE: Error autenticate goautodial CE v4 - Added by Demian Biscocho over 5 years ago

Have you tried agent001? Based from your screenshot you were using agent002 which doesn't have anything in the pass_hash column.

RE: Error autenticate goautodial CE v4 - Added by Vijay Prakash over 5 years ago

Hi,

Output was:
MariaDB [asterisk]> select pass_hash_enabled,pass_key,pass_cost from system_settings;
---------------------------+-----------+ | pass_hash_enabled | pass_key | pass_cost |
---------------------------+-----------+ | 0 | | 12 |
---------------------------+-----------+

I updated the table but now I am not able to login with admin as well.
After update:

MariaDB [asterisk]> select pass_hash_enabled,pass_key,pass_cost from system_settings;
-----------------------------------+-----------+ | pass_hash_enabled | pass_key | pass_cost |
-----------------------------------+-----------+ | 1 | DIapgKfF5fQWEYMY | 12 |
-----------------------------------+-----------+

RE: Error autenticate goautodial CE v4 - Added by Vijay Prakash over 5 years ago

Vijay Prakash wrote:

Hi,

Output was:

> MariaDB [asterisk]> select pass_hash_enabled,pass_key,pass_cost from system_settings;
> +-------------------+----------+-----------+
> | pass_hash_enabled | pass_key | pass_cost |
> +-------------------+----------+-----------+
> | 0                 |          |        12 |
> +-------------------+----------+-----------+

I updated the table but now I am not able to login with admin as well.
After update:

> MariaDB [asterisk]> select pass_hash_enabled,pass_key,pass_cost from system_settings;
> +-------------------+------------------+-----------+
> | pass_hash_enabled | pass_key         | pass_cost |
> +-------------------+------------------+-----------+
> | 1                 | DIapgKfF5fQWEYMY |        12 |
> +-------------------+------------------+-----------+

RE: Error autenticate goautodial CE v4 - Added by Vijay Prakash over 5 years ago

Now I am able to login and select the campaign but after that it stopped on Logging to your phone screen.
Here is the PHP log:


[06-Sep-2018 09:39:45 Asia/Manila] Module "GOautodial Agent Dialer" initializing...
[05-Sep-2018 21:39:46 America/New_York] PHP Notice:  Undefined variable: VARBRINGOWNVOIP in /var/www/html/goAPIv2/goPackages/goGetPackage.php on line 25
[05-Sep-2018 21:39:46 America/New_York] PHP Notice:  Undefined variable: VARPACKAGETYPE in /var/www/html/goAPIv2/goPackages/goGetPackage.php on line 25
[05-Sep-2018 21:39:47 America/New_York] PHP Notice:  Undefined variable: VARBRINGOWNVOIP in /var/www/html/goAPIv2/goPackages/goGetPackage.php on line 25
[05-Sep-2018 21:39:47 America/New_York] PHP Notice:  Undefined variable: VARPACKAGETYPE in /var/www/html/goAPIv2/goPackages/goGetPackage.php on line 25
[05-Sep-2018 21:39:48 America/New_York] PHP Notice:  Undefined index: search in /var/www/html/goAPIv2/goGetLeads/goGetLeads.php on line 34
[05-Sep-2018 21:39:48 America/New_York] PHP Notice:  Undefined index: disposition_filter in /var/www/html/goAPIv2/goGetLeads/goGetLeads.php on line 35
[05-Sep-2018 21:39:48 America/New_York] PHP Notice:  Undefined index: list_filter in /var/www/html/goAPIv2/goGetLeads/goGetLeads.php on line 36
[05-Sep-2018 21:39:48 America/New_York] PHP Notice:  Undefined index: address_filter in /var/www/html/goAPIv2/goGetLeads/goGetLeads.php on line 37
[05-Sep-2018 21:39:48 America/New_York] PHP Notice:  Undefined index: city_filter in /var/www/html/goAPIv2/goGetLeads/goGetLeads.php on line 38
[05-Sep-2018 21:39:48 America/New_York] PHP Notice:  Undefined index: state_filter in /var/www/html/goAPIv2/goGetLeads/goGetLeads.php on line 39
[05-Sep-2018 21:39:48 America/New_York] PHP Notice:  Undefined variable: dataLeadid2 in /var/www/html/goAPIv2/goGetLeads/goGetLeads.php on line 163
[05-Sep-2018 21:39:48 America/New_York] PHP Notice:  Undefined variable: dataListid2 in /var/www/html/goAPIv2/goGetLeads/goGetLeads.php on line 164
[05-Sep-2018 21:39:48 America/New_York] PHP Notice:  Undefined variable: dataFirstName2 in /var/www/html/goAPIv2/goGetLeads/goGetLeads.php on line 165
[05-Sep-2018 21:39:48 America/New_York] PHP Notice:  Undefined variable: dataMiddleInitial2 in /var/www/html/goAPIv2/goGetLeads/goGetLeads.php on line 166
[05-Sep-2018 21:39:48 America/New_York] PHP Notice:  Undefined variable: dataLastName2 in /var/www/html/goAPIv2/goGetLeads/goGetLeads.php on line 167
[05-Sep-2018 21:39:48 America/New_York] PHP Notice:  Undefined variable: dataPhoneNumber2 in /var/www/html/goAPIv2/goGetLeads/goGetLeads.php on line 168
[05-Sep-2018 21:39:48 America/New_York] PHP Notice:  Undefined variable: dataDispo2 in /var/www/html/goAPIv2/goGetLeads/goGetLeads.php on line 169
[05-Sep-2018 21:39:48 America/New_York] PHP Notice:  Undefined variable: dataLastCallTime2 in /var/www/html/goAPIv2/goGetLeads/goGetLeads.php on line 170
[05-Sep-2018 21:39:49 America/New_York] PHP Notice:  Undefined variable: apiresults in /var/www/html/goAPIv2/goAPI.php on line 113
(1-25/50) Go to top