Kein Audio bei externen Einwahl

Hille

Neuer User
Mitglied seit
16 Jun 2005
Beiträge
63
Punkte für Reaktionen
0
Punkte
6
Ich habe das Problem, dass ich beidseitig keine Sprache bei externer Einwahl (T-Mobile) höre. Die SIP Registrierung funktioniert problemlos. Im lokalen Netz und per OpenVPN funktioniert es ebenfalls problemlos, beide Teilnehmer hören die Sprache normal.

Per tcpdump kommen auch Pakete an:

Code:
tcpdump udp portrange 10000-10020
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 262144 bytes
12:35:24.738865 IP tmo-119-161.customers.d1-online.com.17719 > sip.server.local.10005: UDP, length 0
12:35:24.739001 IP tmo-119-161.customers.d1-online.com.17721 > sip.server.local.10020: UDP, length 0
12:35:24.739046 IP tmo-119-161.customers.d1-online.com.17722 > sip.server.local.10006: UDP, length 0
12:35:24.739072 IP tmo-119-161.customers.d1-online.com.17725 > sip.server.local.10000: UDP, length 0
12:35:24.739096 IP tmo-119-161.customers.d1-online.com.17724 > sip.server.local.10012: UDP, length 0
12:35:24.739119 IP tmo-119-161.customers.d1-online.com.17723 > sip.server.local.10013: UDP, length 0
12:35:24.746757 IP tmo-119-161.customers.d1-online.com.17731 > sip.server.local.10004: UDP, length 0
12:35:25.908900 IP tmo-119-161.customers.d1-online.com.17798 > sip.server.local.10008: UDP, length 0
12:35:25.908978 IP tmo-119-161.customers.d1-online.com.17802 > sip.server.local.10004: UDP, length 0
12:35:25.908992 IP tmo-119-161.customers.d1-online.com.17803 > sip.server.local.10018: UDP, length 0
12:35:25.908997 IP tmo-119-161.customers.d1-online.com.17799 > sip.server.local.10016: UDP, length 0
12:35:25.909006 IP tmo-119-161.customers.d1-online.com.17805 > sip.server.local.10015: UDP, length 0
12:35:25.909011 IP tmo-119-161.customers.d1-online.com.17807 > sip.server.local.10010: UDP, length 0
12:35:25.909020 IP tmo-119-161.customers.d1-online.com.17810 > sip.server.local.10017: UDP, length 0
12:35:25.909162 IP tmo-119-161.customers.d1-online.com.17813 > sip.server.local.10014: UDP, length 0
12:35:25.909174 IP tmo-119-161.customers.d1-online.com.17820 > sip.server.local.10003: UDP, length 0
12:35:25.909177 IP tmo-119-161.customers.d1-online.com.17821 > sip.server.local.10007: UDP, length 0
12:35:25.909179 IP tmo-119-161.customers.d1-online.com.17824 > sip.server.local.10001: UDP, length 0
12:35:25.916567 IP tmo-119-161.customers.d1-online.com.17826 > sip.server.local.10019: UDP, length 0
12:35:25.916585 IP tmo-119-161.customers.d1-online.com.17825 > sip.server.local.10011: UDP, length 0
12:35:25.916590 IP tmo-119-161.customers.d1-online.com.17828 > sip.server.local.10009: UDP, length 0
12:35:26.018335 IP tmo-119-161.customers.d1-online.com.17834 > sip.server.local.10009: UDP, length 0
12:35:26.018353 IP tmo-119-161.customers.d1-online.com.17837 > sip.server.local.10011: UDP, length 0
12:35:26.018418 IP tmo-119-161.customers.d1-online.com.17838 > sip.server.local.10019: UDP, length 0
12:35:26.018428 IP tmo-119-161.customers.d1-online.com.17839 > sip.server.local.10001: UDP, length 0
12:35:26.018434 IP tmo-119-161.customers.d1-online.com.17842 > sip.server.local.10014: UDP, length 0
12:35:26.018437 IP tmo-119-161.customers.d1-online.com.17841 > sip.server.local.10003: UDP, length 0
12:35:26.018471 IP tmo-119-161.customers.d1-online.com.17843 > sip.server.local.10010: UDP, length 0
12:35:26.018491 IP tmo-119-161.customers.d1-online.com.17844 > sip.server.local.10002: UDP, length 0
12:35:26.018512 IP tmo-119-161.customers.d1-online.com.17845 > sip.server.local.10007: UDP, length 0
12:35:26.018704 IP tmo-119-161.customers.d1-online.com.17849 > sip.server.local.10017: UDP, length 0
12:35:26.018721 IP tmo-119-161.customers.d1-online.com.17847 > sip.server.local.10015: UDP, length 0

Das Routing geht normal über die Router-VM

Code:
route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.178.1   0.0.0.0         UG    0      0        0 eth0
192.168.178.0   0.0.0.0         255.255.255.0   U     0      0        0 eth0

