[OpenSIPStack] Help using OpenSipStack
Brought to you by:
joegenbaclor
From: Christian W. <cwa...@gm...> - 2008-05-03 00:40:51
|
Hi all, I just downloaded and compiled the Stack and the ATLSIP and the OSSPhone sample application. I try to register at sipgate.de where I have an account. If I do this with XLite it works, if I do it with the OSSPhone it does not work, the registrar Says that I am unauthorized... Does somebody can help ? My next question is: - How to access the MediaStream directly (without setup Mic / Speaker) ? Thanx for any help Kind regards Christian This is what Wireshark captured: REGISTER sip:sipgate.de SIP/2.0 From: accountname <sip:acc...@si...>;tag=04de8dde76fb1810837bc238914e7bc3 To: sip:acc...@si... Via: SIP/2.0/UDP 192.168.0.31:5060;iid=3165;branch=z9hG4bK04de8dde76fb1810837cc238914e7bc3;ua s-addr=217.10.79.9;rport CSeq: 1 REGISTER Call-ID: 04de8dde-76fb-1810-9844-c238914e7bc3 Contact: "accountname" <sip:accountname@192.168.0.31:5060;transport=udp> User-Agent: OpenSIPStack-1.1.7-1 Expires: 3600 Max-Forwards: 10 Allow: INVITE, BYE, ACK, REFER, MESSAGE, INFO, NOTIFY, OPTIONS Content-Length: 0 REGISTER sip:sipgate.de SIP/2.0 From: accountname <sip:acc...@si...>;tag=04de8dde76fb1810837bc238914e7bc3 To: sip:acc...@si... Via: SIP/2.0/UDP 192.168.0.31:5060;iid=3165;branch=z9hG4bK04de8dde76fb1810837cc238914e7bc3;ua s-addr=217.10.79.9;rport CSeq: 1 REGISTER Call-ID: 04de8dde-76fb-1810-9844-c238914e7bc3 Contact: "accountname" <sip:accountname@192.168.0.31:5060;transport=udp> User-Agent: OpenSIPStack-1.1.7-1 Expires: 3600 Max-Forwards: 10 Allow: INVITE, BYE, ACK, REFER, MESSAGE, INFO, NOTIFY, OPTIONS Content-Length: 0 SIP/2.0 401 Unauthorized From: accountname <sip:acc...@si...>;tag=04de8dde76fb1810837bc238914e7bc3 To: sip:acc...@si...;tag=fe1721141f05bd30d4b50c70da3ae228.3552 Via: SIP/2.0/UDP 192.168.0.31:5060;iid=3165;branch=z9hG4bK04de8dde76fb1810837cc238914e7bc3;ua s-addr=217.10.79.9;rport=55000 CSeq: 1 REGISTER Call-ID: 04de8dde-76fb-1810-9844-c238914e7bc3 WWW-Authenticate: Digest realm="sipgate.de", nonce="481b7bbe7ab18c337e821be64cf19590172c10e3" Content-Length: 0 SIP/2.0 401 Unauthorized From: accountname <sip:acc...@si...>;tag=04de8dde76fb1810837bc238914e7bc3 To: sip:acc...@si...;tag=fe1721141f05bd30d4b50c70da3ae228.3552 Via: SIP/2.0/UDP 192.168.0.31:5060;iid=3165;branch=z9hG4bK04de8dde76fb1810837cc238914e7bc3;ua s-addr=217.10.79.9;rport=55000 CSeq: 1 REGISTER Call-ID: 04de8dde-76fb-1810-9844-c238914e7bc3 WWW-Authenticate: Digest realm="sipgate.de", nonce="xxxxxbbe7ab18c337e821be64cf19590172c10e3" Content-Length: 0 REGISTER sip:sipgate.de SIP/2.0 From: accountname <sip:acc...@si...>;tag=0d1b8ede76fb1810837cc238914e7bc3 To: sip:acc...@si... Via: SIP/2.0/UDP 192.168.0.31:5060;iid=3165;branch=z9hG4bK0d1b8ede76fb1810837dc238914e7bc3;ua s-addr=217.10.79.9;rport CSeq: 2 REGISTER Call-ID: 04de8dde-76fb-1810-9844-c238914e7bc3 Contact: "accountname" <sip:accountname@192.168.0.31:5060;transport=udp> User-Agent: OpenSIPStack-1.1.7-1 Expires: 3600 Max-Forwards: 10 Authorization: Digest username="accountname", realm="sipgate.de", nonce="xxxxxbbe7ab18c337e821be64cf19590172c10e3", uri="sip:sipgate.de", response="xxxxxdfc2b913386d3b1c9b3aa5eac48", algorithm=MD5 Allow: INVITE, BYE, ACK, REFER, MESSAGE, INFO, NOTIFY, OPTIONS Content-Length: 0 SIP/2.0 401 Unauthorized From: accountname <sip:acc...@si...>;tag=0d1b8ede76fb1810837cc238914e7bc3 To: sip:acc...@si...;tag=fe1721141f05bd30d4b50c70da3ae228.43da Via: SIP/2.0/UDP 192.168.0.31:5060;iid=3165;branch=z9hG4bK0d1b8ede76fb1810837dc238914e7bc3;ua s-addr=217.10.79.9;rport=55000 CSeq: 2 REGISTER Call-ID: 04de8dde-76fb-1810-9844-c238914e7bc3 WWW-Authenticate: Digest realm="sipgate.de", nonce="xxxxxbbe7ab18c337e821be64cf19590172c10e3" Content-Length: 0 REGISTER sip:sipgate.de SIP/2.0 From: accountname <sip:acc...@si...>;tag=77338ede76fb1810837dc238914e7bc3 To: sip:acc...@si... Via: SIP/2.0/UDP 192.168.0.31:5060;iid=3165;branch=z9hG4bK77338ede76fb1810837ec238914e7bc3;ua s-addr=217.10.79.9;rport CSeq: 3 REGISTER Call-ID: 04de8dde-76fb-1810-9844-c238914e7bc3 Contact: "accountname" <sip:accountname@192.168.0.31:5060;transport=udp> User-Agent: OpenSIPStack-1.1.7-1 Expires: 3600 Max-Forwards: 10 Authorization: Digest username="accountname", realm="sipgate.de", nonce="xxxxxbe7ab18c337e821be64cf19590172c10e3", uri="sip:sipgate.de", response="xxxxxdfc2b913386d3b1c9b3aa5eac48", algorithm=MD5 Allow: INVITE, BYE, ACK, REFER, MESSAGE, INFO, NOTIFY, OPTIONS Content-Length: 0 SIP/2.0 401 Unauthorized From: accountname <sip:acc...@si...>;tag=77338ede76fb1810837dc238914e7bc3 To: sip:acc...@si...;tag=fe1721141f05bd30d4b50c70da3ae228.0eab Via: SIP/2.0/UDP 192.168.0.31:5060;iid=3165;branch=z9hG4bK77338ede76fb1810837ec238914e7bc3;ua s-addr=217.10.79.9;rport=55000 CSeq: 3 REGISTER Call-ID: 04de8dde-76fb-1810-9844-c238914e7bc3 WWW-Authenticate: Digest realm="sipgate.de", nonce="xxxxxbbe7ab18c337e821be64cf19590172c10e3" Content-Length: 0 INVITE sip:040...@si... SIP/2.0 From: accountname <sip:acc...@si...>;tag=27f498de76fb1810837fc238914e7bc3 To: sip:040...@si... Via: SIP/2.0/UDP 192.168.0.31:5060;iid=3166;branch=z9hG4bK27f498de76fb1810837ec238914e7bc3;ua s-addr=217.10.79.9;rport CSeq: 4711 INVITE Call-ID: 0cee98de-76fb-1810-9845-c238914e7bc3 Contact: "accountname" <sip:accountname@192.168.0.31:5060> User-Agent: OpenSIPStack-1.1.7-1 Max-Forwards: 10 Allow: INVITE, BYE, ACK, REFER, MESSAGE, INFO, NOTIFY, OPTIONS Content-Type: application/sdp Content-Length: 227 v=0 o=- 1209760403 1209760403 IN IP4 192.168.0.31 s=OSS RTP Session c=IN IP4 192.168.0.31 t=0 0 m=audio 5000 RTP/AVP 101 0 8 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 SIP/2.0 407 Proxy Authentication Required From: accountname <sip:acc...@si...>;tag=27f498de76fb1810837fc238914e7bc3 To: sip:040...@si...;tag=e6312186bd5c2eb4571f6550243cfacc.f474 Via: SIP/2.0/UDP 192.168.0.31:5060;iid=3166;branch=z9hG4bK27f498de76fb1810837ec238914e7bc3;ua s-addr=217.10.79.9;rport=55000 CSeq: 4711 INVITE Call-ID: 0cee98de-76fb-1810-9845-c238914e7bc3 Proxy-Authenticate: Digest realm="sipgate.de", nonce="xxxxxbc5160e2d230aee75aab387c2e15016a90d" Content-Length: 0 ACK sip:040...@si... SIP/2.0 From: accountname <sip:acc...@si...>;tag=27f498de76fb1810837fc238914e7bc3 To: sip:040...@si...;tag=e6312186bd5c2eb4571f6550243cfacc.f474 Via: SIP/2.0/UDP 192.168.0.31:5060;iid=3166;branch=z9hG4bK27f498de76fb1810837ec238914e7bc3;ua s-addr=217.10.79.9;rport CSeq: 4711 ACK Call-ID: 0cee98de-76fb-1810-9845-c238914e7bc3 Contact: "accountname" <sip:accountname@192.168.0.31:5060> User-Agent: OpenSIPStack-1.1.7-1 Max-Forwards: 10 Allow: INVITE, BYE, ACK, REFER, MESSAGE, INFO, NOTIFY, OPTIONS Content-Length: 0 INVITE sip:040...@si... SIP/2.0 From: accountname <sip:acc...@si...>;tag=27f498de76fb1810837fc238914e7bc3 To: sip:040...@si... Via: SIP/2.0/UDP 192.168.0.31:5060;iid=3166;branch=z9hG4bK7f4399de76fb1810837fc238914e7bc3;ua s-addr=217.10.79.9;rport CSeq: 4712 INVITE Call-ID: 0cee98de-76fb-1810-9845-c238914e7bc3 Contact: "accountname" <sip:accountname@192.168.0.31:5060> User-Agent: OpenSIPStack-1.1.7-1 Max-Forwards: 10 Proxy-Authorization: Digest username="accountname", realm="sipgate.de", nonce="xxxxxbc5160e2d230aee75aab387c2e15016a90d", uri="sip:040...@si...", response="xxxxx477dd2718a4e4eaf1346b4df4b2", algorithm=MD5 Allow: INVITE, BYE, ACK, REFER, MESSAGE, INFO, NOTIFY, OPTIONS Content-Type: application/sdp Content-Length: 227 v=0 o=- 1209760403 1209760403 IN IP4 192.168.0.31 s=OSS RTP Session c=IN IP4 192.168.0.31 t=0 0 m=audio 5000 RTP/AVP 101 0 8 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 SIP/2.0 407 Proxy Authentication Required From: accountname <sip:acc...@si...>;tag=27f498de76fb1810837fc238914e7bc3 To: sip:040...@si...;tag=e6312186bd5c2eb4571f6550243cfacc.a8c5 Via: SIP/2.0/UDP 192.168.0.31:5060;iid=3166;branch=z9hG4bK7f4399de76fb1810837fc238914e7bc3;ua s-addr=217.10.79.9;rport=55000 CSeq: 4712 INVITE Call-ID: 0cee98de-76fb-1810-9845-c238914e7bc3 Proxy-Authenticate: Digest realm="sipgate.de", nonce="xxxxxbc5160e2d230aee75aab387c2e15016a90d" Content-Length: 0 ACK sip:040...@si... SIP/2.0 From: accountname <sip:acc...@si...>;tag=27f498de76fb1810837fc238914e7bc3 To: sip:040...@si...;tag=e6312186bd5c2eb4571f6550243cfacc.a8c5 Via: SIP/2.0/UDP 192.168.0.31:5060;iid=3166;branch=z9hG4bK7f4399de76fb1810837fc238914e7bc3;ua s-addr=217.10.79.9;rport CSeq: 4712 ACK Call-ID: 0cee98de-76fb-1810-9845-c238914e7bc3 Contact: "accountname" <sip:accountname@192.168.0.31:5060> User-Agent: OpenSIPStack-1.1.7-1 Max-Forwards: 10 Proxy-Authorization: Digest username="accountname", realm="sipgate.de", nonce="xxxxxc5160e2d230aee75aab387c2e15016a90d", uri="sip:040...@si...", response="xxxxx477dd2718a4e4eaf1346b4df4b2", algorithm=MD5 Allow: INVITE, BYE, ACK, REFER, MESSAGE, INFO, NOTIFY, OPTIONS Content-Length: 0 No virus found in this outgoing message. Checked by AVG. Version: 7.5.524 / Virus Database: 269.23.7/1411 - Release Date: 02.05.2008 08:02 |