Hi,

I attached the trace.
U 2011/02/10 15:56:10.164605 94.176.168.124:63810 -> 94.176.170.3:5060
INVITE sip:1...@opennet.ro SIP/2.0.
Via: SIP/2.0/UDP 
94.176.168.124:63810;rport;branch=z9hG4bKPjBXMfDzNg7rw1NPuIo6.lXrG7emL9tyHF.
Max-Forwards: 70.
From: "Adrian Vasile" 
<sip:te...@opennet.ro>;tag=O.sfAOsjP0tNcCvLEqEVfJnc-grVXqPN.
To: <sip:1...@opennet.ro>.
Contact: "Adrian Vasile" <sip:test1@94.176.168.124:63810>.
Call-ID: ppGHUXjRvBgzjymS-td3EK1WwokpmmOc.
CSeq: 9292 INVITE.
Route: <sip:94.176.170.3;lr>.
Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, SUBSCRIBE, NOTIFY, REFER, 
MESSAGE, OPTIONS.
Supported: replaces, 100rel, norefersub.
User-Agent: Telephone 0.14.3.
Content-Type: application/sdp.
Content-Length:   465.
.
v=0.
o=- 3506331370 3506331370 IN IP4 94.176.168.124.
s=pjmedia.
c=IN IP4 94.176.168.124.
t=0 0.
a=X-nat:0.
m=audio 4004 RTP/AVP 103 102 104 117 3 0 8 9 101.
a=rtcp:4005 IN IP4 94.176.168.124.
a=rtpmap:103 speex/16000.
a=rtpmap:102 speex/8000.
a=rtpmap:104 speex/32000.
a=rtpmap:117 iLBC/8000.
a=fmtp:117 mode=30.
a=rtpmap:3 GSM/8000.
a=rtpmap:0 PCMU/8000.
a=rtpmap:8 PCMA/8000.
a=rtpmap:9 G722/8000.
a=sendrecv.
a=rtpmap:101 telephone-event/8000.
a=fmtp:101 0-15.


U 2011/02/10 15:56:10.165318 94.176.170.3:5060 -> 94.176.168.124:63810
SIP/2.0 407 Proxy Authentication Required.
Via: SIP/2.0/UDP 
94.176.168.124:63810;rport=63810;branch=z9hG4bKPjBXMfDzNg7rw1NPuIo6.lXrG7emL9tyHF.
From: "Adrian Vasile" 
<sip:te...@opennet.ro>;tag=O.sfAOsjP0tNcCvLEqEVfJnc-grVXqPN.
To: <sip:1...@opennet.ro>;tag=3a0f43c67d6d39d6305fd30beca51cd4.15f6.
Call-ID: ppGHUXjRvBgzjymS-td3EK1WwokpmmOc.
CSeq: 9292 INVITE.
Proxy-Authenticate: Digest realm="opennet.ro", 
nonce="4d53e0880000004b5d6674ffbd8c2f67782b5b6c18cbfa71".
Server: OpenSIPS (1.6.4-tls (i386/linux)).
Content-Length: 0.
.


U 2011/02/10 15:56:10.170241 94.176.168.124:63810 -> 94.176.170.3:5060
ACK sip:1...@opennet.ro SIP/2.0.
Via: SIP/2.0/UDP 
94.176.168.124:63810;rport;branch=z9hG4bKPjBXMfDzNg7rw1NPuIo6.lXrG7emL9tyHF.
Max-Forwards: 70.
From: "Adrian Vasile" 
<sip:te...@opennet.ro>;tag=O.sfAOsjP0tNcCvLEqEVfJnc-grVXqPN.
To: <sip:1...@opennet.ro>;tag=3a0f43c67d6d39d6305fd30beca51cd4.15f6.
Call-ID: ppGHUXjRvBgzjymS-td3EK1WwokpmmOc.
CSeq: 9292 ACK.
Route: <sip:94.176.170.3;lr>.
Content-Length:  0.
.


