Hallo,
ich habe ein Audio Problem d.h. ich höre nichts und der Gesprächspartner auch nix :-(
mein Aufbau:
DSL -- Frirtz7170 -- LAN -- Frirtz 7170 mit Asterisk auf USB
DSL ist Alice
Asterisk läuft auf Port 5070
DUS läuft einwandfrei GMX nicht
Die Portfreigaben auf der ersten Fritz
UDP 9178-65534 192.168.178.15 9178-65534
UDP 5070-5079 192.168.178.15 5070-5079
mein Debug
Hat jemand 1und1 oder GMX auf einem Asterisk hinter einer Fritz am laufen?
Für einen Tipp herzlichen Dank
MFG
Harald007
ich habe ein Audio Problem d.h. ich höre nichts und der Gesprächspartner auch nix :-(
mein Aufbau:
DSL -- Frirtz7170 -- LAN -- Frirtz 7170 mit Asterisk auf USB
DSL ist Alice
Asterisk läuft auf Port 5070
DUS läuft einwandfrei GMX nicht
Die Portfreigaben auf der ersten Fritz
UDP 9178-65534 192.168.178.15 9178-65534
UDP 5070-5079 192.168.178.15 5070-5079
mein Debug
Code:
(none)*CLI>
<--- SIP read from XXX.XXX.XX.XXX:5060 --->
ACK sip:[email protected]:5070 SIP/2.0
Record-Route: <sip:XXX.XXX.XX.XXX;lr=on;ftag=8AC865BE16D334AD>
Record-Route: <sip:YYY.YYY.YY.YYY;lr=on;ftag=8AC865BE16D334AD>
Record-Route: <sip:YYY.YYY.YY.YZY;lr=on;ftag=8AC865BE16D334AD>
Via: SIP/2.0/UDP XXX.XXX.XX.XXX;branch=z9hG4bKd739.ae1c154c8b4d14692a046d688066df29.2
Via: SIP/2.0/UDP YYY.YYY.YY.YYY;branch=z9hG4bKd739.ae1c154c8b4d14692a046d688066df29.2
Via: SIP/2.0/UDP YYY.YYY.YY.YZY;branch=z9hG4bK142B2CE66EE93DD5
Via: SIP/2.0/UDP XXX.XXX.XXX.XXX:5060;branch=z9hG4bK142B2CE66EE93DD5
From: "anonymous" <sip:[email protected]>;tag=8AC865BE16D334AD
To: <sip:[email protected]>;tag=as2dc35aa1
Call-ID: [email protected]
CSeq: 157 ACK
Contact: <sip:[email protected];uniq=EAC1FD488D47CFCEA385C7DA16C0C>
Max-Forwards: 67
User-Agent: AVM FRITZ!Box Fon WLAN 7050 (UI) 14.04.33 (May 10 2007)
Content-Length: 0
<------------->
--- (16 headers 0 lines) ---
set_destination: Parsing <sip:XXX.XXX.XX.XXX;lr=on;ftag=8AC865BE16D334AD> for address/port to send t
o
set_destination: set destination to XXX.XXX.XX.XXX, port 5060
Audio is at XX.XXX.XX.XXport 22650
Adding codec 0x4 (ulaw) to SDP
Adding non-codec 0x1 (telephone-event) to SDP
Reliably Transmitting (NAT) to XXX.XXX.XX.XXX:5060:
INVITE sip:[email protected];uniq=EAC1FD488D47CFCEA385C7DA16C0C SIP/2.0
Via: SIP/2.0/UDP XXX.XXX.XX.XXX:5070;branch=z9hG4bK0051a100;rport
Route: <sip:XXX.XXX.XX.XXX;lr=on;ftag=8AC865BE16D334AD>,<sip:YYY.YYY.YY.YYY;lr=on;ftag=8AC865BE16D33
4AD>,<sip:YYY.YYY.YY.YZY;lr=on;ftag=8AC865BE16D334AD>
From: <sip:[email protected]>;tag=as2dc35aa1
To: "anonymous" <sip:[email protected]>;tag=8AC865BE16D334AD
Contact: <sip:[email protected]:5070>
Call-ID: [email protected]
CSeq: 102 INVITE
User-Agent: Asterisk PBX
Max-Forwards: 70
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
X-asterisk-Info: SIP re-invite (External RTP bridge)
Content-Type: application/sdp
Content-Length: 239
v=0
o=root 1768 1769 IN IP4 192.168.178.1
s=session
c=IN IP4 192.168.178.1
t=0 0
m=audio 7078 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
a=ptime:20
a=sendrecv
---
(none)*CLI>
<--- SIP read from XXX.XXX.XX.XXX:5060 --->
SIP/2.0 100 Giving a try
Via: SIP/2.0/UDP XXX.XXX.XX.XXX:5070;branch=z9hG4bK0051a100;rport=5070
From: <sip:[email protected]>;tag=as2dc35aa1
To: "anonymous" <sip:[email protected]>;tag=8AC865BE16D334AD
Call-ID: [email protected]
CSeq: 102 INVITE
Server: UI OpenSER
Content-Length: 0
<------------->
--- (8 headers 0 lines) ---
(none)*CLI>
<--- SIP read from XXX.XXX.XX.XXX:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP XXX.XXX.XX.XXX:5070;branch=z9hG4bK0051a100;rport=5070
Record-Route: <sip:YYY.YYY.YY.YZY;lr=on;ftag=as2dc35aa1>
Record-Route: <sip:YYY.YYY.YY.YYY;lr=on;ftag=as2dc35aa1>
Record-Route: <sip:XXX.XXX.XX.XXX;lr=on;ftag=as2dc35aa1>
From: <sip:[email protected]>;tag=as2dc35aa1
To: "anonymous" <sip:[email protected]>;tag=8AC865BE16D334AD
Call-ID: [email protected]
CSeq: 102 INVITE
Contact: <sip:[email protected];uniq=EAC1FD488D47CFCEA385C7DA16C0C>
User-Agent: AVM FRITZ!Box Fon WLAN 7050 (UI) 14.04.33 (May 10 2007)
Supported: 100rel,replaces,timer
Allow-Events: telephone-event,refer
Allow: INVITE,ACK,OPTIONS,CANCEL,BYE,UPDATE,PRACK,INFO,SUBSCRIBE,NOTIFY,REFER,MESSAGE
Content-Type: application/sdp
Accept: application/sdp, multipart/mixed
Accept-Encoding: identity
Content-Length: 223
v=0
o=user 3196499 3196500 IN IP4 XXX.XXX.XXX.XXX
s=session
c=IN IP4 XXX.XXX.XXX.XXX
t=0 0
m=audio 7078 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-11
a=sendrecv
a=rtcp:7079
<------------->
--- (18 headers 11 lines) ---
Found RTP audio format 0
Found RTP audio format 101
Peer audio RTP is at port XXX.XXX.XXX.XXX:7078
Found audio description format PCMU for ID 0
Found audio description format telephone-event for ID 101
Capabilities: us - 0x4 (ulaw), peer - audio=0x4 (ulaw)/video=0x0 (nothing), combined - 0x4 (ulaw)
Non-codec capabilities (dtmf): us - 0x1 (telephone-event), peer - 0x1 (telephone-event), combined -
0x1 (telephone-event)
Peer audio RTP is at port XXX.XXX.XXX.XXX:7078
list_route: hop: <sip:XXX.XXX.XX.XXX;lr=on;ftag=as2dc35aa1>
list_route: hop: <sip:YYY.YYY.YY.YYY;lr=on;ftag=as2dc35aa1>
list_route: hop: <sip:YYY.YYY.YY.YZY;lr=on;ftag=as2dc35aa1>
set_destination: Parsing <sip:XXX.XXX.XX.XXX;lr=on;ftag=as2dc35aa1> for address/port to send to
set_destination: set destination to XXX.XXX.XX.XXX, port 5060
Transmitting (NAT) to XXX.XXX.XX.XXX:5060:
ACK sip:[email protected];uniq=EAC1FD488D47CFCEA385C7DA16C0C SIP/2.0
Via: SIP/2.0/UDP XXX.XXX.XX.XXX:5070;branch=z9hG4bK64dfb528;rport
Route: <sip:XXX.XXX.XX.XXX;lr=on;ftag=as2dc35aa1>,<sip:YYY.YYY.YY.YYY;lr=on;ftag=as2dc35aa1>,<sip:zz
z.zzz.zz.zzz;lr=on;ftag=as2dc35aa1>
From: <sip:[email protected]>;tag=as2dc35aa1
To: "anonymous" <sip:[email protected]>;tag=8AC865BE16D334AD
Contact: <sip:[email protected]:5070>
Call-ID: [email protected]
CSeq: 102 ACK
User-Agent: Asterisk PBX
Max-Forwards: 70
Content-Length: 0
Code:
# more sip.conf
[general]
context=default ; Default context for incoming calls
; port 5060 already used by fritzbox, so use 5061
; and reconfigure local sip phones (remote sip goes through asterisk!)
; ^^^^^
; XLITE in same subnet example config (fritzbox 192.168.222.100)
; - System Settings / SIP Proxy / Default
; - Enabled: Yes
; - Display Name=Username=Auth. User=: 771
; - Password: 771
; - Domain/Realm: 192.168.222.100
; - SIP Proxy: 192.168.222.100:5061
; ^^^^
; - Outbound Proxy: (empty)
; - Use Outbound Proxy: Never
; - Send Internal IP: Always
; ^^^^^^
; - Register: Default
; - Advanced System Settings / Audio / Silence Settings
; - Transmit Silence: Yes
port=5070
bindport=5070 ; UDP Port to bind to (SIP standard port is 5060)
bindaddr=0.0.0.0 ; IP address to bind to (0.0.0.0 binds to all)
srvlookup=yes ; Enable DNS SRV lookups on outbound calls
language=de
externhost=xxxxx.dyndns.org
externrefresh = 10
nat=yes
;canreinvite=no
localnet=192.168.178.0/255.255.255.0
;W1
register => 4911:[email protected]/4911
;J1
register => 2222222:[email protected]/2222222
;S1
register => 000387888888:[email protected]/000387888888
register => S1.B1:[email protected]/carpo2
register => 492222222222:[email protected]/492222222222
;K1
;register => 494444444:[email protected]/494444444
register => K1B1:[email protected]/carpo3
;J1
;register => 496666666666:[email protected]/496666666666
register => J1.B1:[email protected]/carpo4
;M1
;register => 495555555:[email protected]/495555555
;J2
;register => 491212121212:[email protected]/237777
;D1
register => D1:[email protected]/carpo5
[771]
context=sip771
callerid="W1 771" <771>
host=dynamic
domain=192.168.178.1
;nat=yes
qualify=no ; X-Lite is behind a NAT router
type=friend
user=771
secret=771
;mailbox=771
;canreinvite=no ; Typically set to NO if behind NAT
;regexten=1234 ; When they register, create extension 1234
;username=xlite1
disallow=all
;allow=g726
;allow=g729
allow=gsm ; GSM consumes far less bandwidth than ulaw
allow=ulaw
allow=alaw
[977777]
context=Sip977777
callerid="W1 977777" <977777>
host=dynamic
domain=192.168.178.1
;nat=yes
qualify=no ; X-Lite is behind a NAT router
type=friend
user=977777
secret=977777
;mailbox=977777
;canreinvite=no ; Typically set to NO if behind NAT
;regexten=1234 ; When they register, create extension 1234
;username=xlite1
disallow=all
;allow=g726
;allow=g729
allow=gsm ; GSM consumes far less bandwidth than ulaw
allow=ulaw
allow=alaw
[772]
context=sip772
callerid="W1 772" <772>
host=dynamic
domain=192.168.178.1
;nat=yes ; X-Lite is behind a NAT router
type=friend
user=772
secret=772
;mailbox=772
;canreinvite=no ; Typically set to NO if behind NAT
;regexten=1234 ; When they register, create extension 1234
;username=xlite1
disallow=all
allow=gsm ; GSM consumes far less bandwidth than ulaw
allow=ulaw
allow=alaw
[773]
context=sip773
callerid="J1 773" <773>
host=dynamic
domain=192.168.178.2
;nat=yes ; X-Lite is behind a NAT router
type=friend
user=773
secret=773
;mailbox=773
;canreinvite=no ; Typically set to NO if behind NAT
;regexten=1234 ; When they register, create extension 1234
;username=xlite1
disallow=all
allow=gsm ; GSM consumes far less bandwidth than ulaw
allow=ulaw
allow=alaw
[237999]
context=sip237999
callerid="J1 237999" <237999>
host=dynamic
domain=192.168.178.2
;nat=yes ; X-Lite is behind a NAT router
type=friend
user=237999
secret=237999
;mailbox=237999
;canreinvite=no ; Typically set to NO if behind NAT
;regexten=1234 ; When they register, create extension 1234
;username=xlite1
disallow=all
allow=gsm ; GSM consumes far less bandwidth than ulaw
allow=ulaw
allow=alaw
[774]
context=sip774
callerid="K1 774" <774>
host=dynamic
domain=192.168.178.2
;nat=yes ; X-Lite is behind a NAT router
type=friend
user=774
secret=774
;mailbox=774
;canreinvite=no ; Typically set to NO if behind NAT
;regexten=1234 ; When they register, create extension 1234
;username=xlite1
disallow=all
allow=gsm ; GSM consumes far less bandwidth than ulaw
allow=ulaw
allow=alaw
[775]
context=sip775
callerid="S1 775" <775>
host=dynamic
domain=192.168.178.11
;nat=yes ; X-Lite is behind a NAT router
type=friend
user=775
secret=775
;mailbox=775
;canreinvite=no ; Typically set to NO if behind NAT
;regexten=1234 ; When they register, create extension 1234
;username=xlite1
disallow=all
allow=gsm ; GSM consumes far less bandwidth than ulaw
allow=ulaw
allow=alaw
[975999]
context=sip975999
callerid="S1 975999" <975999>
host=dynamic
domain=192.168.178.11
;nat=yes ; X-Lite is behind a NAT router
type=friend
user=975999
secret=975999
;mailbox=975999
;canreinvite=no ; Typically set to NO if behind NAT
;regexten=1234 ; When they register, create extension 1234
;username=xlite1
disallow=all
allow=gsm ; GSM consumes far less bandwidth than ulaw
allow=ulaw
allow=alaw
[776]
context=sip776
callerid="S1 776" <776>
host=dynamic
domain=192.168.178.11
;nat=yes ; X-Lite is behind a NAT router
type=friend
user=776
secret=776
;mailbox=776
;canreinvite=no ; Typically set to NO if behind NAT
;regexten=1234 ; When they register, create extension 1234
;username=xlite1
disallow=all
allow=gsm ; GSM consumes far less bandwidth than ulaw
allow=ulaw
allow=alaw
[777]
context=sip777
callerid="M1 777" <777>
host=dynamic
domain=192.168.178.9
;nat=yes ; X-Lite is behind a NAT router
type=friend
user=777
secret=777
;mailbox=777
;canreinvite=no ; Typically set to NO if behind NAT
;regexten=1234 ; When they register, create extension 1234
;username=xlite1
disallow=all
allow=gsm ; GSM consumes far less bandwidth than ulaw
allow=ulaw
allow=alaw
[778]
context=sip778
callerid="M1 778" <778>
host=dynamic
domain=192.168.178.9
;nat=yes ; X-Lite is behind a NAT router
type=friend
user=778
secret=778
;mailbox=778
;canreinvite=no ; Typically set to NO if behind NAT
;regexten=1234 ; When they register, create extension 1234
;username=xlite1
disallow=all
;allow=g726
allow=gsm ; GSM consumes far less bandwidth than ulaw
allow=ulaw
allow=alaw
[789]
context=sip789
callerid="M1 789" <789>
host=dynamic
domain=192.168.178.9
;nat=yes ; X-Lite is behind a NAT router
type=friend
user=789
secret=789
;mailbox=789
;canreinvite=no ; Typically set to NO if behind NAT
;regexten=1234 ; When they register, create extension 1234
;username=xlite1
disallow=all
;allow=g726
allow=gsm ; GSM consumes far less bandwidth than ulaw
allow=ulaw
allow=alaw
[589]
context=sip589
callerid="K1 589" <589>
host=dynamic
domain=192.168.178.2
;nat=yes ; X-Lite is behind a NAT router
type=friend
user=589
secret=589
;mailbox=589
;canreinvite=no ; Typically set to NO if behind NAT
;regexten=1234 ; When they register, create extension 1234
;username=xlite1
disallow=all
;allow=g726
allow=gsm ; GSM consumes far less bandwidth than ulaw
allow=ulaw
allow=alaw
[237777]
context=sip237777
callerid="J2 237777" <237777>
host=dynamic
domain=192.168.178.221
;nat=yes
type=friend
user=237777
secret=237777
;mailbox=237777
;canreinvite=no
[237395]
context=sip237777
callerid="D1 237395" <237395>
host=dynamic
domain=192.168.178.14
;nat=yes
type=friend
user=237395
secret=237395
;mailbox=237395
;canreinvite=no
; sip external outgoing GMX W1
[sip1_out]
type=peer
username=4911
fromuser=4911
secret=sicher
host=sip-gmx.net
fromdomain=sip-gmx.net
insecure=port,invite
caninvite=no
canreinvite=no
nat=yes
disallow=all
;allow=g726
;allow=g729
allow=gsm
allow=alaw
allow=ulaw
; sip external outgoing Sipgate
[sip2_out]
type=peer
username=2222222
fromuser=2222222
secret=sicher
host=sipgate.de
fromdomain=sipgate.de
insecure=very
caninvite=no
canreinvite=no
nat=yes
disallow=all
allow=gsm
allow=alaw
allow=ulaw
; sip external outgoing DUSNet S1
[sip5_out]
type=peer
username=000387888888
fromuser=000387888888
secret=sicher
host=voip.dus.net
fromdomain=voip.dus.net
insecure=very
caninvite=no
canreinvite=no
nat=yes
disallow=all
allow=gsm
allow=alaw
allow=ulaw
; sip external outgoing GMX S1
[sip6_out]
type=peer
username=492222222222
fromuser=492222222222
secret=sicher
host=sip-gmx.net
fromdomain=sip-gmx.net
insecure=very
caninvite=no
canreinvite=no
nat=yes
disallow=all
allow=gsm
allow=alaw
allow=ulaw
; sip external outgoing CARPO S1
[sip7_out]
type=peer
username=S1.B1
fromuser=S1.B1
secret=sicher3
host=sip.carpo.de
fromdomain=sip.carpo.de
insecure=very
caninvite=no
canreinvite=no
nat=yes
disallow=all
;allow=gsm
allow=alaw
allow=ulaw
; sip external outgoing GMX M1
[sip8_out]
type=peer
username=495555555
fromuser=495555555
secret=sicher
host=sip-gmx.net
fromdomain=sip-gmx.net
insecure=very
caninvite=no
canreinvite=no
nat=yes
disallow=all
allow=gsm
allow=alaw
allow=ulaw
; sip external outgoing GMX K1
[sip9_out]
type=peer
username=494444444
fromuser=494444444
secret=sicher
host=sip-gmx.net
fromdomain=sip-gmx.net
insecure=very
caninvite=no
canreinvite=no
nat=yes
disallow=all
allow=gsm
allow=alaw
allow=ulaw
; sip external outgoing GMX J1
[sip10_out]
type=peer
username=496666666666
fromuser=496666666666
secret=sicher
host=sip-gmx.net
fromdomain=sip-gmx.net
insecure=very
caninvite=no
canreinvite=no
nat=yes
disallow=all
allow=gsm
allow=alaw
allow=ulaw
;sip external outgoing Carpo J1
[sip11_out]
type=peer
username=J1.B1
fromuser=J1.B1
secret=sicher
host=sip.carpo.de
fromdomain=sip.carpo.de
insecure=very
caninvite=no
canreinvite=no
nat=yes
disallow=all
;allow=gsm
allow=alaw
allow=ulaw
; sip external outgoing Carpo K1
[sip12_out]
type=peer
username=K1B1
fromuser=K1B1
secret=sicher
host=sip.carpo.de
fromdomain=sip.carpo.de
insecure=very
caninvite=no
canreinvite=no
nat=yes
disallow=all
;allow=gsm
allow=alaw
allow=ulaw
; sip external outgoing 1und1 J2
[sip13_out]
type=peer
username=491212121212
fromuser=491212121212
secret=sicher
host=sip.1und1.de
fromdomain=sip.1und1.de
insecure=very
canreinvite=no
nat=yes
disallow=all
allow=alaw
allow=ulaw
allow=g726
; sip external outgoing CARPO D1
[sip14_out]
type=peer
username=D1
fromuser=D1
secret=sicher
host=sip.carpo.de
fromdomain=sip.carpo.de
insecure=very
caninvite=no
canreinvite=no
nat=yes
disallow=all
;allow=gsm
allow=alaw
allow=ulaw
; sip external incoming Sipgate
[sip_sipgate_in]
type=peer
fromdomain=sipgate.de
host=sipgate.de
context=sip_sipgate_in
[dus.net_in_server1]
type=peer
fromdomain=talos.dus.net
host=talos.dus.net
insecure=very
disallow=all
allow=ulaw
allow=alaw
allow=g726
allow=gsm
context=sip_dus_in
[dus.net_in_server2]
type=peer
fromdomain=zelos.dus.net
host=zelos.dus.net
insecure=very
disallow=all
allow=ulaw
allow=alaw
allow=g726
allow=gsm
context=sip_dus_in
[dus.net_in_server3]
type=peer
from domain = helios.dus.net
host = helios.dus.net
insecure=very
allow=all
context=sip_dus_in
; sip external incoming DUSNet
[sip_dus_in]
type=peer
fromdomain=voip.dus.net
host=voip.dus.net
insecure=very
context=sip_dus_in
; sip external incoming CARPO alle
[sip_carpo_in]
type=peer
fromdomain=sip.carpo.de
host=sip.carpo.de
insecure=very
disallow=all
allow=ulaw
context=sip_carpo_in
; sip external incoming GMX
[sip_gmx_in]
type=peer
fromdomain=sip-gmx.net
host=sip-gmx.net
insecure=very
disallow=all
allow=ulaw
context=sip_gmx_in
; sip external incoming 1und1
[sip_1und1_in]
type=peer
fromdomain=sip.1und1.de
host=sip.1und1.de
insecure=very
context=sip_1und1_in
Hat jemand 1und1 oder GMX auf einem Asterisk hinter einer Fritz am laufen?
Für einen Tipp herzlichen Dank
MFG
Harald007