FritzBox 7270 SIP Clients an Asterisk 1.6 - Interne Calls nicht möglich

bt047265

Neuer User
Mitglied seit
23 Nov 2007
Beiträge
19
Punkte für Reaktionen
0
Punkte
0
Hallo,

auf meiner Fritzbox sind zwei SIP-Accounts eingerichtet. Die Accounts sind auf einem Asterisk Server registriert der sich im gleichen Netzsegment befindet.

Fritzbox: 192.168.178.10
Asterisk: 192.168.178.55

Account 1: 7001 Fritzbox
Account 2: 7002 Fritzbox
Account 3: 7003 SoftClient

Die Nebenstelle 7001, kann den Softclient mit der Nummer 7003 anrufen. Versucht man dagegen ein Gespräch zwischen 7001 und 7002 so kommt keine Verbindung zustande. Beim Abheben der Nebenstelle bricht die FB mit 500 Internal Server Error ab.

Jedem SIP Account ist dabei ein eigenes DECT Telefon auf der FB zugewiesen. Verwendet wird die Firmware 54.04.76 auf der FB.

Kennt jemand das Problem ?

Im Anhang der Ethereal Trace:

Code:
<--- SIP read from UDP://192.168.178.10:5060 --->
INVITE sip:[email protected] SIP/2.0

Via: SIP/2.0/UDP 192.168.178.10:5060;rport;branch=z9hG4bKCBEEC4857D0A68F5

Route: <sip:192.168.178.55;lr>

From: <sip:[email protected]>;tag=73698A6D19D9F3C8

To: <sip:[email protected]>

Call-ID: [email protected]

CSeq: 367 INVITE

Contact: <sip:[email protected];uniq=48583002C83601D4308A7545C60B3>

Max-Forwards: 70

Expires: 120

User-Agent: AVM FRITZ!Box Fon WLAN 7270 54.04.76 (Jun 23 2009)


asterisk*CLI> 
Supported: 100rel,replaces

Allow-Events: telephone-event,refer

Allow: INVITE,ACK,OPTIONS,CANCEL,BYE,UPDATE,PRACK,INFO,SUBSCRIBE,NOTIFY,REFER,MESSAGE,PUBLISH

Content-Type: application/sdp

Accept: application/sdp, multipart/mixed

Accept-Encoding: identity

Content-Length:   200



v=0

o=user 12955461 12955461 IN IP4 192.168.178.10

s=call

c=IN IP4 192.168.178.10

t=0 0

m=audio 7082 RTP/AVP 8 0 101

a=sendrecv

a=rtpmap:101 telephone-event/8000

a=fmtp:101 0-11

a=rtcp:7083


<------------->

asterisk*CLI> 
--- (18 headers 10 lines) ---

asterisk*CLI> 
  == Using SIP RTP CoS mark 5

asterisk*CLI> 
Sending to 192.168.178.10 : 5060 (no NAT)

asterisk*CLI> 
Using INVITE request as basis request - [email protected]

asterisk*CLI> 
Found peer '7001' for '7001' from 192.168.178.10:5060

asterisk*CLI> 

<--- Reliably Transmitting (no NAT) to 192.168.178.10:5060 --->
SIP/2.0 401 Unauthorized

Via: SIP/2.0/UDP 192.168.178.10:5060;branch=z9hG4bKCBEEC4857D0A68F5;received=192.168.178.10;rport=5060

From: <sip:[email protected]>;tag=73698A6D19D9F3C8

To: <sip:[email protected]>;tag=as5a7b47f2

Call-ID: [email protected]

CSeq: 367 INVITE

Server: Asterisk PBX 1.6.1.6

Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO

Supported: replaces, timer

WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="34bb01fa"

Content-Length: 0




<------------>

asterisk*CLI> 
Scheduling destruction of SIP dialog '[email protected]' in 32000 ms (Method: INVITE)

asterisk*CLI> 

<--- SIP read from UDP://192.168.178.10:5060 --->
ACK sip:[email protected] SIP/2.0

Via: SIP/2.0/UDP 192.168.178.10:5060;rport;branch=z9hG4bKCBEEC4857D0A68F5

Route: <sip:192.168.178.55;lr>

From: <sip:[email protected]>;tag=73698A6D19D9F3C8

To: <sip:[email protected]>;tag=as5a7b47f2

Call-ID: [email protected]

CSeq: 367 ACK

User-Agent: AVM FRITZ!Box Fon WLAN 7270 54.04.76 (Jun 23 2009)

Content-Length: 0




<------------->

asterisk*CLI> 
--- (9 headers 0 lines) ---

asterisk*CLI> 

<--- SIP read from UDP://192.168.178.10:5060 --->
INVITE sip:[email protected] SIP/2.0