U 2011/02/10 15:56:10.171935 94.176.168.124:63810 -> 94.176.170.3:5060
INVITE sip:1...@opennet.ro SIP/2.0.
Via: SIP/2.0/UDP 
94.176.168.124:63810;rport;branch=z9hG4bKPj3ZrwhS434LzLkqbbQlE2eJsDKfmAJ-0J.
Max-Forwards: 70.
From: "Adrian Vasile" 
<sip:te...@opennet.ro>;tag=O.sfAOsjP0tNcCvLEqEVfJnc-grVXqPN.
To: <sip:1...@opennet.ro>.
Contact: "Adrian Vasile" <sip:test1@94.176.168.124:63810>.
Call-ID: ppGHUXjRvBgzjymS-td3EK1WwokpmmOc.
CSeq: 9293 INVITE.
Route: <sip:94.176.170.3;lr>.
Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, SUBSCRIBE, NOTIFY, REFER, 
MESSAGE, OPTIONS.
Supported: replaces, 100rel, norefersub.
User-Agent: Telephone 0.14.3.
Proxy-Authorization: Digest username="test1", realm="opennet.ro", 
nonce="4d53e0880000004b5d6674ffbd8c2f67782b5b6c18cbfa71", 
uri="sip:1...@opennet.ro", response="abec3b70f69a425b459ac5109ca1785a".
Content-Type: application/sdp.
Content-Length:   465.
.
v=0.
o=- 3506331370 3506331370 IN IP4 94.176.168.124.
s=pjmedia.
c=IN IP4 94.176.168.124.
t=0 0.
a=X-nat:0.
m=audio 4004 RTP/AVP 103 102 104 117 3 0 8 9 101.
a=rtcp:4005 IN IP4 94.176.168.124.
a=rtpmap:103 speex/16000.
a=rtpmap:102 speex/8000.
a=rtpmap:104 speex/32000.
a=rtpmap:117 iLBC/8000.
a=fmtp:117 mode=30.
a=rtpmap:3 GSM/8000.
a=rtpmap:0 PCMU/8000.
a=rtpmap:8 PCMA/8000.
a=rtpmap:9 G722/8000.
a=sendrecv.
a=rtpmap:101 telephone-event/8000.
a=fmtp:101 0-15.


U 2011/02/10 15:56:10.177843 94.176.170.3:5060 -> 94.176.168.124:63810
SIP/2.0 100 Giving a try.
Via: SIP/2.0/UDP 
94.176.168.124:63810;rport=63810;branch=z9hG4bKPj3ZrwhS434LzLkqbbQlE2eJsDKfmAJ-0J.
From: "Adrian Vasile" 
<sip:te...@opennet.ro>;tag=O.sfAOsjP0tNcCvLEqEVfJnc-grVXqPN.
To: <sip:1...@opennet.ro>.
Call-ID: ppGHUXjRvBgzjymS-td3EK1WwokpmmOc.
CSeq: 9293 INVITE.
Server: OpenSIPS (1.6.4-tls (i386/linux)).
Content-Length: 0.
.


U 2011/02/10 15:56:10.178324 94.176.170.3:5060 -> 94.176.168.99:5060
INVITE sip:spatest@94.176.168.99:5060 SIP/2.0.
Record-Route: 
<sip:94.176.170.3;lr;ftag=O.sfAOsjP0tNcCvLEqEVfJnc-grVXqPN;vsf=AAAAAEVVQ0VxLx8VCwALEVpcHW8->.
Via: SIP/2.0/UDP 94.176.170.3;branch=z9hG4bK8f16.8d48097.0.
Via: SIP/2.0/UDP 
94.176.168.124:63810;received=94.176.168.124;rport=63810;branch=z9hG4bKPj3ZrwhS434LzLkqbbQlE2eJsDKfmAJ-0J.
Max-Forwards: 69.
From: "Adrian Vasile" 
<sip:1...@opennet.ro>;tag=O.sfAOsjP0tNcCvLEqEVfJnc-grVXqPN.
To: <sip:1...@opennet.ro>.
Contact: "Adrian Vasile" <sip:test1@94.176.168.124:63810>.
Call-ID: ppGHUXjRvBgzjymS-td3EK1WwokpmmOc.
CSeq: 9293 INVITE.
Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, SUBSCRIBE, NOTIFY, REFER, 
MESSAGE, OPTIONS.
Supported: replaces, 100rel, norefersub.
User-Agent: Telephone 0.14.3.
Content-Type: application/sdp.
Content-Length: 481.
P-Hint:fix_nated_contact applied.
X-from-username: test1.
X-to-username: spatest.
X-application: local.
P-Hint:applied force_rtp_proxy/INVITE.
.
v=0.
o=- 3506331370 3506331370 IN IP4 94.176.168.124.
s=pjmedia.
c=IN IP4 94.176.171.7.
t=0 0.
a=X-nat:0.
m=audio 53874 RTP/AVP 103 102 104 117 3 0 8 9 101.
a=rtcp:53875 IN IP4 94.176.171.7.
a=rtpmap:103 speex/16000.
a=rtpmap:102 speex/8000.
a=rtpmap:104 speex/32000.
a=rtpmap:117 iLBC/8000.
a=fmtp:117 mode=30.
a=rtpmap:3 GSM/8000.
a=rtpmap:0 PCMU/8000.
a=rtpmap:8 PCMA/8000.
a=rtpmap:9 G722/8000.
a=sendrecv.
a=rtpmap:101 telephone-event/8000.
a=fmtp:101 0-15.
a=nortpproxy:yes.


