Thread: [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 |
From: Ilian J. C. P. <ip...@so...> - 2008-05-05 04:06:54
|
Hi, Christian Wallukat wrote: > 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... > I've committed changes to CVS. Please try it again. > Does somebody can help ? > > My next question is: > > - How to access the MediaStream directly (without setup Mic / Speaker) ? > Can you elaborate what you need further? Thanks! - Ilian > > 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 > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > opensipstack-devel mailing list > ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > > > |
From: Christian W. <cwa...@gm...> - 2008-05-05 09:36:27
|
Hi Ilian, thanks for your response ! I need to get calls and create calls for an ivr project. If I get an incoming call I need to be able to record and play on the call. The single call will never have a mic or a speaker. I installed asterisk 1.4.19 on my dev system yesterday and tried it again, the difference I see was that in the INVITE which was send to sipgate no SDP Packet was sent, on Asterisk the stack does... I will checkout the latest version from SVN and let you know what happens. If I can do something for you, please let me know. Kind regards Christian -----Ursprüngliche Nachricht----- Von: ope...@li... [mailto:ope...@li...] Im Auftrag von Ilian Jeri C. Pinzon Gesendet: Montag, 5. Mai 2008 06:07 An: ope...@li... Betreff: Re: [OpenSIPStack] Help using OpenSipStack Hi, Christian Wallukat wrote: > 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... > I've committed changes to CVS. Please try it again. > Does somebody can help ? > > My next question is: > > - How to access the MediaStream directly (without setup Mic / Speaker) ? > Can you elaborate what you need further? Thanks! - Ilian > > 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 > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javao ne > _______________________________________________ > opensipstack-devel mailing list > ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > > > ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javao ne _______________________________________________ opensipstack-devel mailing list ope...@li... https://lists.sourceforge.net/lists/listinfo/opensipstack-devel No virus found in this incoming message. Checked by AVG. Version: 7.5.524 / Virus Database: 269.23.7/1411 - Release Date: 02.05.2008 08:02 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 |
From: Christian W. <cwa...@gm...> - 2008-05-06 08:10:43
|
Hi Ilian, I tested the lates version from the cvs and got the same behaviour. But if I remove the stun settings everything works ... Kind regards Christian -----Ursprüngliche Nachricht----- Von: ope...@li... [mailto:ope...@li...] Im Auftrag von Ilian Jeri C. Pinzon Gesendet: Montag, 5. Mai 2008 06:07 An: ope...@li... Betreff: Re: [OpenSIPStack] Help using OpenSipStack Hi, Christian Wallukat wrote: > 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... > I've committed changes to CVS. Please try it again. > Does somebody can help ? > > My next question is: > > - How to access the MediaStream directly (without setup Mic / Speaker) ? > Can you elaborate what you need further? Thanks! - Ilian > > 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 > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javao ne > _______________________________________________ > opensipstack-devel mailing list > ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > > > ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javao ne _______________________________________________ opensipstack-devel mailing list ope...@li... https://lists.sourceforge.net/lists/listinfo/opensipstack-devel No virus found in this incoming message. Checked by AVG. Version: 7.5.524 / Virus Database: 269.23.7/1411 - Release Date: 02.05.2008 08:02 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 |
From: Joegen E. B. <joe...@gm...> - 2008-05-06 08:30:55
|
Christian, Would it be possible for you to send an ethereal/wireshark capture of 1. XLite which works 2. OSSPhone which does not work Joegen Christian Wallukat wrote: > Hi Ilian, > > > I tested the lates version from the cvs and got the same behaviour. > But if I remove the stun settings everything works ... > > > > Kind regards > > > Christian > > -----Ursprüngliche Nachricht----- > Von: ope...@li... > [mailto:ope...@li...] Im Auftrag von > Ilian Jeri C. Pinzon > Gesendet: Montag, 5. Mai 2008 06:07 > An: ope...@li... > Betreff: Re: [OpenSIPStack] Help using OpenSipStack > > Hi, > > Christian Wallukat wrote: > >> 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... >> >> > I've committed changes to CVS. Please try it again. > >> Does somebody can help ? >> >> My next question is: >> >> - How to access the MediaStream directly (without setup Mic / Speaker) ? >> >> > Can you elaborate what you need further? Thanks! > > - Ilian > >> 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 >> >> >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference >> Don't miss this year's exciting event. There's still time to save $100. >> Use priority code J8TL2D2. >> >> > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javao > ne > >> _______________________________________________ >> opensipstack-devel mailing list >> ope...@li... >> https://lists.sourceforge.net/lists/listinfo/opensipstack-devel >> >> >> >> > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javao > ne > _______________________________________________ > opensipstack-devel mailing list > ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > > No virus found in this incoming message. > Checked by AVG. > Version: 7.5.524 / Virus Database: 269.23.7/1411 - Release Date: 02.05.2008 > 08:02 > > > 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 > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > opensipstack-devel mailing list > ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > > > |
From: Christian W. <cwa...@gm...> - 2008-05-07 12:34:44
|
Hi Joegen, hi all, I will send the traces in the next days, since i can only test at weekends in the moment... I played a little bit around with the OSS Phone application and found out, That if you dont set the sound devices that the app plays the audio On the first device it can found... Maybe I describe what I need: I need to write some library with wich I can create and manage SIP calls. I need to play audio data and do conferencing on the calls for an ISDN to SIP middleware... So the preferred thing would be to get informed over incoming calls and If they will be accepted I need to extract the audio data and send them As DATA_B3_IND via the CAPI. It must also be possible to create Conferences on the SIP-calls and ISDN-Calls (where I have g711 alaw data). I hope you can give me a hint where to start. (CAPI is not the problem, I have it already in the state where I only need To put the SIP part in)... Kind regards Christian -----Ursprüngliche Nachricht----- Von: ope...@li... [mailto:ope...@li...] Im Auftrag von Joegen E. Baclor Gesendet: Dienstag, 6. Mai 2008 10:31 An: ope...@li... Betreff: Re: [OpenSIPStack] Help using OpenSipStack Christian, Would it be possible for you to send an ethereal/wireshark capture of 1. XLite which works 2. OSSPhone which does not work Joegen Christian Wallukat wrote: > Hi Ilian, > > > I tested the lates version from the cvs and got the same behaviour. > But if I remove the stun settings everything works ... > > > > Kind regards > > > Christian > > -----Ursprüngliche Nachricht----- > Von: ope...@li... > [mailto:ope...@li...] Im Auftrag von > Ilian Jeri C. Pinzon > Gesendet: Montag, 5. Mai 2008 06:07 > An: ope...@li... > Betreff: Re: [OpenSIPStack] Help using OpenSipStack > > Hi, > > Christian Wallukat wrote: > >> 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... >> >> > I've committed changes to CVS. Please try it again. > >> Does somebody can help ? >> >> My next question is: >> >> - How to access the MediaStream directly (without setup Mic / Speaker) ? >> >> > Can you elaborate what you need further? Thanks! > > - Ilian > >> 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 >> >> >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference >> Don't miss this year's exciting event. There's still time to save $100. >> Use priority code J8TL2D2. >> >> > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javao > ne > >> _______________________________________________ >> opensipstack-devel mailing list >> ope...@li... >> https://lists.sourceforge.net/lists/listinfo/opensipstack-devel >> >> >> >> > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javao > ne > _______________________________________________ > opensipstack-devel mailing list > ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > > No virus found in this incoming message. > Checked by AVG. > Version: 7.5.524 / Virus Database: 269.23.7/1411 - Release Date: 02.05.2008 > 08:02 > > > 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 > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javao ne > _______________________________________________ > opensipstack-devel mailing list > ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > > > ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javao ne _______________________________________________ opensipstack-devel mailing list ope...@li... https://lists.sourceforge.net/lists/listinfo/opensipstack-devel No virus found in this incoming message. Checked by AVG. Version: 7.5.524 / Virus Database: 269.23.7/1411 - Release Date: 02.05.2008 08:02 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 |
From: Christian W. <cwa...@gm...> - 2008-05-11 20:33:35
Attachments:
SoftPhone.zip.txt
|
Hi all, I need urgent Help, since I didnt get it ... I attached the SoftPhone files which I have Modified. For my project I only need to get the Call and access to the media stream (recording And playing). If I call the Answer function, the call will not be answered since the since the condition never matches: for (PSafePtr<OpalConnection> conn(connectionsActive, PSafeReadOnly); conn != NULL; ++conn) { if (conn != &connection) { if (conn->OpenSourceMediaStream(adjustableMediaFormats, sessionID)) { Thanks for any help Kind regards Christian BTW: Is there more documentation somewhere avail. which describes HOW to use The library ? No virus found in this outgoing message. Checked by AVG. Version: 7.5.524 / Virus Database: 269.23.11/1422 - Release Date: 08.05.2008 17:24 |
From: Ilian J. C. P. <ip...@so...> - 2008-05-12 09:18:53
|
Hi, Since you won't use the PC sound system, the modifications for what you need are not trivial. First, you need to re-enable the following lines in SoftPhone.cxx: AddRouteEntry("pc:.* = sip:<da>"); AddRouteEntry("sip:.* = pc:<da>"); These sets the linkages of the endpoints. In this case, SIP-to-PCsoundsystem and PCsoundsystem-to-SIP. Then you will have to override OpalEndPoint and OpalConnection. You can use OpalPCSSEndpoint and OpalPCSSConnection as reference. But instead of using OpalAudioStream, your classes will need to use a specialized OpalMediaStream that can read from your source and write any incoming data. OpalFileMediaStream will probably suffice if you play and record from files. To get a grasp of how the process works, try setting up break points in OpalPCSSEndpoint, OpalPCSSConnection , and OpalMediaStream. Christian Wallukat wrote: > Hi all, > > > > I need urgent Help, since I didnt get it ... > I attached the SoftPhone files which I have > Modified. For my project I only need to get the > Call and access to the media stream (recording > And playing). > > > > |
From: Christian W. <cwa...@gm...> - 2008-05-12 10:24:02
|
Hi Ilian, I got it, the problem was that I sent the AnswerCall before the stack has passed all OnIncomingConnection events (I have sent the answercall in OnIncomingConnection which seams to be wrong)... Thanks for your help ! Kind regards Christian -----Ursprüngliche Nachricht----- Von: ope...@li... [mailto:ope...@li...] Im Auftrag von Ilian Jeri C. Pinzon Gesendet: Montag, 12. Mai 2008 11:19 An: ope...@li... Betreff: Re: [OpenSIPStack] Help using OpenSipStack / Problems answering a SIP call Hi, Since you won't use the PC sound system, the modifications for what you need are not trivial. First, you need to re-enable the following lines in SoftPhone.cxx: AddRouteEntry("pc:.* = sip:<da>"); AddRouteEntry("sip:.* = pc:<da>"); These sets the linkages of the endpoints. In this case, SIP-to-PCsoundsystem and PCsoundsystem-to-SIP. Then you will have to override OpalEndPoint and OpalConnection. You can use OpalPCSSEndpoint and OpalPCSSConnection as reference. But instead of using OpalAudioStream, your classes will need to use a specialized OpalMediaStream that can read from your source and write any incoming data. OpalFileMediaStream will probably suffice if you play and record from files. To get a grasp of how the process works, try setting up break points in OpalPCSSEndpoint, OpalPCSSConnection , and OpalMediaStream. Christian Wallukat wrote: > Hi all, > > > > I need urgent Help, since I didnt get it ... > I attached the SoftPhone files which I have > Modified. For my project I only need to get the > Call and access to the media stream (recording > And playing). > > > > ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javao ne _______________________________________________ opensipstack-devel mailing list ope...@li... https://lists.sourceforge.net/lists/listinfo/opensipstack-devel No virus found in this incoming message. Checked by AVG. Version: 7.5.524 / Virus Database: 269.23.11/1422 - Release Date: 08.05.2008 17:24 No virus found in this outgoing message. Checked by AVG. Version: 7.5.524 / Virus Database: 269.23.11/1422 - Release Date: 08.05.2008 17:24 |
From: Christian W. <cwa...@gm...> - 2008-05-12 15:23:08
|
Hi Ilian, thanks fort he hint, I have it already done and now I ran into the next problem: If I try to play a file which is in the format g711 alaw by calling pDestStream->WriteData(pData, dwWrite, nRead); the function immediately returns and if I do this without waiting some time before I send the next buffer I hear a short noise then nothing... If I wait the playing is interrupted how can I get it the the playing sounds normal ? Btw: Is it normal that I hear an echo if the medaipatch was created ? If I dont create the path, I only get the source stream but no Destination stream... Kind regards Christian -----Ursprüngliche Nachricht----- Von: ope...@li... [mailto:ope...@li...] Im Auftrag von Ilian Jeri C. Pinzon Gesendet: Montag, 12. Mai 2008 11:19 An: ope...@li... Betreff: Re: [OpenSIPStack] Help using OpenSipStack / Problems answering a SIP call Hi, Since you won't use the PC sound system, the modifications for what you need are not trivial. First, you need to re-enable the following lines in SoftPhone.cxx: AddRouteEntry("pc:.* = sip:<da>"); AddRouteEntry("sip:.* = pc:<da>"); These sets the linkages of the endpoints. In this case, SIP-to-PCsoundsystem and PCsoundsystem-to-SIP. Then you will have to override OpalEndPoint and OpalConnection. You can use OpalPCSSEndpoint and OpalPCSSConnection as reference. But instead of using OpalAudioStream, your classes will need to use a specialized OpalMediaStream that can read from your source and write any incoming data. OpalFileMediaStream will probably suffice if you play and record from files. To get a grasp of how the process works, try setting up break points in OpalPCSSEndpoint, OpalPCSSConnection , and OpalMediaStream. Christian Wallukat wrote: > Hi all, > > > > I need urgent Help, since I didnt get it ... > I attached the SoftPhone files which I have > Modified. For my project I only need to get the > Call and access to the media stream (recording > And playing). > > > > ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javao ne _______________________________________________ opensipstack-devel mailing list ope...@li... https://lists.sourceforge.net/lists/listinfo/opensipstack-devel No virus found in this incoming message. Checked by AVG. Version: 7.5.524 / Virus Database: 269.23.11/1422 - Release Date: 08.05.2008 17:24 No virus found in this outgoing message. Checked by AVG. Version: 7.5.524 / Virus Database: 269.23.11/1422 - Release Date: 08.05.2008 17:24 |