Via: SIP/2.0/UDP 192.168.178.10:5060;rport;branch=z9hG4bKE76CB0163DFD7BF4

Route: <sip:192.168.178.55;lr>

From: <sip:[email protected]>;tag=73698A6D19D9F3C8

To: <sip:[email protected]>

Call-ID: [email protected]

CSeq: 368 INVITE

Contact: <sip:[email protected];uniq=48583002C83601D4308A7545C60B3>

Authorization: Digest username="7001", realm="asterisk", nonce="34bb01fa", uri="sip:[email protected]", response="a78c6bdf98b48d63d57882d6c22c9dd0", algorithm=MD5

Max-Forwards: 70

Expires: 120

User-Agent: AVM FRITZ!Box Fon WLAN 7270 54.04.76 (Jun 23 2009)

Supported: 100rel,replaces

Allow-Events: telephone-event,refer

Allow: INVITE,ACK,OPTIONS,CANCEL,BYE,UPDATE,PRACK,INFO,SUBSCRIBE,NOTIFY,REFER,MESSAGE,PUBLISH

Content-Type: application/sdp

Accept: application/sdp, multipart/mixed

Accept-Encoding: identity

Content-Length:   200



v=0

o=user 12955461 12955461 IN IP4 192.168.178.10

s=call

c=IN IP4 192.168.178.10

t=0 0

m=audio 7082 RTP/AVP 8 0 101

a=sendrecv

a=rtpmap:101 telephone-event/8000

a=fmtp:101 0-11

a=rtcp:7083


<------------->

asterisk*CLI> 
--- (19 headers 10 lines) ---

asterisk*CLI> 
Sending to 192.168.178.10 : 5060 (no NAT)

asterisk*CLI> 
Using INVITE request as basis request - [email protected]

asterisk*CLI> 
Found peer '7001' for '7001' from 192.168.178.10:5060

asterisk*CLI> 
Found RTP audio format 8

asterisk*CLI> 
Found RTP audio format 0

asterisk*CLI> 
Found RTP audio format 101

asterisk*CLI> 
Peer audio RTP is at port 192.168.178.10:7082

asterisk*CLI> 
Found audio description format telephone-event for ID 101

asterisk*CLI> 
Capabilities: us - 0x10e (gsm|ulaw|alaw|g729), peer - audio=0xc (ulaw|alaw)/video=0x0 (nothing)/text=0x0 (nothing), combined - 0xc (ulaw|alaw)

asterisk*CLI> 
Non-codec capabilities (dtmf): us - 0x0 (nothing), peer - 0x1 (telephone-event), combined - 0x0 (nothing)

asterisk*CLI> 
Peer audio RTP is at port 192.168.178.10:7082

asterisk*CLI> 
Looking for 7002 in phones (domain 192.168.178.55)

asterisk*CLI> 
list_route: hop: <sip:[email protected];uniq=48583002C83601D4308A7545C60B3>

asterisk*CLI> 

<--- Transmitting (no NAT) to 192.168.178.10:5060 --->
SIP/2.0 100 Trying

Via: SIP/2.0/UDP 192.168.178.10:5060;branch=z9hG4bKE76CB0163DFD7BF4;received=192.168.178.10;rport=5060

From: <sip:[email protected]>;tag=73698A6D19D9F3C8

To: <sip:[email protected]>

Call-ID: [email protected]

CSeq: 368 INVITE

Server: Asterisk PBX 1.6.1.6

Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO

Supported: replaces, timer

Contact: <sip:[email protected]>

Content-Length: 0




<------------>

asterisk*CLI> 
    -- Executing [7002@phones:1] Verbose("SIP/7001-0a1cb0d8", "1|Extension 7002") in new stack

asterisk*CLI> 
[Sep 28 02:12:44] WARNING[12203]: pbx.c:956 pbx_exec: The application delimiter is now the comma, not the pipe.  Did you forget to convert your dialplan?  (Verbose(1|Extension 7002))

asterisk*CLI> 
1|Extension 7002

asterisk*CLI> 
    -- Executing [7002@phones:2] Dial("SIP/7001-0a1cb0d8", "SIP/7002,30") in new stack

asterisk*CLI> 
  == Using SIP RTP CoS mark 5

asterisk*CLI> 
Audio is at 192.168.178.55 port 16334

asterisk*CLI> 
Adding codec 0x4 (ulaw) to SDP

asterisk*CLI> 
Adding codec 0x8 (alaw) to SDP

asterisk*CLI> 
Adding codec 0x2 (gsm) to SDP

asterisk*CLI> 
Reliably Transmitting (no NAT) to 192.168.178.10:5060:
INVITE sip:[email protected];uniq=48583002C83601D4308A7545C60B3 SIP/2.0