U 2011/02/10 15:56:10.190373 94.176.168.99:5060 -> 94.176.170.3:5060
SIP/2.0 401 Unauthorized.
To: <sip:1...@opennet.ro>;tag=d904553c43fc8bdfi0.
From: "Adrian Vasile" 
<sip:1...@opennet.ro>;tag=O.sfAOsjP0tNcCvLEqEVfJnc-grVXqPN.
Call-ID: ppGHUXjRvBgzjymS-td3EK1WwokpmmOc.
CSeq: 9293 INVITE.
Via: SIP/2.0/UDP 94.176.170.3;branch=z9hG4bK8f16.8d48097.0.
Via: SIP/2.0/UDP 
94.176.168.124:63810;received=94.176.168.124;rport=63810;branch=z9hG4bKPj3ZrwhS434LzLkqbbQlE2eJsDKfmAJ-0J.
Record-Route: 
<sip:94.176.170.3;lr;ftag=O.sfAOsjP0tNcCvLEqEVfJnc-grVXqPN;vsf=AAAAAEVVQ0VxLx8VCwALEVpcHW8->.
Server: Cisco/SPA504G-7.4.7.
WWW-Authenticate: Digest realm="opennet.ro", nonce="e2e1e046", qop="auth", 
algorithm=md5.
Content-Length: 0.
.


U 2011/02/10 15:56:10.190643 94.176.170.3:5060 -> 94.176.168.99:5060
ACK sip:spatest@94.176.168.99:5060 SIP/2.0.
Via: SIP/2.0/UDP 94.176.170.3;branch=z9hG4bK8f16.8d48097.0.
From: "Adrian Vasile" 
<sip:1...@opennet.ro>;tag=O.sfAOsjP0tNcCvLEqEVfJnc-grVXqPN.
Call-ID: ppGHUXjRvBgzjymS-td3EK1WwokpmmOc.
To: <sip:1...@opennet.ro>;tag=d904553c43fc8bdfi0.
CSeq: 9293 ACK.
Max-Forwards: 70.
User-Agent: OpenSIPS (1.6.4-tls (i386/linux)).
Content-Length: 0.
.


U 2011/02/10 15:56:10.192641 94.176.170.3:5060 -> 94.176.168.124:63810
SIP/2.0 401 Unauthorized.
To: <sip:1...@opennet.ro>;tag=d904553c43fc8bdfi0.
From: "Adrian Vasile" 
<sip:te...@opennet.ro>;tag=O.sfAOsjP0tNcCvLEqEVfJnc-grVXqPN.
Call-ID: ppGHUXjRvBgzjymS-td3EK1WwokpmmOc.
CSeq: 9293 INVITE.
Via: SIP/2.0/UDP 
94.176.168.124:63810;received=94.176.168.124;rport=63810;branch=z9hG4bKPj3ZrwhS434LzLkqbbQlE2eJsDKfmAJ-0J.
Record-Route: 
<sip:94.176.170.3;lr;ftag=O.sfAOsjP0tNcCvLEqEVfJnc-grVXqPN;vsf=AAAAAEVVQ0VxLx8VCwALEVpcHW8->.
Server: Cisco/SPA504G-7.4.7.
WWW-Authenticate: Digest realm="opennet.ro", nonce="e2e1e046", qop="auth", 
algorithm=md5.
Content-Length: 0.
P-hint:applied fix_nated_contact .
.


U 2011/02/10 15:56:10.198273 94.176.168.124:63810 -> 94.176.170.3:5060
ACK sip:1...@opennet.ro SIP/2.0.
Via: SIP/2.0/UDP 
94.176.168.124:63810;rport;branch=z9hG4bKPj3ZrwhS434LzLkqbbQlE2eJsDKfmAJ-0J.
Max-Forwards: 70.
From: "Adrian Vasile" 
<sip:te...@opennet.ro>;tag=O.sfAOsjP0tNcCvLEqEVfJnc-grVXqPN.
To: <sip:1...@opennet.ro>;tag=d904553c43fc8bdfi0.
Call-ID: ppGHUXjRvBgzjymS-td3EK1WwokpmmOc.
CSeq: 9293 ACK.
Route: <sip:94.176.170.3;lr>.
Content-Length:  0.
.

why does the cisco spa ask for authorization?

Thanks,
Adrian Vasile


On Feb 10, 2011, at 12:42 PM, Laszlo wrote:

Hi Adrian,

2011/2/10 Adrian Vasile <y...@opennet.ro>
Hello all,

Maybe it has happened to you too.. I've got a couple of cisco spa504g everything is fine with them, registering, calling out, but there seems to be a problem with the "calling in feature"..

When I try to call the spa's all they return is 403 Forbidden. Any ideas how I could remedy the situation?


Try to capture one call with ngrep, and post here the output.
Use ngrep like this: ngrep 'xxx' port 5060 -Wbyline -q -dany -t > mytrace.txt

(where xxx is the number/extension what you going to trace)


 

Thanks,
Adrian Vasile
y...@opennet.ro




_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to