Page 1 of 1

Trying to conect a SoftPhone to ViciDN - "no route to d

PostPosted: Tue Jun 23, 2009 2:25 am
by phil_discount
Hello Guys,

I've got a little problems with my softphones.
I made a new ViciDialNow Installation (1.2),
my changes:
-IP address / gateway in the setup
-After that I changed the IP address in the webinterface vicidial admin -> server
-in the configuration of the softphone, i changed the vicidialnow server too, because there is a new one with the new ip address

I just downloaded the latest version of Zoiper 2.21 and configured a sip phone:
Domain: server ip vicidialnow
User: 100
Password: test
CallerIDname: 100

When I try to register, follow message appears in the log of Zoiper Phone:
Code: Select all
09:08:44 Registering user '100@192.168.203.21'
09:08:45 Failed registration  for '100@192.168.203.21' with cause 'no route to destination'


I start the softphone from my notebook in the same network.
I can ping google from a console session on the vicidial server, i think there is no network problem.

EDIT: I installed the Zoiperphone on a second PC and the same problem.


Anyone here with an idea?

Best regards
Philip

PostPosted: Thu Jun 25, 2009 7:47 pm
by williamconley
if you changed the IP address during setup, it would have been correct in admin->server when you started the system. if you changed the ip address AFTER setup, you must run the ip change script for the IP address to be changed everywhere (not just in that one spot).

PostPosted: Fri Jun 26, 2009 7:07 am
by phil_discount
Hello,
thanks for the answer.
I run the script, restarted the server, but the error message in the softphone is the same.
I can't imagine i made a mistake because it's very very simple :-)

but i found out an error in the mail of mr.root:

Code: Select all

From root@vici.vicidialnow.com  Fri Jun 26 14:28:02 2009
Return-Path: <root@vici.vicidialnow.com>
Received: from vici.vicidialnow.com (localhost.localdomain [127.0.0.1])
        by vici.vicidialnow.com (8.13.8/8.13.8) with ESMTP id n5QCS2Dq032618
        for <root@vici.vicidialnow.com>; Fri, 26 Jun 2009 14:28:02 +0200
Received: (from root@localhost)
        by vici.vicidialnow.com (8.13.8/8.13.8/Submit) id n5QCS2S2032617;
        Fri, 26 Jun 2009 14:28:02 +0200
Date: Fri, 26 Jun 2009 14:28:02 +0200
Message-Id: <200906261228.n5QCS2S2032617@vici.vicidialnow.com>
From: root@vici.vicidialnow.com (Cron Daemon)
To: root@vici.vicidialnow.com
Subject: Cron <root@vici> /usr/share/astguiclient/AST_vm_update.pl
Content-Type: text/plain; charset=UTF-8
Auto-Submitted: auto-generated
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/root>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=root>
X-Cron-Env: <USER=root>

unknown remote host:  at /usr/share/astguiclient/AST_vm_update.pl line 188

From root@vici.vicidialnow.com  Fri Jun 26 14:31:00 2009
Return-Path: <root@vici.vicidialnow.com>
Received: from vici.vicidialnow.com (localhost.localdomain [127.0.0.1])
        by vici.vicidialnow.com (8.13.8/8.13.8) with ESMTP id n5QCV0AD002128
        for <root@vici.vicidialnow.com>; Fri, 26 Jun 2009 14:31:00 +0200
Received: (from root@localhost)
        by vici.vicidialnow.com (8.13.8/8.13.8/Submit) id n5QCT6Rh000548;
        Fri, 26 Jun 2009 14:29:06 +0200
Date: Fri, 26 Jun 2009 14:29:06 +0200
Message-Id: <200906261229.n5QCT6Rh000548@vici.vicidialnow.com>
From: root@vici.vicidialnow.com (Cron Daemon)
To: root@vici.vicidialnow.com
Subject: Cron <root@vici> /usr/share/astguiclient/AST_conf_update.pl
Content-Type: text/plain; charset=UTF-8
Auto-Submitted: auto-generated
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/root>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=root>
X-Cron-Env: <USER=root>

DBD::mysql::st execute failed: MySQL server has gone away at /usr/share/astguiclient/AST_conf_update.pl line 331.
executing: SELECT extension,conf_exten from conferences where server_ip='192.168.203.21' and extension is NOT NULL and extension != ''; MySQL server has gone away at /usr/share/astguiclient/AST_conf_update.pl line 331.

