HAllo,
ich betreibe einen Asterisk, welcher mit einer HFC Karte im NT Modus ausgestattet und vor einer Siemens Hikom geschaltet ist.
SIP-Povider------Asterisk------Siemens Hikom-----Systemtelefon
Ich habe das Problem daß Gespräche über SIP in regelmäßigen Abständen abgebrochen werden.
Anbei mal ein Mitschnitt von Gesprächsaufbau und Abbruch
mit "sip debug" (Gesprächsabruch habe ich fett markiert):
Ein problem beim Provider möchte ich fast auschließen, da ich das selbe Problem auch bei einem anderen Asterisk mit Strato als Provider habe.
Vieleicht eine Konfigurationseinstellung am Asterisk?
Welche anderen DEBUG Möglichkeiten sollte ich am Asterisk nutzen um das Problem zu lösen.
Asterisk befindet sich hinter einem NAT Gateway als ISDN teriber verwende ich misdn.
Anbei noch meine sip.conf:
misdn.conf:
misdn-init.conf
Ich bin für jeden Ratschlag zur Fehlersuche dankbar.
Viele Grüße
Sven
ich betreibe einen Asterisk, welcher mit einer HFC Karte im NT Modus ausgestattet und vor einer Siemens Hikom geschaltet ist.
SIP-Povider------Asterisk------Siemens Hikom-----Systemtelefon
Ich habe das Problem daß Gespräche über SIP in regelmäßigen Abständen abgebrochen werden.
Anbei mal ein Mitschnitt von Gesprächsaufbau und Abbruch
mit "sip debug" (Gesprächsabruch habe ich fett markiert):
Code:
Not Overwriting extension:0346367xxxx with new Number: 0346367xxxx
Not Sending any control to Channel 0346367xxxxstate is 5
-- Executing Macro("mISDN/1-1", "extern|032225253xxx|0346367xxxx|t-online-out|03445") in new stack
-- Executing Set("mISDN/1-1", "MYCALLERID=032225253xxx") in new stack
-- Executing Set("mISDN/1-1", "RUFNUMMER=0346367xxxx") in new stack
-- Executing Set("mISDN/1-1", "KONTEXT=t-online-out") in new stack
-- Executing Set("mISDN/1-1", "ORTSVORWAHL=03445") in new stack
-- Executing Set("mISDN/1-1", "LANGUAGE()=de") in new stack
-- Executing Set("mISDN/1-1", "CALLERID(name)=032225253xxx") in new stack
-- Executing GotoIf("mISDN/1-1", "0?9") in new stack
-- Executing GotoIf("mISDN/1-1", "1?10:11") in new stack
-- Goto (macro-extern,s,10)
-- Executing Dial("mISDN/1-1", "SIP/03463674xxx@t-online-out|60|tT") in new stack
We're at 84.183.41.68 port 14008
Adding codec 0x8 (alaw) to SDP
Adding codec 0x4 (ulaw) to SDP
Adding codec 0x2 (gsm) to SDP
Adding codec 0x400 (ilbc) to SDP
13 headers, 11 lines
Reliably Transmitting (no NAT) to 217.0.132.118:5060:
INVITE sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 84.183.41.68:5060;branch=z9hG4bK1dd9ac3c;rport
From: "032225253xxx" <sip:[email protected]>;tag=as7ef734c9
To: <sip:[email protected]>
Contact: <sip:[email protected]>
Call-ID: [EMAIL="[email protected]"][email protected][/EMAIL]
CSeq: 102 INVITE
User-Agent: Asterisk PBX
Max-Forwards: 70
Date: Mon, 31 Jul 2006 10:54:58 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Content-Type: application/sdp
Content-Length: 231
v=0
o=root 1370 1370 IN IP4 84.183.41.68
s=session
c=IN IP4 84.183.41.68
t=0 0
m=audio 14008 RTP/AVP 8 0 3 97
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:3 GSM/8000
a=rtpmap:97 iLBC/8000
a=silenceSupp:off - - - -
---
-- Called 0346367xxxx@t-online-out
<-- SIP read from 217.0.132.118:5060:
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 84.183.41.68:5060;rport=5060;received=84.183.41.68;branch=z9hG4bK1dd9ac3c
To: <sip:[email protected]>;tag=9809b4b4
From: "032225253xxx" <sip:[email protected]>;tag=as7ef734c9
Call-ID: [EMAIL="[email protected]"][email protected][/EMAIL]
CSeq: 102 INVITE
WWW-Authenticate: Digest algorithm=MD5, nonce="92518b41d69c6bfb9a34e4b74a9d68829b0634344c5e5882633f846e25b00dc5", opaque="92518b41d69c6bfb9a34e4b74a9d68829b0634344c5e5882633f846e25b00dc5", realm="tel.t-online.de"
Content-Length: 0
--- (8 headers 0 lines)---
Transmitting (no NAT) to 217.0.132.118:5060:
ACK sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 84.183.41.68:5060;branch=z9hG4bK1dd9ac3c;rport
From: "032225253xxx" <sip:[email protected]>;tag=as7ef734c9
To: <sip:[email protected]>;tag=9809b4b4
Contact: <sip:[email protected]>
Call-ID: [EMAIL="[email protected]"][email protected][/EMAIL]
CSeq: 102 ACK
User-Agent: Asterisk PBX
Max-Forwards: 70
Content-Length: 0
---
We're at 84.183.41.68 port 14008
Adding codec 0x8 (alaw) to SDP
Adding codec 0x4 (ulaw) to SDP
Adding codec 0x2 (gsm) to SDP
Adding codec 0x400 (ilbc) to SDP
Reliably Transmitting (no NAT) to 217.0.132.118:5060:
INVITE sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 84.183.41.68:5060;branch=z9hG4bK57bee3aa;rport
From: "032225253xxx" <sip:[email protected]>;tag=as7ef734c9
To: <sip:[email protected]>
Contact: <sip:[email protected]>
Call-ID: [EMAIL="[email protected]"][email protected][/EMAIL]
CSeq: 103 INVITE
User-Agent: Asterisk PBX
Max-Forwards: 70
Authorization: Digest username="xxx", realm="tel.t-online.de", algorithm=MD5, uri="sip:[email protected]", nonce="92518b41d69c6bfb9a34e4b74a9d68829b0634344c5e5882633f846e25b00dc5", response="d4972c139262c73f2db7229f6e1941f1", opaque="92518b41d69c6bfb9a34e4b74a9d68829b0634344c5e5882633f846e25b00dc5"
Date: Mon, 31 Jul 2006 10:54:58 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Content-Type: application/sdp
Content-Length: 231
v=0
o=root 1370 1371 IN IP4 84.183.41.68
s=session
c=IN IP4 84.183.41.68
t=0 0
m=audio 14008 RTP/AVP 8 0 3 97
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:3 GSM/8000
a=rtpmap:97 iLBC/8000
a=silenceSupp:off - - - -
---
<-- SIP read from 217.0.132.118:5060:
SIP/2.0 100 Rufaufbau
Via: SIP/2.0/UDP 84.183.41.68:5060;rport=5060;received=84.183.41.68;branch=z9hG4bK57bee3aa
To: <sip:[email protected]>
From: "032225253xxx" <sip:[email protected]>;tag=as7ef734c9
Call-ID: [EMAIL="[email protected]"][email protected][/EMAIL]
CSeq: 103 INVITE
Content-Length: 0
--- (7 headers 0 lines)---
<-- SIP read from 217.0.132.118:5060:
SIP/2.0 183 Verbindung wird aufgebaut
Via: SIP/2.0/UDP 84.183.41.68:5060;rport=5060;received=84.183.41.68;branch=z9hG4bK57bee3aa
To: <sip:[email protected]>;tag=260baa42
From: "032225253xxx" <sip:[email protected]>;tag=as7ef734c9
Call-ID: [EMAIL="[email protected]"][email protected][/EMAIL]
Contact: <sip:[email protected]:5060>
CSeq: 103 INVITE
Allow: ACK, BYE, CANCEL, INVITE, OPTIONS
Content-Type: application/sdp
Content-Disposition: session
Content-Length: 190
v=0
o=- 4659051 4659051 IN IP4 217.0.132.94
s=-
c=IN IP4 217.0.132.94
t=0 0
m=audio 10380 RTP/AVP 8 98
b=AS:64
a=rtpmap:8 PCMA/8000
a=rtpmap:98 telephone-event/8000
a=fmtp:98 0-15
--- (11 headers 10 lines)---
Found RTP audio format 8
Found RTP audio format 98
Peer audio RTP is at port 217.0.132.94:10380
Found description format PCMA
Found description format telephone-event
Capabilities: us - 0x40e (gsm|ulaw|alaw|ilbc), peer - audio=0x8 (alaw)/video=0x0 (nothing), combined - 0x8 (alaw)
Non-codec capabilities: us - 0x1 (telephone-event), peer - 0x1 (telephone-event), combined - 0x1 (telephone-event)
-- SIP/t-online-out-a7d2 is making progress passing it to mISDN/1-1
<-- SIP read from 217.0.132.118:5060:
SIP/2.0 180 Klingeln
Via: SIP/2.0/UDP 84.183.41.68:5060;rport=5060;received=84.183.41.68;branch=z9hG4bK57bee3aa
To: <sip:[email protected]>;tag=260baa42
From: "032225253xxx" <sip:[email protected]>;tag=as7ef734c9
Call-ID: [EMAIL="[email protected]"][email protected][/EMAIL]
Contact: <sip:[email protected]:5060>
CSeq: 103 INVITE
Allow: ACK, BYE, CANCEL, INVITE, OPTIONS
Content-Type: application/sdp
Content-Disposition: session
Content-Length: 190
v=0
o=- 4659051 4659051 IN IP4 217.0.132.94
s=-
c=IN IP4 217.0.132.94
t=0 0
m=audio 10380 RTP/AVP 8 98
b=AS:64
a=rtpmap:8 PCMA/8000
a=rtpmap:98 telephone-event/8000
a=fmtp:98 0-15
--- (11 headers 10 lines)---
Found RTP audio format 8
Found RTP audio format 98
Peer audio RTP is at port 217.0.132.94:10380
Found description format PCMA
Found description format telephone-event
Capabilities: us - 0x40e (gsm|ulaw|alaw|ilbc), peer - audio=0x8 (alaw)/video=0x0 (nothing), combined - 0x8 (alaw)
Non-codec capabilities: us - 0x1 (telephone-event), peer - 0x1 (telephone-event), combined - 0x1 (telephone-event)
-- SIP/t-online-out-a7d2 is ringing
-- SIP/t-online-out-a7d2 is making progress passing it to mISDN/1-1
12 headers, 0 lines
Reliably Transmitting (no NAT) to 217.0.132.118:5060:
OPTIONS sip:tel.t-online.de SIP/2.0
Via: SIP/2.0/UDP 84.183.41.68:5060;branch=z9hG4bK5aa632ba;rport
From: "asterisk" <sip:[email protected]>;tag=as5a3b1ed0
To: <sip:tel.t-online.de>
Contact: <sip:[email protected]>
Call-ID: [EMAIL="[email protected]"][email protected][/EMAIL]
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX
Max-Forwards: 70
Date: Mon, 31 Jul 2006 10:55:02 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Content-Length: 0
---
<-- SIP read from 217.0.132.118:5060:
SIP/2.0 200 OK
Via: SIP/2.0/UDP 84.183.41.68:5060;rport=5060;received=84.183.41.68;branch=z9hG4bK5aa632ba
To: <sip:tel.t-online.de>;tag=f2427200
From: "asterisk" <sip:[email protected]>;tag=as5a3b1ed0
Call-ID: [EMAIL="[email protected]"][email protected][/EMAIL]
Supported: 100rel
CSeq: 102 OPTIONS
Accept: application/sdp
Accept-Encoding: identity
Accept-Language: en
Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, PRACK, REFER, REGISTER, UPDATE
Content-Length: 0
Reliably Transmitting (no NAT) to 217.0.132.118:5060:
[B]CANCEL sip:[email protected] SIP/2.0[/B]
Via: SIP/2.0/UDP 84.183.41.68:5060;branch=z9hG4bK57bee3aa;rport
From: "032225253xxx" <sip:[email protected]>;tag=as7ef734c9
To: <sip:[email protected]>
Contact: <sip:[email protected]>
Call-ID: [EMAIL="[email protected]"][email protected][/EMAIL]
CSeq: 103 CANCEL
User-Agent: Asterisk PBX
Max-Forwards: 70
Authorization: Digest username="xxxxx", realm="tel.t-online.de", algorithm=MD5, uri="sip:[email protected]", nonce="92518b41d69c6bfb9a34e4b74a9d68829b0634344c5e5882633f846e25b00dc5", response="efda27708bf3428a693bcf8c96438843", opaque="92518b41d69c6bfb9a34e4b74a9d68829b0634344c5e5882633f846e25b00dc5"
Content-Length: 0
---
Scheduling destruction of call '[email protected]' in 32000 ms
== Spawn extension (macro-extern, s, 10) exited non-zero on 'mISDN/1-1' in macro 'extern'
== Spawn extension (macro-extern, s, 10) exited non-zero on 'mISDN/1-1'
<-- SIP read from 217.0.132.118:5060:
SIP/2.0 200 OK
Via: SIP/2.0/UDP 84.183.41.68:5060;rport=5060;received=84.183.41.68;branch=z9hG4bK57bee3aa
To: <sip:[email protected]>
From: "032225253xxx" <sip:[email protected]>;tag=as7ef734c9
Call-ID: [EMAIL="[email protected]"][email protected][/EMAIL]
CSeq: 103 CANCEL
Content-Length: 0
--- (7 headers 0 lines)---
<-- SIP read from 217.0.132.118:5060:
[B]SIP/2.0 487 Request Terminated[/B]
Via: SIP/2.0/UDP 84.183.41.68:5060;rport=5060;received=84.183.41.68;branch=z9hG4bK57bee3aa
To: <sip:[email protected]>;tag=91b3b3c7
From: "032225253xxx" <sip:[email protected]>;tag=as7ef734c9
Call-ID: [EMAIL="[email protected]"][email protected][/EMAIL]
CSeq: 103 INVITE
Content-Length: 0
--- (7 headers 0 lines)---
Transmitting (no NAT) to 217.0.132.118:5060:
ACK sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 84.183.41.68:5060;branch=z9hG4bK57bee3aa;rport
From: "032225253xxx" <sip:[email protected]>;tag=as7ef734c9
To: <sip:[email protected]>;tag=91b3b3c7
Contact: <sip:[email protected]>
Call-ID: [EMAIL="[email protected]"][email protected][/EMAIL]
CSeq: 103 ACK
User-Agent: Asterisk PBX
Max-Forwards: 70
Content-Length: 0
---
Destroying call '[email protected]'
Ein problem beim Provider möchte ich fast auschließen, da ich das selbe Problem auch bei einem anderen Asterisk mit Strato als Provider habe.
Vieleicht eine Konfigurationseinstellung am Asterisk?
Welche anderen DEBUG Möglichkeiten sollte ich am Asterisk nutzen um das Problem zu lösen.
Asterisk befindet sich hinter einem NAT Gateway als ISDN teriber verwende ich misdn.
Anbei noch meine sip.conf:
Code:
[general]
language=de
port=5060
qualify=no
disallow=all
allow=ulaw
allow=alaw
allow=gsm
allow=ilbc
srvlookup=no
canreinvite=no
maxexpirey=240
defaultexpirey=240
sipdebug = yes
context=incoming
register => 03222525xxx:xxx:[email protected]/03222525xxx
[t-online-out]
type=peer
username=xxx
fromuser=xxx
secret=xxx
fromdomain=tel.t-online.de
host=tel.t-online.de
canreinvite=no
dtmfmode=info
nat=no
qualify=yes
misdn.conf:
Code:
[general]
debug=0
bridging=no
stop_tone_after_first_digit=yes
append_digits2exten=yes
tracefile=/var/log/asterisk/misdn.log
[default]
language=de
nationalprefix=0
internationalprefix=049
rxgain=0
txgain=0
te_choose_channel=no
dialplan=0
immediate=no
always_immediate=no
echocancelwhenbridged=no
echotraining=yes
[ISDN-NT]
ports=1
context=isdn_in
misdn-init.conf
Code:
card=1,hfcpci
nt_ptmp=1
poll=128
dsp_options=0
debug=0
Ich bin für jeden Ratschlag zur Fehlersuche dankbar.
Viele Grüße
Sven