Hello,
I’m 100% newbie on VOIP and i try to make it work, sorry if my question is a bit stupid.
This is my first post so i don’t know if i post inside the right topics cat…
I’m running a debian 11 on a proxomox 8.0.3 Pve.
Then i have installed with succes Asterisk 18.
root@Asterisk:/etc/asterisk# systemctl status asterisk
● asterisk.service - LSB: Asterisk PBX
Loaded: loaded (/etc/init.d/asterisk; generated)
Active: active (running) since Sun 2023-07-23 15:28:38 CEST; 15s ago
Docs: man:systemd-sysv-generator(8)
Process: 1382 ExecStart=/etc/init.d/asterisk start (code=exited, status=0/SUCCESS)
Tasks: 79 (limit: 9565)
Memory: 143.0M
CPU: 568ms
CGroup: /system.slice/asterisk.service
└─1394 /usr/sbin/asterisk
Everythinks seems to be ok, i have edited the sip.conf
folder like that:
[general]
language=fr
allow=alaw
allow=ulaw
context=lab
[phone1]
type=friend
secret=123456
host=dynamic
callerid="test1" <300>
[phone2]
type=friend
secret=654321
host=dynamic
callerid="test2" <301>
And the extensions.conf
folder like that:
[general]
[labo]
exten => 300,1,Answer
exten => 300,2,Dial(SIP/phone1)
exten => 300,3,Hangup
exten => 301,1,Answer
exten => 301,2,Dial(SIP/phone1)
exten => 301,3,Hangup
My problem is the SIP port 5060
is not open when i check:
root@Asterisk:/etc/asterisk# netstat -anup
Connexions Internet actives (serveurs et établies)
Proto Recv-Q Send-Q Adresse locale Adresse distante Etat PID/Program name
udp 0 0 0.0.0.0:2727 0.0.0.0:* 1394/asterisk
udp 0 0 0.0.0.0:68 0.0.0.0:* 360/dhclient
udp 0 0 0.0.0.0:53368 0.0.0.0:* 1394/asterisk
udp 0 0 0.0.0.0:4520 0.0.0.0:* 1394/asterisk
udp 0 0 0.0.0.0:4569 0.0.0.0:* 1394/asterisk
udp 0 0 0.0.0.0:5000 0.0.0.0:* 1394/asterisk
udp6 0 0 :::35923 :::* 1394/asterisk
I have no clue what i did wrong, could you please help?
Thanks