PostPosted: Fri Jun 26, 2009 7:28 am
by gardo
Looks like you havent' updated your VicidialNOW system to the new IP address. Try running "update_server_ip". You can check on the Admin page under the Server section if the IP address of the server has been updated and their corresponding conferences and phones.

phil_discount wrote:Hello,
thanks for the answer.
I run the script, restarted the server, but the error message in the softphone is the same.
I can't imagine i made a mistake because it's very very simple :-)

but i found out an error in the mail of mr.root:

Code: Select all

From root@vici.vicidialnow.com  Fri Jun 26 14:28:02 2009
Return-Path: <root@vici.vicidialnow.com>
Received: from vici.vicidialnow.com (localhost.localdomain [127.0.0.1])
        by vici.vicidialnow.com (8.13.8/8.13.8) with ESMTP id n5QCS2Dq032618
        for <root@vici.vicidialnow.com>; Fri, 26 Jun 2009 14:28:02 +0200
Received: (from root@localhost)
        by vici.vicidialnow.com (8.13.8/8.13.8/Submit) id n5QCS2S2032617;
        Fri, 26 Jun 2009 14:28:02 +0200
Date: Fri, 26 Jun 2009 14:28:02 +0200
Message-Id: <200906261228.n5QCS2S2032617@vici.vicidialnow.com>
From: root@vici.vicidialnow.com (Cron Daemon)
To: root@vici.vicidialnow.com
Subject: Cron <root@vici> /usr/share/astguiclient/AST_vm_update.pl
Content-Type: text/plain; charset=UTF-8
Auto-Submitted: auto-generated
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/root>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=root>
X-Cron-Env: <USER=root>

unknown remote host:  at /usr/share/astguiclient/AST_vm_update.pl line 188

From root@vici.vicidialnow.com  Fri Jun 26 14:31:00 2009
Return-Path: <root@vici.vicidialnow.com>
Received: from vici.vicidialnow.com (localhost.localdomain [127.0.0.1])
        by vici.vicidialnow.com (8.13.8/8.13.8) with ESMTP id n5QCV0AD002128
        for <root@vici.vicidialnow.com>; Fri, 26 Jun 2009 14:31:00 +0200
Received: (from root@localhost)
        by vici.vicidialnow.com (8.13.8/8.13.8/Submit) id n5QCT6Rh000548;
        Fri, 26 Jun 2009 14:29:06 +0200
Date: Fri, 26 Jun 2009 14:29:06 +0200
Message-Id: <200906261229.n5QCT6Rh000548@vici.vicidialnow.com>
From: root@vici.vicidialnow.com (Cron Daemon)
To: root@vici.vicidialnow.com
Subject: Cron <root@vici> /usr/share/astguiclient/AST_conf_update.pl
Content-Type: text/plain; charset=UTF-8
Auto-Submitted: auto-generated
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/root>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=root>
X-Cron-Env: <USER=root>

DBD::mysql::st execute failed: MySQL server has gone away at /usr/share/astguiclient/AST_conf_update.pl line 331.
executing: SELECT extension,conf_exten from conferences where server_ip='192.168.203.21' and extension is NOT NULL and extension != ''; MySQL server has gone away at /usr/share/astguiclient/AST_conf_update.pl line 331.

PostPosted: Fri Jun 26, 2009 7:37 am
by phil_discount
all softphones have the new ip address, in the admin server section the new ip address is also updated :-/

PostPosted: Fri Jun 26, 2009 2:49 pm
by williamconley
you must run update_server_ip with the correct old and correct new ip addresses (or reinstall the server with the correct ip from the beginning)

if the machine has had more than one ip, you must do this once fore each old ip it had. or you can read the script and find ALL the places that the ip must be corrected. it's a lot of places. thus, the script to do it for you.

PostPosted: Tue Jul 14, 2009 7:23 am
by phil_discount
Hello,
sorry, i was involved in some other projects, now i have time for vici :-)
After installation the IP address is fix, during the installation, i cant change the IP... so i have to use update_server_ip.
Can u tell me, where I find the file "update_server_ip"?
i want to see, where the program change the ip, perhaps the program can't change the ip address of one config file?!
i want control the whole file step by step.

Thanks

PostPosted: Tue Jul 14, 2009 9:50 am
by gardo
It's located in: "/usr/local/sbin/". It's actually a link to "/usr/share/astguiclient/ADMIN_update_server_ip.pl".

PostPosted: Wed Jul 15, 2009 3:28 am
by phil_discount
i found out that the new Server IP was missing in astguiclient.conf.
i write in the new ip and rebootet the server -> it works :-)

Thanks all!!![/code]