Project

General

Profile

Manual IP address configuration

Added by Demian Biscocho 2 months ago

Hey guys,

You need to configure your final IP address (whether public or private) on the ISO installation process. This automates everything including configuring the Kamailio, RTPEngine, GOautodial web app and etc. There is no need to edit /var/www/html/php/goCRMAPISettings.php if the IP address was configured/setup on the ISO installation process.

If manually updating the IP address, the following components and their configuration files need to be updated too:

Kamailio:

/etc/kamailio/kamailio.cfg

Around line 136:

#!substdef "!MY_IP_ADDR!10.10.100.164!g" 

Around line 163:

/* uncomment and configure the following line if you want Kamailio to
   bind on a specific interface/port/proto (default bind on all available) */
listen=udp:127.0.0.1:5060
listen=udp:10.10.100.164:5060

RTPEngine

/etc/rtpengine/rtpengine.conf

Around line 8:

### a single interface:
interface = 10.10.100.164

GOautodial web application

/var/www/html/php/goCRMAPISettings.php

Change 10.10.100.164 to your IP address and then restart Kamailio and RTPEngine.

systemctl restart ngcp-rtpengine
systemctl restart kamailio

Check their statuses:

systemctl status ngcp-rtpengine
systemctl status kamailio

Set the IP in Administration>GOWebRTC Dialer Settings and click SAVE button

We're still building the tools to automate all of these. Preferable via the GOautodial web app so everthing is database driven.


Replies (9)

RE: Manual IP address configuration - Added by Guilherme Bizzani about 1 month ago

Hello Demina, We've followed this tutorial and configured our IP in all these files, now we can login to the agents and login to a campaign, the browser even ask for microphone permission and I listen to "you are the only person in this conference" (wich is good). But the preditive dialer don't do anything and if I try to make a manual dial it stay "Waiting for ring" for 60 seconds and hangup the call, nothing shows up in asterisk's console. Wich kind of log can we check for any solution on this?

Thanks in advance.

RE: Manual IP address configuration - Added by Demian Biscocho 28 days ago

You might need to set the verbosity level of the Asterisk CLI to 21 so you can see what's happening.

core set verbose 21

RE: Manual IP address configuration - Added by Guilherme Bizzani 27 days ago

My Asterisk's verbose was already in 99 and even with sip debug was on, the only thing that show in asterisk console is

  == Manager 'sendcron' logged on from 127.0.0.1
  == Manager 'sendcron' logged off from 127.0.0.1

But one thing I noticed and think that may be the error is that when I log into dialer I get a 404 error calling a page named "GOagentJS.php", I tried to find wich file is calling this action but had no succes: http://prntscr.com/lhrugx
ps: with the page open after logged into dialer I get a lot of requests to this file and they get success, maybe the action who is failing is with the wrong file path.

RE: Manual IP address configuration - Added by Wittie Manansala 27 days ago

Hi,

Please provide us the asterisk CLI log while dialing. Please also make sure Carrier to use for Campaign is set.

Thanks

RE: Manual IP address configuration - Added by Guilherme Bizzani 26 days ago

I managed to get the Carrier working, now I can make calls to my other server, where I will route it, but there is a new error now: I'm able only to make manual calls, my campaign has only not called leads, I tried to upload many times but no succes.
Also tried all the dial methods in my campaign, but there are simply no changes, after I log in the agent it stays waiting forever, unless I pause him and make a manual dial.
Here is a print of how the agent screen looks like when I'm waiting: http://prntscr.com/lhz5kr
I noticed that the three IAX peers of GoAutoDial are UNREACHABLE: http://prntscr.com/lhz346

Ps: For my carrier to work, I changed it in both servers to type=friend, removed the registration string and finally adjust the Dial line to this:
exten => _5151.,2,Dial(IAX2/myUser:myPass@CarrierName/${EXTEN:4},,tTo)

RE: Manual IP address configuration - Added by Guilherme Bizzani 26 days ago

I digged up in the forum and found that someone said to update a column in the vicidial_list table, so I did:

update vicidial_list set gmt_offset_now = 0;

Do you know why it isn't being set by default? The default value is NULL.

Other thing, do I really need to logoff and login all my agents in each list update? Like when I import more leads into some list that is in the campaign they are logged in, they have to logoff and login in order to asterisk make that calls.

RE: Manual IP address configuration - Added by Jackie Alfonso 25 days ago

Hi,

Can you please provide the asterisk CLI while you are dialing? kindly make sure that you've followed the correct lead file format you may check the tutorials and lead file format here https://goautodial.org/projects/goautodialce/wiki/HowTo_Load_Leads_30

please make sure that you did not adjust update vicidial_list set gmt_offset_now = 0;
because the CALL TIME of the campaign is the one who controls it. you may also try after you upload your lead file adjust the call time to 24 hours.

RE: Manual IP address configuration - Added by Guilherme Bizzani 21 days ago

Jackie Alfonso wrote:

Hi,

Can you please provide the asterisk CLI while you are dialing? kindly make sure that you've followed the correct lead file format you may check the tutorials and lead file format here https://goautodial.org/projects/goautodialce/wiki/HowTo_Load_Leads_30

please make sure that you did not adjust update vicidial_list set gmt_offset_now = 0;
because the CALL TIME of the campaign is the one who controls it. you may also try after you upload your lead file adjust the call time to 24 hours.

That is the problem Jackie, if I don't make the manual UPDATE in the database the calls don't even show in asterisk, the agent can login, it register the softphone and I hear the "you are the only person in this conference", but then nothing happen.
By the moment I make the UPDATE in the database the calls begin to show in asterisk CLI and complete successfully.

RE: Manual IP address configuration - Added by Demian Biscocho 20 days ago

Please open a new thread in the GOautodial HELP section.

    (1-9/9)
    Go to top