Via: SIP/2.0/UDP 192.168.178.55:5060;branch=z9hG4bK497d8fe7;rport

Max-Forwards: 70

From: "7001" <sip:[email protected]>;tag=as19e38e24

To: <sip:[email protected];uniq=48583002C83601D4308A7545C60B3>

Contact: <sip:[email protected]>

Call-ID: [email protected]

CSeq: 102 INVITE

User-Agent: Asterisk PBX 1.6.1.6

Date: Mon, 28 Sep 2009 00:12:44 GMT

Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO

Supported: replaces, timer

Content-Type: application/sdp

Content-Length: 256



v=0

o=root 706152577 706152577 IN IP4 192.168.178.55

s=Asterisk PBX 1.6.1.6

c=IN IP4 192.168.178.55

t=0 0

m=audio 16334 RTP/AVP 0 8 3

a=rtpmap:0 PCMU/8000

a=rtpmap:8 PCMA/8000

a=rtpmap:3 GSM/8000

a=silenceSupp:off - - - -

a=ptime:20

a=sendrecv


---

asterisk*CLI> 
    -- Called 7002

asterisk*CLI> 

<--- SIP read from UDP://192.168.178.10:5060 --->
SIP/2.0 100 Trying

Via: SIP/2.0/UDP 192.168.178.55:5060;branch=z9hG4bK497d8fe7;rport=5060

From: "7001" <sip:[email protected]>;tag=as19e38e24

To: <sip:[email protected];uniq=48583002C83601D4308A7545C60B3>

Call-ID: [email protected]

CSeq: 102 INVITE

User-Agent: AVM FRITZ!Box Fon WLAN 7270 54.04.76 (Jun 23 2009)

Content-Length: 0




<------------->

asterisk*CLI> 
--- (8 headers 0 lines) ---

asterisk*CLI> 

<--- SIP read from UDP://192.168.178.10:5060 --->
SIP/2.0 180 Ringing

Via: SIP/2.0/UDP 192.168.178.55:5060;branch=z9hG4bK497d8fe7;rport=5060

From: "7001" <sip:[email protected]>;tag=as19e38e24

To: <sip:[email protected];uniq=48583002C83601D4308A7545C60B3>;tag=F4C7669140311BD3

Call-ID: [email protected]

CSeq: 102 INVITE

Contact: <sip:[email protected];uniq=48583002C83601D4308A7545C60B3>

User-Agent: AVM FRITZ!Box Fon WLAN 7270 54.04.76 (Jun 23 2009)

Content-Length: 0




<------------->

asterisk*CLI> 
--- (9 headers 0 lines) ---

asterisk*CLI> 
    -- SIP/7002-0a1e2290 is ringing

asterisk*CLI> 

<--- Transmitting (no NAT) to 192.168.178.10:5060 --->
SIP/2.0 180 Ringing

Via: SIP/2.0/UDP 192.168.178.10:5060;branch=z9hG4bKE76CB0163DFD7BF4;received=192.168.178.10;rport=5060

From: <sip:[email protected]>;tag=73698A6D19D9F3C8

To: <sip:[email protected]>;tag=as4ebfcf4f

Call-ID: [email protected]

CSeq: 368 INVITE

Server: Asterisk PBX 1.6.1.6

Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO

Supported: replaces, timer

Contact: <sip:[email protected]>

C
asterisk*CLI> 
ontent-Length: 0




<------------>

asterisk*CLI> 

<--- SIP read from UDP://192.168.178.10:5060 --->
SIP/2.0 500 Internal Server Error

Via: SIP/2.0/UDP 192.168.178.55:5060;branch=z9hG4bK497d8fe7;rport=5060

From: "7001" <sip:[email protected]>;tag=as19e38e24

To: <sip:[email protected];uniq=48583002C83601D4308A7545C60B3>;tag=F4C7669140311BD3

Call-ID: [email protected]

CSeq: 102 INVITE

Retry-After: 8

User-Agent: AVM FRITZ!Box Fon WLAN 7270 54.04.76 (Jun 23 2009)

Content-Length: 0
 
Problem gelöst

Hallo,

da die Fritzbox den Call abgelehnt hat, habe ich mir das nochmal näher angeschaut. Die Fritzbox war als Client im Netz eingebunden, die Geschwindigkeit von Upstream/Downstream war auf 128 KBit/s und 1024 KBit/s eingestellt. In der Voip-CFG war PCMA als Codec für beide Accounts eingetragen, die Datenrate von zwei mal G.711 hat die 128 KBit/s überschritten.

Ein Einstellen auf 99999 Kbit/s für Up-/Downstream löste das Problem. Interne Telefonate von FB-Account zu FB-Account gehen jetzt.
 
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.