VServer Asterisk verzögerung

Prophion

Neuer User
Mitglied seit
21 Apr 2008
Beiträge
20
Punkte für Reaktionen
0
Punkte
0
Hallo, das NAT Problem habe ich mitlerweile dank eurer Hilfe gelöst ;) Aber schon taucht das nächste Problem auf:
Immer wenn eine SIP-Verbindung aufgebaut wird und ich abnehme, dann werden die ersten 5 Sekunden des Gespräches verschluckt, der Anrufer hört noch das Freizeichen obwohl ich schon längt abgenommen habe.
Nach diesen 5 Sekunden wird das Gespräch zwar ganz normal aufgebaut und funktioniert auch ohne Verzögerung, allerdings ist das ziemlich nervig und in meinem Einsatzgebiet einfach nicht akzeptabel.
Ich hoffe ihr könnt mir helfen woran das liegt.
 
Zuletzt bearbeitet:
Also ich würde da systematisch die Punkte die in Frage kommen mal prüfen. Ich kann dir auf die schnelle jetzt auch nicht alles sagen, aber vielleicht vervollständigt ja jemand diese Liste:

Ping den anderen Teilnehmer mal an, sollte innerhalb D unter 100 ms sein
Aktiviere SIP debugging und stell das verbose Level auf maximal 10 und schau was die CLI ausspuckt
Mit TOS-Werten arbeiten könnte helfen wenns die Hardware mitmacht.

Ich hab übrigens einen vServer, hast ja im anderen Beitrag erwähnt der müsste auch reichen. Bei mir ists immer 1 bis maximal 2 Sekunden Verzögerung. Meistens so wenig dass es mich nicht stört, meiner hat 1 GHz und 512 MB RAM, also schon ganz ok. Hatte vorher 600 MHz und dazu gab es keinen Unterschied.
 
Also an niedrigen Pings der SIP Telefone kann es definitiv nicht liegen, hab gepingt und mich beim sip debugging test auch selbst angerufen (trotzdem verzögerung).

Hier ist ein Auszug des Logs vllt könnt ihr damit was anfangen, ich jedenfalls nicht ...
Code:
<------------->
--- (11 headers 0 lines) ---
h1387857*CLI>
<--- SIP read from 87.146.xxx.xxx:31077 --->
INVITE sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 192.168.2.45:31077;branch=z9hG4bK-d87543-3e6fc153f8782843-1--d87543-;rport
Max-Forwards: 70
Contact: <sip:[email protected]:31077>
To: "100"<sip:[email protected]>;tag=as235a8708
From: "100"<sip:[email protected]>;tag=30580a60
Call-ID: NmRjYmJlNDU5NDUxMzRiMzQ0Y2I5NWQ3MTUzMDRlMTA.
CSeq: 3 INVITE
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO
Content-Type: application/sdp
Proxy-Authorization: Digest username="100",realm="asterisk",nonce="3f7f4dcb",uri="sip:[email protected]",response="b054a60127cf656264450314a26fee5d",algorithm=MD5
User-Agent: X-Lite release 1011s stamp 41150
Content-Length: 180

v=0
o=- 9 3 IN IP4 192.168.2.45
s=CounterPath X-Lite 3.0
c=IN IP4 0.0.0.0
t=0 0
m=audio 54672 RTP/AVP 0 8 101
a=fmtp:101 0-15
a=rtpmap:101 telephone-event/8000
a=sendonly

<------------->
--- (13 headers 9 lines) ---
Sending to 87.146.xxx.xxx : 31077 (NAT)
Found RTP audio format 0
Found RTP audio format 8
Found RTP audio format 101
Peer audio RTP is at port 0.0.0.0:54672
Found audio description format telephone-event for ID 101
Capabilities: us - 0x8000e (gsm|ulaw|alaw|h263), peer - audio=0xc (ulaw|alaw)/video=0x0 (nothing), combined - 0xc (ulaw|alaw)
Non-codec capabilities (dtmf): us - 0x1 (telephone-event), peer - 0x1 (telephone-event), combined - 0x1 (telephone-event)
Peer audio RTP is at port 0.0.0.0:54672

<--- Transmitting (NAT) to 87.146.91.44:31077 --->
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.xxx.xxx:31077;branch=z9hG4bK-d87543-3e6fc153f8782843-1--d87543-;received=87.146.xxx.xxx;rport=31077
From: "100"<sip:[email protected]>;tag=30580a60
To: "100"<sip:[email protected]>;tag=as235a8708
Call-ID: NmRjYmJlNDU5NDUxMzRiMzQ0Y2I5NWQ3MTUzMDRlMTA.
CSeq: 3 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Contact: <sip:[email protected]>
Content-Length: 0


<------------>
Audio is at 81.169.xxx.xxx port 13670
Adding codec 0x4 (ulaw) to SDP
Adding codec 0x8 (alaw) to SDP
Adding non-codec 0x1 (telephone-event) to SDP

<--- Reliably Transmitting (NAT) to 87.146.xxx.xxx:31077 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.2.45:31077;branch=z9hG4bK-d87543-3e6fc153f8782843-1--d87543-;received=87.146.xxx.xxx;rport=31077
From: "100"<sip:[email protected]>;tag=30580a60
To: "100"<sip:[email protected]>;tag=as235a8708
Call-ID: NmRjYmJlNDU5NDUxMzRiMzQ0Y2I5NWQ3MTUzMDRlMTA.
CSeq: 3 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Contact: <sip:[email protected]>
Content-Type: application/sdp
Content-Length: 266

