Wie oben schon erwaehnt habe ich eine sehr lange Verzögerung wenn ich ueber den SPA 1001 Verbindung aufbaue. Mit XLite hingegen (gleicher SIP Server/account) funktioniert der Anruf sehr schnell.
Wenn man hingegen das Telefon anruft, das am SPA 1001 verbunden ist, bekommt man sofort das Freizeichen. Hmm haengt das mit den Codes zusammen bzw welche Einstellungen koennten da falsch sein?
Hier mal ein Auszug vom Syslog:
[EDIT=Robinson]Bitte an die Code-Funktion denken!![/EDIT]
Wenn man hingegen das Telefon anruft, das am SPA 1001 verbunden ist, bekommt man sofort das Freizeichen. Hmm haengt das mit den Codes zusammen bzw welche Einstellungen koennten da falsch sein?
Hier mal ein Auszug vom Syslog:
Code:
Mar 14 13:13:32 spa-1001.domain.intern RSE_DEBUG: reference domain:asterisk.domain.intern
Mar 14 13:13:32 spa-1001.domain.intern [0:5060]->192.168.88.87:5060
Mar 14 13:13:32 spa-1001.domain.intern [0:5060]->192.168.88.87:5060
Mar 14 13:13:32 spa-1001.domain.intern NOTIFY sip:asterisk.domain.intern SIP/2.0^M v: SIP/2.0/UDP 192.168.88.143:5060;branch=z9hG4bK-87fd8319^M f: 1040 <sip:[email protected]>;tag=437e0869d4401de3o0^M t: <sip:asterisk.domain.intern>^M i: [email protected]^M CSeq: 20 NOTIFY^M Max-Forwards: 70^M o: keep-alive^M User-Agent: Sipura/SPA1001-2.0.13(SEg)^M l: 0^M ^M
Mar 14 13:13:32 spa-1001.domain.intern
Mar 14 13:13:32 spa-1001.domain.intern
Mar 14 13:13:32 spa-1001.domain.intern [0:5060]<<192.168.88.87:5060
Mar 14 13:13:32 spa-1001.domain.intern [0:5060]<<192.168.88.87:5060
Mar 14 13:13:32 spa-1001.domain.intern SIP/2.0 200 OK^M Via: SIP/2.0/UDP 192.168.88.143:5060;branch=z9hG4bK-87fd8319;received=192.168.88.143;rport=5060^M From: 1040 <sip:[email protected]>;tag=437e0869d4401de3o0^M To: <sip:asterisk.domain.intern>;tag=as07d99d4b^M Call-ID: [email protected]^M CSeq: 20 NOTIFY^M User-Agent: Asterisk PBX^M Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER^M Contact: ^M Content-Length: 0^M ^M
Mar 14 13:13:32 spa-1001.domain.intern
Mar 14 13:13:32 spa-1001.domain.intern
Mar 14 13:13:33 spa-1001.domain.intern [0]Off Hook
Mar 14 13:13:37 spa-1001.domain.intern RSE_DEBUG: unref domain, asterisk.domain.intern
Mar 14 13:13:37 spa-1001.domain.intern RSE_DEBUG: last unref for domain asterisk.domain.intern
Mar 14 13:13:47 spa-1001.domain.intern Calling:[email protected]:0
Mar 14 13:13:47 spa-1001.domain.intern [0:0]AUD ALLOC CALL (port=16472)
Mar 14 13:13:47 spa-1001.domain.intern [0:0]RTP Rx Up
Mar 14 13:13:47 spa-1001.domain.intern RSE_DEBUG: reference domain:asterisk.domain.intern
Mar 14 13:13:47 spa-1001.domain.intern [0:5060]->192.168.88.87:5060
Mar 14 13:13:47 spa-1001.domain.intern [0:5060]->192.168.88.87:5060
Mar 14 13:13:47 spa-1001.domain.intern INVITE sip:[email protected] SIP/2.0^M v: SIP/2.0/UDP 192.168.88.143:5060;branch=z9hG4bK-2bb812a9^M f: 1040 <sip:[email protected]>;tag=8428c9a6391000a1o0^M t: <sip:[email protected]>^M i: [email protected]^M CSeq: 101 INVITE^M Max-Forwards: 70^M m: 1040 <sip:[email protected]:5060>^M Expires: 240^M User-Agent: Sipura/SPA1001-2.0.13(SEg)^M l: 235^M Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER^M k: x-sipura^M c: application/sdp^M ^M v=0^M o=- 31632 31632 IN IP4 192.168.88.143^M s=-^M c=IN IP4 192.168.88.143^M t=0 0^M m=audio 16472 RTP/AVP 0 100 101^M a=rtpmap:0 PCMU/8000^M a=rtpmap:100 NSE/8000^M a=rtpmap:101 telephone-event/8000^M a=fmtp:101 0-15^M a=ptime:30^M a=sendrecv^M
Mar 14 13:13:47 spa-1001.domain.intern
Mar 14 13:13:47 spa-1001.domain.intern
Mar 14 13:13:47 spa-1001.domain.intern [0:5060]<<192.168.88.87:5060
Mar 14 13:13:47 spa-1001.domain.intern [0:5060]<<192.168.88.87:5060
Mar 14 13:13:47 spa-1001.domain.intern SIP/2.0 407 Proxy Authentication Required^M Via: SIP/2.0/UDP 192.168.88.143:5060;branch=z9hG4bK-2bb812a9;received=192.168.88.143;rport=5060^M From: 1040 <sip:[email protected]>;tag=8428c9a6391000a1o0^M To: <sip:[email protected]>;tag=as3adcab8b^M Call-ID: [email protected]^M CSeq: 101 INVITE^M User-Agent: Asterisk PBX^M Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER^M Contact: <sip:[email protected]>^M Proxy-Authenticate: Digest realm="asterisk", nonce="3b09e180"^M Content-Length: 0^M ^M
Mar 14 13:13:47 spa-1001.domain.intern
Mar 14 13:13:47 spa-1001.domain.intern
Mar 14 13:13:47 spa-1001.domain.intern [0:5060]->192.168.88.87:5060
Mar 14 13:13:47 spa-1001.domain.intern [0:5060]->192.168.88.87:5060
Mar 14 13:13:47 spa-1001.domain.intern ACK sip:[email protected] SIP/2.0^M v: SIP/2.0/UDP 192.168.88.143:5060;branch=z9hG4bK-2bb812a9^M f: 1040 <sip:[email protected]>;tag=8428c9a6391000a1o0^M t: <sip:[email protected]>;tag=as3adcab8b^M i: [email protected]^M CSeq: 101 ACK^M Max-Forwards: 70^M m: 1040 <sip:[email protected]:5060>^M User-Agent: Sipura/SPA1001-2.0.13(SEg)^M l: 0^M ^M
Mar 14 13:13:47 spa-1001.domain.intern
Mar 14 13:13:47 spa-1001.domain.intern
Mar 14 13:13:47 spa-1001.domain.intern RSE_DEBUG: reference domain:asterisk.domain.intern
Mar 14 13:13:47 spa-1001.domain.intern [0:5060]->192.168.88.87:5060
Mar 14 13:13:47 spa-1001.domain.intern [0:5060]->192.168.88.87:5060
Mar 14 13:13:47 spa-1001.domain.intern INVITE sip:[email protected] SIP/2.0^M v: SIP/2.0/UDP 192.168.88.143:5060;branch=z9hG4bK-40c1e8b9^M f: 1040 <sip:[email protected]>;tag=8428c9a6391000a1o0^M t: <sip:[email protected]>^M i: [email protected]^M CSeq: 102 INVITE^M Max-Forwards: 70^M Proxy-Authorization: Digest username="1040",realm="asterisk",nonce="3b09e180",uri="sip:[email protected]",algorithm=MD5,response="67a02ef4f29836cfd75963d0ae26a944"^M m: 1040 <sip:[email protected]:5060>^M Expires: 240^M User-Agent: Sipura/SPA1001-2.0.13(SEg)^M l: 235^M Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER^M k: x-sipura^M c: application/sdp^M ^M v=0^M o=- 31632 31632 IN IP4 192.168.88.143^M s=-^M c=IN IP4 192.168.88.143^M t=0 0^M m=audio 16472 RTP/AVP 0 100 101^M a=rtpmap:0 PCMU/8000^M a=rtpmap:100 NSE/8000^M a=rtpmap:101 telephone-event/8000^M a=fmtp:101 0-15^M a=ptime:30^M a=sendrecv^M
Mar 14 13:13:47 spa-1001.domain.intern
Mar 14 13:13:47 spa-1001.domain.intern
Mar 14 13:13:47 spa-1001.domain.intern [0:5060]<<192.168.88.87:5060
Mar 14 13:13:47 spa-1001.domain.intern [0:5060]<<192.168.88.87:5060
Mar 14 13:13:47 spa-1001.domain.intern SIP/2.0 100 Trying^M Via: SIP/2.0/UDP 192.168.88.143:5060;branch=z9hG4bK-40c1e8b9;received=192.168.88.143;rport=5060^M From: 1040 <sip:[email protected]>;tag=8428c9a6391000a1o0^M To: <sip:[email protected]>;tag=as4b76bdfb^M Call-ID: [email protected]^M CSeq: 102 INVITE^M User-Agent: Asterisk PBX^M Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER^M Contact: <sip:[email protected]>^M Content-Length: 0^M ^M
Mar 14 13:13:47 spa-1001.domain.intern
Mar 14 13:13:47 spa-1001.domain.intern
Mar 14 13:13:47 spa-1001.domain.intern [0:5060]<<192.168.88.87:5060
Mar 14 13:13:47 spa-1001.domain.intern [0:5060]<<192.168.88.87:5060
Mar 14 13:13:47 spa-1001.domain.intern SIP/2.0 180 Ringing^M Via: SIP/2.0/UDP 192.168.88.143:5060;branch=z9hG4bK-40c1e8b9;received=192.168.88.143;rport=5060^M From: 1040 <sip:[email protected]>;tag=8428c9a6391000a1o0^M To: <sip:[email protected]>;tag=as4b76bdfb^M Call-ID: [email protected]^M CSeq: 102 INVITE^M User-Agent: Asterisk PBX^M Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER^M Contact: <sip:[email protected]>^M Content-Length: 0^M ^M
Mar 14 13:13:47 spa-1001.domain.intern
Mar 14 13:13:47 spa-1001.domain.intern
Mar 14 13:13:47 spa-1001.domain.intern CC:Ringback
Mar 14 13:13:47 spa-1001.domain.intern RSE_DEBUG: reference domain:asterisk.domain.intern
Mar 14 13:13:47 spa-1001.domain.intern [0:5060]->192.168.88.87:5060
Mar 14 13:13:47 spa-1001.domain.intern [0:5060]->192.168.88.87:5060
Mar 14 13:13:47 spa-1001.domain.intern NOTIFY sip:asterisk.domain.intern SIP/2.0^M v: SIP/2.0/UDP 192.168.88.143:5060;branch=z9hG4bK-a6db4f3^M f: 1040 <sip:[email protected]>;tag=437e0869d4401de3o0^M t: <sip:asterisk.domain.intern>^M i: [email protected]^M CSeq: 21 NOTIFY^M Max-Forwards: 70^M o: keep-alive^M User-Agent: Sipura/SPA1001-2.0.13(SEg)^M l: 0^M ^M
Mar 14 13:13:47 spa-1001.domain.intern
Mar 14 13:13:47 spa-1001.domain.intern
Mar 14 13:13:47 spa-1001.domain.intern [0:5060]<<192.168.88.87:5060
Mar 14 13:13:47 spa-1001.domain.intern [0:5060]<<192.168.88.87:5060
Mar 14 13:13:47 spa-1001.domain.intern SIP/2.0 200 OK^M Via: SIP/2.0/UDP 192.168.88.143:5060;branch=z9hG4bK-a6db4f3;received=192.168.88.143;rport=5060^M From: 1040 <sip:[email protected]>;tag=437e0869d4401de3o0^M To: <sip:asterisk.domain.intern>;tag=as17adf9d0^M Call-ID: [email protected]^M CSeq: 21 NOTIFY^M User-Agent: Asterisk PBX^M Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER^M Contact: ^M Content-Length: 0^M ^M
Mar 14 13:13:47 spa-1001.domain.intern
Mar 14 13:13:47 spa-1001.domain.intern
Mar 14 13:13:49 spa-1001.domain.intern [0]On Hook
Mar 14 13:13:49 spa-1001.domain.intern [0:0]AUD Rel Call
Mar 14 13:13:49 spa-1001.domain.intern RSE_DEBUG: reference domain:asterisk.domain.intern
Mar 14 13:13:49 spa-1001.domain.intern [0:5060]->192.168.88.87:5060
Mar 14 13:13:49 spa-1001.domain.intern [0:5060]->192.168.88.87:5060
Mar 14 13:13:49 spa-1001.domain.intern CANCEL sip:[email protected] SIP/2.0^M v: SIP/2.0/UDP 192.168.88.143:5060;branch=z9hG4bK-40c1e8b9^M f: 1040 <sip:[email protected]>;tag=8428c9a6391000a1o0^M t: <sip:[email protected]>^M i: [email protected]^M CSeq: 102 CANCEL^M Max-Forwards: 70^M Proxy-Authorization: Digest username="1040",realm="asterisk",nonce="3b09e180",uri="sip:[email protected]",algorithm=MD5,response="3395581062bddab804b7c70345651dca"^M User-Agent: Sipura/SPA1001-2.0.13(SEg)^M l: 0^M ^M
Mar 14 13:13:49 spa-1001.domain.intern
Mar 14 13:13:49 spa-1001.domain.intern
Mar 14 13:13:49 spa-1001.domain.intern [0:5060]<<192.168.88.87:5060
Mar 14 13:13:49 spa-1001.domain.intern [0:5060]<<192.168.88.87:5060
Mar 14 13:13:49 spa-1001.domain.intern SIP/2.0 487 Request Terminated^M Via: SIP/2.0/UDP 192.168.88.143:5060;branch=z9hG4bK-40c1e8b9;received=192.168.88.143;rport=5060^M From: 1040 <sip:[email protected]>;tag=8428c9a6391000a1o0^M To: <sip:[email protected]>;tag=as4b76bdfb^M Call-ID: [email protected]^M CSeq: 102 INVITE^M User-Agent: Asterisk PBX^M Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER^M Contact: <sip:[email protected]>^M Content-Length: 0^M ^M
Mar 14 13:13:49 spa-1001.domain.intern
Mar 14 13:13:49 spa-1001.domain.intern
Mar 14 13:13:49 spa-1001.domain.intern [0:5060]->192.168.88.87:5060
Mar 14 13:13:49 spa-1001.domain.intern [0:5060]->192.168.88.87:5060
Mar 14 13:13:49 spa-1001.domain.intern ACK sip:[email protected] SIP/2.0^M v: SIP/2.0/UDP 192.168.88.143:5060;branch=z9hG4bK-40c1e8b9^M f: 1040 <sip:[email protected]>;tag=8428c9a6391000a1o0^M t: <sip:[email protected]>;tag=as4b76bdfb^M i: [email protected]^M CSeq: 102 ACK^M Max-Forwards: 70^M Proxy-Authorization: Digest username="1040",realm="asterisk",nonce="3b09e180",uri="sip:[email protected]",algorithm=MD5,response="ca84d30190b7712ee06547c3adcfe3eb"^M m: 1040 <sip:[email protected]:5060>^M User-Agent: Sipura/SPA1001-2.0.13(SEg)^M l: 0^M ^M
Mar 14 13:13:49 spa-1001.domain.intern
Mar 14 13:13:49 spa-1001.domain.intern
Mar 14 13:13:49 spa-1001.domain.intern [0:5060]->192.168.88.87:5060
Mar 14 13:13:49 spa-1001.domain.intern [0:5060]->192.168.88.87:5060
Mar 14 13:13:49 spa-1001.domain.intern CANCEL sip:[email protected] SIP/2.0^M v: SIP/2.0/UDP 192.168.88.143:5060;branch=z9hG4bK-40c1e8b9^M f: 1040 <sip:[email protected]>;tag=8428c9a6391000a1o0^M t: <sip:[email protected]>^M i: [email protected]^M CSeq: 102 CANCEL^M Max-Forwards: 70^M Proxy-Authorization: Digest username="1040",realm="asterisk",nonce="3b09e180",uri="sip:[email protected]",algorithm=MD5,response="3395581062bddab804b7c70345651dca"^M User-Agent: Sipura/SPA1001-2.0.13(SEg)^M l: 0^M ^M
Mar 14 13:13:49 spa-1001.domain.intern
Mar 14 13:13:49 spa-1001.domain.intern
Mar 14 13:13:49 spa-1001.domain.intern [0:5060]<<192.168.88.87:5060
Mar 14 13:13:49 spa-1001.domain.intern [0:5060]<<192.168.88.87:5060
Mar 14 13:13:49 spa-1001.domain.intern SIP/2.0 481 Call Leg Does Not Exist^M Via: SIP/2.0/UDP 192.168.88.143:5060;branch=z9hG4bK-40c1e8b9;received=192.168.88.143;rport=5060^M From: 1040 <sip:[email protected]>;tag=8428c9a6391000a1o0^M To: <sip:[email protected]>;tag=as21f3fff6^M Call-ID: [email protected]^M CSeq: 102 CANCEL^M User-Agent: Asterisk PBX^M Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER^M Contact: ^M Content-Length: 0^M ^M
Mar 14 13:13:49 spa-1001.domain.intern
Mar 14 13:13:49 spa-1001.domain.intern
Mar 14 13:13:49 spa-1001.domain.intern DLG Terminated
Mar 14 13:13:52 spa-1001.domain.intern RSE_DEBUG: unref domain, asterisk.domain.intern
[EDIT=Robinson]Bitte an die Code-Funktion denken!![/EDIT]