iptables

Code:
...
iptables -t nat -A PREROUTING -i ppp0 -p udp -m multiport --dports 65060,10000:10020 -j DNAT --to-destination 192.168.178.71
...

sip.conf

Code:
[general]
realm = sip.server.local
bindport=65060
bindaddr=0.0.0.0
context = default
nat=force_rport,comedia
localnet=192.168.178.0/255.255.255.0
alwaysauthreject=yes
allowguest=no
language=de
srvlookup=yes
videosupport=yes
tos_sip=cs3
tos_audio=ef
tos_video=af41
tos_text=af41
...

rtp.conf

Code:
[general]

rtpstart=10000
rtpend=10020

...

Ich stehe im Moment etwas auf dem Schlauch. Wo könnte mein Problem liegen?

### Zusammenführung Doppelpost by stoney ###

zur Ergänzung, der Portscan wurde über einen externen Laptop durchgeführt. Per Telefonie kommen leider keine Audio Paket an

Code:
tcpdump udp portrange 1000-65535 |grep customers.d1-online.com
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 262144 bytes
13:18:42.287363 IP tmo-119-165.customers.d1-online.com.27223 > sip.server.local.65060: UDP, length 737
13:18:42.287757 IP sip.server.local.65060 > tmo-119-165.customers.d1-online.com.27223: UDP, length 644
13:18:42.331818 IP tmo-119-165.customers.d1-online.com.27223 > sip.server.local.65060: UDP, length 917
13:18:42.332407 IP sip.server.local.65060 > tmo-119-165.customers.d1-online.com.27223: UDP, length 646
13:18:42.332483 IP sip.server.local.65060 > tmo-119-165.customers.d1-online.com.27223: UDP, length 681
13:18:42.332704 IP sip.server.local.65060 > tmo-119-165.customers.d1-online.com.21685: UDP, length 763
13:18:42.378623 IP tmo-119-165.customers.d1-online.com.27223 > sip.server.local.65060: UDP, length 665
13:18:42.378639 IP tmo-119-165.customers.d1-online.com.27223 > sip.server.local.65060: UDP, length 913
13:18:42.378822 IP sip.server.local.65060 > tmo-119-165.customers.d1-online.com.27223: UDP, length 656
13:18:42.426480 IP tmo-119-165.customers.d1-online.com.27223 > sip.server.local.65060: UDP, length 913
13:18:42.426811 IP sip.server.local.65060 > tmo-119-165.customers.d1-online.com.27223: UDP, length 599
13:18:42.431999 IP sip.server.local.65060 > tmo-119-165.customers.d1-online.com.21685: UDP, length 763
13:18:42.474810 IP tmo-119-165.customers.d1-online.com.27223 > sip.server.local.65060: UDP, length 908
13:18:42.474983 IP sip.server.local.65060 > tmo-119-165.customers.d1-online.com.27223: UDP, length 656
13:18:42.524604 IP tmo-119-165.customers.d1-online.com.27223 > sip.server.local.65060: UDP, length 908
13:18:42.524862 IP sip.server.local.65060 > tmo-119-165.customers.d1-online.com.27223: UDP, length 646
13:18:42.524924 IP sip.server.local.65060 > tmo-119-165.customers.d1-online.com.27223: UDP, length 681
13:18:42.525039 IP sip.server.local.65060 > tmo-119-165.customers.d1-online.com.21685: UDP, length 763
13:18:42.572448 IP tmo-119-165.customers.d1-online.com.27223 > sip.server.local.65060: UDP, length 649
13:18:42.573772 IP tmo-119-165.customers.d1-online.com.27223 > sip.server.local.65060: UDP, length 904
13:18:42.573886 IP sip.server.local.65060 > tmo-119-165.customers.d1-online.com.27223: UDP, length 656
13:18:42.624629 IP tmo-119-165.customers.d1-online.com.27223 > sip.server.local.65060: UDP, length 904
13:18:42.624886 IP sip.server.local.65060 > tmo-119-165.customers.d1-online.com.27223: UDP, length 599
 
Zuletzt bearbeitet von einem Moderator:
Nach längerer Suche konnte ich nun das Problem lösen. Im Endeffekt hat in der sip.conf die externip gefehlt. Da ich eine statische DSL IPv4 habe, habe ich diese dort eingetragen. Nun funktioniert es problemlos.
 
Holen Sie sich 3CX - völlig kostenlos!
Verbinden Sie Ihr Team und Ihre Kunden Telefonie Livechat Videokonferenzen

Gehostet oder selbst-verwaltet. Für bis zu 10 Nutzer dauerhaft kostenlos. Keine Kreditkartendetails erforderlich. Ohne Risiko testen.

3CX
Für diese E-Mail-Adresse besteht bereits ein 3CX-Konto. Sie werden zum Kundenportal weitergeleitet, wo Sie sich anmelden oder Ihr Passwort zurücksetzen können, falls Sie dieses vergessen haben.