Page 1 of 1
vici LOcal IP issue with VOIP...

Posted:
Wed Feb 11, 2009 4:54 pm
by ruben23
hi, i was planning to change my vicidial server current network setup coz its running on a local IP and behind a NAT router...the problem is if ill have two ethernets....which is eth0=WAN IP , eth1=Local IP...probably there will no be changes on how do i access my vicidial server from a SIP client through local IP...
Is there any changes i need to specify my WAN IP on the vicidial configuration settings before it will work.
or
Do the vicidial need to know the WAN IP.....?


Posted:
Thu Feb 12, 2009 11:10 am
by ruben23
anyone have ideas on this...?


Posted:
Thu Feb 12, 2009 1:16 pm
by mcargile
You would want to have the local ip in the configuration files. The only place you will want to have the external IP listed would be the in sip.conf of Asterisk.
Even for systems that no one will be accessing the system from the local network (for instance co-located servers) we highly suggest setting up an internal network and having the systems communicate through the internal network. This prevents your database traffic from being visible from the outside.

Posted:
Thu Feb 12, 2009 3:35 pm
by ruben23
So what your suggesting is..keep my vici-asterisk server in local IP...? i have to server 1 for vici Database and 1 for asterisk-vici....
The only thing im concern here..is having issue with VOIP provider, and also got rtp error...
Mostly what setup are good fo a vicidial platform...? commonly used...

Posted:
Fri Feb 13, 2009 9:00 pm
by ruben23
mcargile...any comment or suggestion..

Posted:
Fri Feb 13, 2009 10:04 pm
by williamconley
as far as vicidial is concerned, you should only be using the local ip.
you'll need sip to be listening on the external along with any other networking protocols.
your database server should not even be on the external network at all unless you need to use it for something other than vicidial that is outside the local network.
call

Posted:
Sat Feb 14, 2009 7:41 am
by arvindsandilya24
Hi,
You should assign local ip on eth0 and public ip on eth1.

Posted:
Sun Feb 15, 2009 12:52 am
by ruben23
williamconley...i got two server....my database server will still be on my LAN network the vicidial server will be facing the wan by using the public IP with local access form my SIP client..
I just want to pull out my vici server form nated network.....

[/img]

Posted:
Sun Feb 15, 2009 11:24 am
by Baylink
Ruben: let me try to restate your problem (ah, tech support; what a nice change :-), so we're sure we're all talking about the same thing.
You have a 2 machine cluster, web and DB on one box, and dialler on the other, and your connection to the outisde world is (solely?) SIP to a commercial provider, correct?
And at the moment, both machines are in a private, RFC 1918 LAN behind a NAT router?
And you are having trouble with this, presumably, and want to connect the dialler box directly to your public Internet uplink somehow so that you can fix your problems in that way?
Is that your actual problem?
If so, I concur with Mike: you're much better off, in the long run, figuring out and fixing the problem that you're having getting your SIP through your NAT, than exposing your Linux dialler box directly to the Internet.
A couple of detail questions:
1) What *is* your NAT box?
2) Exactly what problems (if any) are you having trying to get SIP traffic to your provider to successfully traverse it?
3) What kind of Internet connection do you have, and does it provide you with a static IP address?