ich habe Asterisk 1.8 mit Gemeinschaft-3.2 auf einem RaspBerry PI3 und Debian Jessie installiert. LAN-IP ist 192.168.1.4. Ein telnet 192.168.1.4 5060 vom einem Host in 192.168.1.0 liefert
Code: Alles auswählen
Trying 192.168.1.4...
telnet: Unable to connect to remote host: Connection refused
Code: Alles auswählen
# netstat -plnu
Aktive Internetverbindungen (Nur Server)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
udp 0 0 0.0.0.0:37444 0.0.0.0:* 815/portsentry
udp 0 0 0.0.0.0:68 0.0.0.0:* 587/dhcpcd
udp 0 0 0.0.0.0:69 0.0.0.0:* 815/portsentry
udp 0 0 0.0.0.0:31335 0.0.0.0:* 815/portsentry
udp 0 0 0.0.0.0:31337 0.0.0.0:* 815/portsentry
udp 0 0 192.168.10.4:123 0.0.0.0:* 749/ntpd
udp 0 0 192.168.0.8:123 0.0.0.0:* 749/ntpd
udp 0 0 0.0.0.0:635 0.0.0.0:* 815/portsentry
udp 0 0 192.168.1.4:123 0.0.0.0:* 749/ntpd
udp 0 0 127.0.0.1:123 0.0.0.0:* 749/ntpd
udp 0 0 0.0.0.0:123 0.0.0.0:* 749/ntpd
udp 0 0 0.0.0.0:640 0.0.0.0:* 815/portsentry
udp 0 0 0.0.0.0:641 0.0.0.0:* 815/portsentry
udp 0 0 0.0.0.0:161 0.0.0.0:* 815/portsentry
udp 0 0 0.0.0.0:162 0.0.0.0:* 815/portsentry
udp 0 0 0.0.0.0:700 0.0.0.0:* 815/portsentry
udp 0 0 0.0.0.0:42685 0.0.0.0:* 579/avahi-daemon: r
udp 0 0 0.0.0.0:5353 0.0.0.0:* 579/avahi-daemon: r
udp 0 0 0.0.0.0:34555 0.0.0.0:* 815/portsentry
udp 0 0 0.0.0.0:5060 0.0.0.0:* 1354/asterisk
udp 0 0 224.0.1.75:5060 0.0.0.0:* 816/gs-sip-ua-confi
udp 0 0 0.0.0.0:4569 0.0.0.0:* 1354/asterisk
udp 0 0 0.0.0.0:513 0.0.0.0:* 815/portsentry
udp 0 0 0.0.0.0:1 0.0.0.0:* 815/portsentry
udp 0 0 0.0.0.0:32770 0.0.0.0:* 815/portsentry
udp 0 0 0.0.0.0:32771 0.0.0.0:* 815/portsentry
udp 0 0 0.0.0.0:32772 0.0.0.0:* 815/portsentry
udp 0 0 0.0.0.0:32773 0.0.0.0:* 815/portsentry
udp 0 0 0.0.0.0:32774 0.0.0.0:* 815/portsentry
udp 0 0 0.0.0.0:7 0.0.0.0:* 815/portsentry
udp 0 0 0.0.0.0:9 0.0.0.0:* 815/portsentry
udp 0 0 0.0.0.0:54321 0.0.0.0:* 815/portsentry
udp6 0 0 fe80::ba27:ebff:fe8:123 :::* 749/ntpd
udp6 0 0 ::1:123 :::* 749/ntpd
udp6 0 0 :::123 :::* 749/ntpd
udp6 0 0 :::5353 :::* 579/avahi-daemon: r
udp6 0 0 :::51008 :::* 579/avahi-daemon: r
Code: Alles auswählen
# nmap -v -sV 192.168.1.4 -p 5060
Starting Nmap 6.47 ( http://nmap.org ) at 2016-09-26 14:41 CEST
NSE: Loaded 29 scripts for scanning.
Initiating Parallel DNS resolution of 1 host. at 14:41
Completed Parallel DNS resolution of 1 host. at 14:41, 0.01s elapsed
Initiating SYN Stealth Scan at 14:41
Scanning 192.168.1.4 [1 port]
Completed SYN Stealth Scan at 14:41, 0.24s elapsed (1 total ports)
Initiating Service scan at 14:41
NSE: Script scanning 192.168.1.4.
Nmap scan report for 192.168.1.4
Host is up (0.000092s latency).
PORT STATE SERVICE VERSION
5060/tcp closed sip
Read data files from: /usr/bin/../share/nmap
Service detection performed. Please report any incorrect results at http://nmap.org/submit/ .
Nmap done: 1 IP address (1 host up) scanned in 1.08 seconds
Raw packets sent: 1 (44B) | Rcvd: 2 (84B)
Code: Alles auswählen
# nmap -v -sV localhost -p 5060
Starting Nmap 6.47 ( http://nmap.org ) at 2016-09-26 14:42 CEST
NSE: Loaded 29 scripts for scanning.
Initiating SYN Stealth Scan at 14:42
Scanning localhost (127.0.0.1) [1 port]
Completed SYN Stealth Scan at 14:42, 0.23s elapsed (1 total ports)
Initiating Service scan at 14:42
NSE: Script scanning 127.0.0.1.
Nmap scan report for localhost (127.0.0.1)
Host is up (0.000093s latency).
Other addresses for localhost (not scanned): 127.0.0.1
PORT STATE SERVICE VERSION
5060/tcp closed sip
Read data files from: /usr/bin/../share/nmap
Service detection performed. Please report any incorrect results at http://nmap.org/submit/ .
Nmap done: 1 IP address (1 host up) scanned in 1.03 seconds
Raw packets sent: 1 (44B) | Rcvd: 2 (84B)
Code: Alles auswählen
[general]
;callerid=asterisk ; default "asterisk"
callerid=gemeinschaft
context=default ; Default context for incoming calls
;allowguest=no ; Allow or reject guest calls (default is yes)
allowguest=no
autocreatepeer=no
;allowoverlap=no ; Disable overlap dialing support. (Default is yes)
;allowtransfer=no ; Disable all transfers (unless enabled in peers or users)
; Default is enabled
;realm=mydomain.tld ; Realm for digest authentication
; defaults to "asterisk". If you set a system name in
; asterisk.conf, it defaults to that system name
; Realms MUST be globally unique according to RFC 3261
; Set this to your host name or domain name
realm=gemeinschaft.local
bindport=5060 ; UDP Port to bind to (SIP standard port is 5060)
; bindport is the local UDP port that Asterisk will listen on
bindaddr=0.0.0.0 ; IP address to bind to (0.0.0.0 binds to all)
#exec /opt/gemeinschaft/etc/asterisk/bindaddr.conf.php sip
srvlookup=yes ; Enable DNS SRV lookups on outbound calls
; Note: Asterisk only uses the first host
; in SRV records
; Disabling DNS SRV lookups disables the
; ability to place SIP calls based on domain
; names to some other SIP users on the Internet
Kann mir jemand sagen, wie der eingehende Traffic, wie telnet 192.168.1.4 5060, aufgemacht wird?
Grüße
Wambui