Project

General

Profile

Manual IP address configuration

Added by Demian Biscocho about 6 years 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 (17)

RE: Manual IP address configuration - Added by Guilherme Bizzani almost 6 years 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 almost 6 years 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 almost 6 years 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 almost 6 years 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 almost 6 years 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 almost 6 years 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 almost 6 years 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 almost 6 years 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 almost 6 years ago

Please open a new thread in the GOautodial HELP section.

RE: Manual IP address configuration - Added by manish singh over 5 years ago

HI Guys, can anyone please assist me with the goautodial v4 configuration,

I successfully installed the goautodial v4 on my hp server and i configured the static IP at the beginning of the installation to connect it to a network and was successful, now i can login to my goadmin profile and also have created the user and carrier but when i tried to login the dialer through agent panel it shows microphone is allowed and being used but its not showing anything else and the login process does not completes i though i might have not changed the IP properly so i already tried to change the IP manually with the help of this command but when i try to run it "/etc/kamailio/kamailio.cfg"

it says permission denied .

RE: Manual IP address configuration - Added by Dan Cavallo over 5 years ago

Hello I was able to deploy GoAutodial ISO in AWS, but I had to do the install on a local eSXI server, so the machine did not have an IP when I ran the GoAutodial ISO installer. So I had to follow the above manual IP configuration steps.

However, I am not able to get the ngcp-rtpengine to start. It never started before and even after configuring the IP it still doesn't start.

See details in this PasteBin:

https://pastebin.com/r6S0WV2d

Any suggestions on how to fix this?

Thanks in advance!

Dan

RE: Manual IP address configuration - Added by Dan Cavallo over 5 years ago

Please ignore was able to resolve by restarting the server.

RE: Manual IP address configuration - Added by Dan Cavallo over 5 years ago

For anyone else using this thread, I also had to add our IP under the "local domain aliases" in the kamailio.cfg

RE: Manual IP address configuration - Added by kamel berrayah over 4 years ago

Guilherme Bizzani wrote:

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.

Hi
Please tell me , when you reboot the first time is the IP adrese of your NIC was empty ? because for me , in the setup process I setup IP but after the first reboot no things , I must enter ip adresse manualy !!? and I am stuck in "Login to dial" I have authentification error

RE: Manual IP address configuration - Added by kamel berrayah over 4 years ago

Dan Cavallo wrote:

For anyone else using this thread, I also had to add our IP under the "local domain aliases" in the kamailio.cfg

what is you mean ?

RE: Manual IP address configuration - Added by Wittie Manansala over 4 years ago

kamel berrayah wrote:

Guilherme Bizzani wrote:

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.

Hi
Please tell me , when you reboot the first time is the IP adrese of your NIC was empty ? because for me , in the setup process I setup IP but after the first reboot no things , I must enter ip adresse manualy !!? and I am stuck in "Login to dial" I have authentification error

Which of the two steps you've used? https://goautodial.org/projects/goautodialce/wiki/Goautodial_Getting_Started_Guidev4 or https://goautodial.org/projects/goautodialce/wiki/Version_4_How_To_Install_Goautodial_From_Scratch_using_CentOS_7X

To check your server settings Please go over https://goautodial.org/projects/goautodialce/wiki/Goautodial_Getting_Started_Guidev4 > Administration Gui Settings and Configuration Files to check

Note:
192.168.22.9 should be your private IP or Public IP that configure in your server.

Thanks

    (1-17/17)
    Go to top