v=0
o=root 11686 11687 IN IP4 81.169.xxx.xxx
s=session
c=IN IP4 81.169.xxx.xxx
t=0 0
m=audio 13670 RTP/AVP 0 8 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
a=ptime:20
a=recvonly

<------------>
h1387857*CLI>
<--- SIP read from 87.146.xxx.xxx:31077 --->
ACK sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 192.168.2.45:31077;branch=z9hG4bK-d87543-aa16316f200d8f06-1--d87543-;rport
Max-Forwards: 70
Contact: <sip:[email protected]:31077>
To: "100"<sip:[email protected]>;tag=as235a8708
From: "100"<sip:[email protected]>;tag=30580a60
Call-ID: NmRjYmJlNDU5NDUxMzRiMzQ0Y2I5NWQ3MTUzMDRlMTA.
CSeq: 3 ACK
Proxy-Authorization: Digest username="100",realm="asterisk",nonce="3f7f4dcb",uri="sip:[email protected]",response="b054a60127cf656264450314a26fee5d",algorithm=MD5
User-Agent: X-Lite release 1011s stamp 41150
Content-Length: 0


<------------->
--- (11 headers 0 lines) ---
Really destroying SIP dialog '[email protected]' Method: REGISTER
Really destroying SIP dialog 'OGY0ZjJjYzQ2MmJhNTEyNWRjOTAwYTA5OTdiNzY0Yzg.' Method: REGISTER
h1387857*CLI>
<--- SIP read from 87.146.xxx.xxx:31077 --->
BYE sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 192.168.2.45:31077;branch=z9hG4bK-d87543-e2670341e00a4101-1--d87543-;rport
Max-Forwards: 70
Contact: <sip:[email protected]:31077;rinstance=62ee02f304ffa044>
To: "100"<sip:[email protected]>;tag=as055e7442
From: <sip:[email protected]:31077;rinstance=62ee02f304ffa044>;tag=f15bf842
Call-ID: [email protected]
CSeq: 2 BYE
User-Agent: X-Lite release 1011s stamp 41150
Reason: SIP;description="User Hung Up"
Content-Length: 0


<------------->
--- (11 headers 0 lines) ---
Sending to 87.146.xxx.xxx : 31077 (NAT)

<--- Transmitting (NAT) to 87.146.xxx.xxx:31077 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.2.45:31077;branch=z9hG4bK-d87543-e2670341e00a4101-1--d87543-;received=87.146.xxx.xxx;rport=31077
From: <sip:[email protected]:31077;rinstance=62ee02f304ffa044>;tag=f15bf842
To: "100"<sip:[email protected]>;tag=as055e7442
Call-ID: [email][email protected][/email]
CSeq: 2 BYE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Contact: <sip:[email protected]>
Content-Length: 0


<------------>
Scheduling destruction of SIP dialog 'NmRjYmJlNDU5NDUxMzRiMzQ0Y2I5NWQ3MTUzMDRlMTA.' in 32000 ms (Method: ACK)
set_destination: Parsing <sip:[email protected]:31077> for address/port to send to
set_destination: set destination to 87.146.xxx.xxx, port 31077
Reliably Transmitting (NAT) to 87.146.xxx.xxx:31077:
BYE sip:[email protected]:31077 SIP/2.0
Via: SIP/2.0/UDP 81.169.xxx.xxx:5060;branch=z9hG4bK519d9de3;rport
From: "100"<sip:[email protected]>;tag=as235a8708
To: "100"<sip:[email protected]>;tag=30580a60
Call-ID: NmRjYmJlNDU5NDUxMzRiMzQ0Y2I5NWQ3MTUzMDRlMTA.
CSeq: 102 BYE
User-Agent: Asterisk PBX
Max-Forwards: 70
Content-Length: 0


---
h1387857*CLI>
<--- SIP read from 87.146.xxx.xxx:31077 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 81.169.xxx.xxx:5060;branch=z9hG4bK519d9de3;rport=5060
Contact: <sip:[email protected]:31077>
To: "100"<sip:[email protected]>;tag=30580a60
From: "100"<sip:[email protected]>;tag=as235a8708
Call-ID: NmRjYmJlNDU5NDUxMzRiMzQ0Y2I5NWQ3MTUzMDRlMTA.
CSeq: 102 BYE
User-Agent: X-Lite release 1011s stamp 41150
Content-Length: 0


<------------->
--- (9 headers 0 lines) ---
SIP Response message for INCOMING dialog BYE arrived
Really destroying SIP dialog '[email protected]' Method: BYE
Really destroying SIP dialog 'NmRjYmJlNDU5NDUxMzRiMzQ0Y2I5NWQ3MTUzMDRlMTA.' Method: ACK
Edit Guard-X: Bitte nächstes Mail "Code"-Tags statt "Quote" verwenden!
 
Kostenlos!

Statistik des Forums

Themen
248,891
Beiträge
2,304,258
Mitglieder
378,582
Neuestes Mitglied
marcox100