Project

General

Profile

Problems with GoAutoDial and MagnusBilling

Added by Davide Balzano almost 4 years ago

help


Replies (1)

RE: Problems with GoAutoDial and MagnusBilling - Added by Davide Balzano almost 4 years ago

Hello, I'm currently having some problems with a fresh GoAutoDial installation (Done via .ISO) I did on a VPS.
As of now, I'm having problems with the agents audio and dialplan. Regarding the audio I tried opening all the required ports ( TCP:4443 , UDP: 5060,5061,5070,30000-65535 ) but when agent logs in they can't even listen to the welcome messages telling you're the only person in this conference. About the dialplan, I'm able to call only specific numbers, such as +393663******, when I try a different number such as +393894****** I get Dead Call. Even more strange is the fact that when I call those specific numbers, the call gets automatically hang up after just one ring.

I'm using a SIP Account I created via MagnusBilling as the Carrier on my GoAutoDial installation.

Here are my configurations:
---- CARRIER ----

_[test]
disallow=all
type=peer
dtmfmode=rfc2833
context=trunkinbound
qualify=yes
insecure=invite,port
nat=no
host=*REDACTED BUT ITS THE MAGNUS BILLING IP*
username=test2
secret=test123
allow=alaw

exten => X.,1,AGI
exten => _X.,2,Dial(SIP/${EXTEN:1}@CallUP,,tTo)
exten => _X.,3,Hangup


---- /var/www/html/php/Config.php ----

// database configuration
define('DB_USERNAME', 'goautodialu');
define('DB_PASSWORD', 'goautodialu1234');
define('DB_HOST', 'localhost');
define('DB_NAME', 'goautodial');
define('DB_PORT', '3306');
define('DB_NAME_ASTERISK', 'asterisk');
define('DB_USERNAME_KAMAILIO', 'kamailiou');
define('DB_PASSWORD_KAMAILIO', 'kamailiou1234');
define('DB_HOST_KAMAILIO', 'localhost');
define('DB_NAME_KAMAILIO', 'kamailio');
define('DB_PORT_KAMAILIO', '3306');
// other configuration parameters
define('CRM_ADMIN_EMAIL', '');
?>


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

define ('gourl', 'https://*IP REDACTED*/goAPIv2');
define ('goUser', 'goAPI');
define ('responsetype', 'json');
?>


---- /etc/kamailio/kamailio.cfg ----

#!substdef "!MY_IP_ADDR!*IP REDACTED*0!g"
#!substdef "!MY_DOMAIN!vaglxc01.goautodial.com!g"

/* add local domain aliases /
alias="*IP REDACTED
"
alias="vaglxc01.goautodial.com"

/* 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:*IP REDACTED
:5060


In RTPEngine I set my IP to the interface.

All the services are running

    (1-1/1)
    Go to top