Phones registration - Vicibox

Support forum for the ViciBox ISO Server Install and ISO LiveCD Demo

Moderators: enjay, williamconley, Staydog, mflorell, MJCoate, mcargile, Kumba

Phones registration - Vicibox

Postby ramirez » Sun Jul 18, 2010 1:01 pm

Hi. I have freshly installed a vicibox server and cant have my phone register after adding it from vicidial-admin web interface. when checking at asterisk CLi (sip show users) cant see it. how do i solve this problem.
ramirez
 
Posts: 3
Joined: Sun Jul 18, 2010 12:40 pm

Postby mflorell » Sun Jul 18, 2010 8:05 pm

Did you follow the tutorials in the ViciDial Manager Manual?
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby ramirez » Mon Jul 19, 2010 3:42 am

Yes, i did. added the phone but jst cant have it register.
ramirez
 
Posts: 3
Joined: Sun Jul 18, 2010 12:40 pm

re

Postby speed » Mon Jul 19, 2010 7:21 am

hi ramirez

go into the sip-vicidial.conf an check for

nat=yes

for every telephone user.

if there no entry write it by every user

example

[100]
username=100
secret=123456
mailbox=100
context=default
type=friend
host=dynamic
nat=yes


(after reload not forgott)

greets speed
speed
 
Posts: 71
Joined: Wed Apr 01, 2009 2:25 pm

Postby Kumba » Mon Jul 19, 2010 2:45 pm

nat=yes should be already turned on my default in sip.conf. This is inherited through the other phone entries.

You would most likely want to type 'sip show peers' to see if ViciDial is even loading your phone up right. The second thing to check would be sip-vicidial.conf and see what username and password your phone is configured with. If you still can't connect after all that then it's likely firewall or network related.
Kumba
 
Posts: 939
Joined: Tue Oct 16, 2007 11:44 pm
Location: Florida

Postby ramirez » Tue Jul 20, 2010 3:23 am

Hey guys! we've jst said it. vicidial doesnt load my phone right. my sip-vicidial.conf has only the string '[vicidial-auto]' and nothing more under it while i had to see the phones created frm the web interface. do you knw why it's not loading them? how do i fix that?

Ramirez
ramirez
 
Posts: 3
Joined: Sun Jul 18, 2010 12:40 pm

Postby williamconley » Fri Jul 30, 2010 4:34 pm

if your system is not writing to your sip-vicidial.conf file either it has been told not to (admin->servers->choose your server) or it does not have permission to do so. did you change the ip address of your server?

if you change your ip address, it "loses" permission to do all sorts of stuff. really what happens is that it issues the command to write the file to a server with the old ip address. then (because that is not IT'S ip address) it ignores the request and does not write the file.

if this is the case: /usr/share/astguiclient and run the admin update server ip script.

Code: Select all
cd /usr/share/astguiclient
perl ADMIN_update_server_ip.pl


if, however, it IS writing to the file, you may have NO active sip phones.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby DhwaniTechnologies » Fri Jan 28, 2011 1:37 pm

I have a server with NAT enabled. My server's local IP is 192.168.x.x and I am using it through a public IP which is natted to the local IP.

When I run the perl script to update the IP address, by default it shows that my current IP is 127.0.0.1 and selects the new IP as 192.168.x.x

I am accessing my server from the Internet using the public IP. What IP should I choose in the Server IP Update script? My public IP, my local IP or the loopback IP?
Vicidial, Goautodial, OSdial Consulting | Hosted Solutions
Dhwani Technologies | info@dhwanitech.com | Skype: dhwanitech
DhwaniTechnologies
 
Posts: 46
Joined: Thu Oct 14, 2010 10:03 am
Location: US/India

Postby williamconley » Fri Jan 28, 2011 2:12 pm

the server update script takes TWO IP addresses. So when you ask "what should i put for the IP...", we have to answer for each of them.

The IP address you should give for "OLD" is any prior IP address that the system may have had or been told that it had by this script or that any human may have erroneously entered in any of the various ip address locations while unaware of this script's existence (even if it was in error, and the server never actually HAD that IP address, if the value may exist somewhere, run it with that value to get it converted to the new, correct, IP address). This may require running the script multiple times to be sure.

The IP address you should give for "NEW" is the current local IP address held by at least one NIC card. NOT the 127.0.0.1 loopback and NOT an external IP address for a router. It must be the current local IP (generally eth0 or eth1). This may be a "Private" IP (such as 192.168.6.3 or 10.10.15.15) or an Internet IP such as 172.111.51.51. This may be obtained via "ifconfig". Do not use the IP from the "lo" network.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby DhwaniTechnologies » Fri Jan 28, 2011 2:18 pm

Great, that's what I expected. Thanks!
Vicidial, Goautodial, OSdial Consulting | Hosted Solutions
Dhwani Technologies | info@dhwanitech.com | Skype: dhwanitech
DhwaniTechnologies
 
Posts: 46
Joined: Thu Oct 14, 2010 10:03 am
Location: US/India


Return to ViciBox Server Install and Demo

Who is online

Users browsing this forum: No registered users and 59 guests