A
A
Alexey2015-10-19 22:10:04
Asterisk
Alexey, 2015-10-19 22:10:04

How to change asterisk server ip?

I installed ubuntu 14.04.2 desktop + asterisk
according to the instructions voipnotes.ru/install-asterisk-12-on-ubuntu-14-04 up to 12 points
configured 2 internal test numbers and a diaplan The
question is that the numbers connect only via ip 127.0.0.1, although the network ip is 192.168.xx
I have already installed and worked with asterisk, only on another laptop and everything was fine,
tell me how to fix the situation

Answer the question

In order to leave comments, you need to log in

4 answer(s)
M
Maksim, 2015-10-19
@alex0308

Do you even do something before posting a thread?
For example:
1. Tried to ping.
2.Firewall off/on (here are the rules)
3.Here are network settings (ifconfig)
4.Here is sip.conf config
5.
6.
7
.

I
Iurii, 2015-10-19
@Mistifiks

If I understand correctly: you can only connect as a client locally from the computer on which asterisk is installed, and you can’t connect over the network.
1. Check how you have iptables configured (whether the connection is allowed).
2. See the settings in the sip.conf file (if you are connecting via the sip protocol)

V
vreitech, 2015-10-20
@fzfx

make sure the following parameters are defined in sip.conf:

udpbindaddr = 192.168.5.95
localnet = 192.168.5.0/24
domain = 192.168.5.95

A
Alexey, 2015-10-21
@alex0308

Thank you all for your help, the error turned out to be a banal inattention
in my case, I made a mistake in specifying the ip address instead of xxx.xxx.x. 95 pointed out 59
this is a good lesson for me, and to everyone who wakes up to read, pay attention to whether you make banal mistakes.
Special thanks to Maksim @chumayu for the right questions

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question