Re: [OpenSIPStack] Help using OpenSipStack
Brought to you by:
joegenbaclor
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 |