ASTblind and ASTloop unregistered on Ubuntu and Debian

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

ASTblind and ASTloop unregistered on Ubuntu and Debian

Postby rosary » Wed Jul 14, 2010 4:07 am

On Ubuntu or Debian servers, ASTblind and ASTloop never registers,

Host dnsmgr Username Pereived Refresh State
127.0.0.1:41569 N ASTblind Unregistered 60 Request Sent
127.0.0.1:40569 N ASTloop Unregistered 60 Request Sent

while with CentOS server, it works just fine

Host dnsmgr Username Pereived Refresh State
127.0.0.1:41569 N ASTblind 127.0.0.1:42719 60 Registered
127.0.0.1:40569 N ASTloop 127.0.0.1:56812 60 Registered

Please help me with this problem, thanks!
rosary
 
Posts: 17
Joined: Wed Jul 14, 2010 12:44 am

Postby mflorell » Wed Jul 14, 2010 6:58 am

Is ip_relay running?
mflorell
Site Admin
 
Posts: 18386
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

thanks

Postby brett05 » Wed Jul 14, 2010 7:45 am

same thing as me and with this we can not make listen or barge
Jasperreports & Queuemetrics & SugarCRM integration - Customization and Add-ons
Freepbx||Billing||Centos||Opensuse||Debian||Centos||Fedora||Sangoma||Diguim
brett05
 
Posts: 571
Joined: Sun May 24, 2009 5:48 pm
Location: tunisia

Postby mcargile » Wed Jul 14, 2010 1:14 pm

What are the exact versions of Ubuntu / Debian you are using. Are they 32bit or 64bit?
Michael Cargile | Director of Engineering | ViciDialGroup | http://www.vicidial.com

The official source for VICIDIAL services and support. 1-888-894-VICI (8424)
mcargile
Site Admin
 
Posts: 617
Joined: Tue Jan 16, 2007 9:38 am

Postby mcargile » Wed Jul 14, 2010 1:28 pm

Well it appears that the version of ip_relay the installer installs is rather old and compiled against a version of glibc that I guess Debian stopped shipping. Luckily the original source code is included with Vicidial. All that you need to do is recompile it and it works just fine.
Last edited by mcargile on Wed Jul 14, 2010 1:43 pm, edited 1 time in total.
Michael Cargile | Director of Engineering | ViciDialGroup | http://www.vicidial.com

The official source for VICIDIAL services and support. 1-888-894-VICI (8424)
mcargile
Site Admin
 
Posts: 617
Joined: Tue Jan 16, 2007 9:38 am

Postby mcargile » Wed Jul 14, 2010 1:43 pm

Here is what I did to get this to work:

Fill in *PATH_TO_ASTGUICLIENT_SOURCE_CODE* to the path to the astguiclient source code directory

Code: Select all
#> cd /usr/src
#> unzip *PATH_TO_ASTGUICLIENT_SOURCE_CODE*/extras/ip_relay/ip_relay_1.1.112705.zip
#> cd ip_relay_1.1/src/unix
#> make
#> rm /usr/share/astguiclient/ip_relay/ip_relay
#> cp * /usr/share/astguiclient/ip_relay/
#> cd /usr/local/bin
#> rm ip_relay
#> ln -s /usr/share/astguiclient/ip_relay/ip_relay ip_relay
#> /usr/share/astguiclient/ADMIN_keepalive_ALL.pl
#> ps -e | grep ip_relay


The output from the last command should look something like this
8651 ? 00:00:00 ip_relay
8652 ? 00:00:00 ip_relay
Michael Cargile | Director of Engineering | ViciDialGroup | http://www.vicidial.com

The official source for VICIDIAL services and support. 1-888-894-VICI (8424)
mcargile
Site Admin
 
Posts: 617
Joined: Tue Jan 16, 2007 9:38 am

Postby rosary » Wed Jul 14, 2010 10:20 pm

I have installed Ubuntu 8.0.4 64-bit.

I found out that ip_relay in my Ubuntu server was not compiled properly, /usr/src/astguiclient/ip_relay is empty. Not like in my CentOS server which has files in it.

I have tried the procedure above, but make has been unsuccessful. The problem seems to be regarding gcc. Do you have an idea on what gcc I will use?

Thanks for your help. I really appreciate it.
rosary
 
Posts: 17
Joined: Wed Jul 14, 2010 12:44 am

Postby leoman70 » Thu Jul 15, 2010 1:03 am

Got it working thanks...Michael
leoman70
 
Posts: 5
Joined: Mon Jul 24, 2006 10:56 pm
Location: Cebu, Philippines

Postby rosary » Thu Jul 15, 2010 1:03 am

Thanks for your help Michael. ip_relay in Ubuntu/Debian works well now.
rosary
 
Posts: 17
Joined: Wed Jul 14, 2010 12:44 am

Re: ASTblind and ASTloop unregistered on Ubuntu and Debian

Postby sohaib » Thu May 29, 2014 10:26 am

It works.... thanks mcargile ...

--
sohaib
 
Posts: 57
Joined: Wed Feb 23, 2011 3:59 pm

Re: ASTblind and ASTloop unregistered on Ubuntu and Debian

Postby aroonmishra » Sun Apr 24, 2016 2:07 am

Hi,
I am using astguiclient
VERSION: 2.12-550a
BUILD: 160414-1013 .

I installed it using svn.

My OS is Ubuntu 14.04.4 LTS 64 bit on AWS

ip_relay is not compiled.

I am trying to compile it and getting below error

root@ip-172-31-46-77:/usr/src/ip_relay_1.1/src/unix# make
gcc -c ../lib_ip_relay.c -o lib_ip_relay.o
ar rcs lib_ip_relay.a lib_ip_relay.o
gcc -c -fPIC ../lib_ip_relay.c -o lib_ip_relay_so.o
gcc -shared -Wl,-soname,lib_ip_relay.so.1 -o lib_ip_relay.so.1.0.1 lib_ip_relay_so.o -lc
gcc ../ip_relay.c lib_ip_relay.a -o ip_relay
../ip_relay.c: In function ‘parse_command_line’:
../ip_relay.c:114:9: warning: incompatible implicit declaration of built-in function ‘exit’ [enabled by default]
exit( IR_ERROR_BAD_PARAMETERS );
^
Please help me to fix this
aroonmishra
 
Posts: 1
Joined: Sun Apr 24, 2016 1:57 am

Re: ASTblind and ASTloop unregistered on Ubuntu and Debian

Postby sohaib » Sun Apr 24, 2016 6:20 am

try installing it by apt
apt-get install libc6-i386


--
sohaib Khan
sohaib
 
Posts: 57
Joined: Wed Feb 23, 2011 3:59 pm


Return to Support

Who is online

Users browsing this forum: Google [Bot] and 110 guests