--
You received this message because you are subscribed to the Google Groups "JsSIP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jssip+un...@googlegroups.com.
To post to this group, send email to js...@googlegroups.com.
Visit this group at https://groups.google.com/group/jssip.
For more options, visit https://groups.google.com/d/optout.
Hi. Maybe you solved this problem?
2.10. 3-Way Conference - Third Party Is Added
Alice Bob Carol | INVITE F1 | | |--------------->| | | 180 Ringing F2 | | |<---------------| | | 200 OK F3 | | |<---------------| | | ACK F4 | | |--------------->| | | RTP | | |<==============>| | | INVITE F5 | | |<---------------| | | 200 OK F6 | | |--------------->| | | ACK F7 | | |<---------------| INVITE F8 | | |------------->| | | 180 F9 | | |<-------------| | | 200 OK F10 | | |<-------------| | | ACK F11 | | |------------->| | | RTP | | |<============>| In this scenario, Alice and Bob are in a 2-party call (session) when Bob wishes to add Carol into the conversation. Bob is capable of media mixing in a 3-party call. Bob first sends a re-INVITE to Alice, changing Contact URIs to one that indicates Bob's mixer and acts like a focus. As a result, Bob includes the "isfocus" feature tag [RFC3840] as described in [RFC4579]. Bob then INVITEs Carol using the same Contact URI. Note that Bob could wait to re-INVITE Alice until after Carol has answered. Bob could also put Alice on hold before calling Carol. Message Details F1 INVITE Alice -> Bob INVITE sips:b...@biloxi.example.com SIP/2.0 Via: SIP/2.0/TLS client.atlanta.example.com:5061 ;branch=z9hG4bK74bf9
Max-Forwards: 70 From: Alice <sips:al...@atlanta.example.com>;tag=1234567 To: Bob <sips:b...@biloxi.example.com> Call-ID: 1234...@atlanta.example.com CSeq: 1 INVITE Contact: <sips:al...@client.atlanta.example.com> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY Supported: replaces Content-Type: application/sdp Content-Length: ... v=0 o=alice 2890844526 2890844526 IN IP4 client.atlanta.example.com s= c=IN IP4 client.atlanta.example.com t=0 0 m=audio 49170 RTP/AVP 0 a=rtpmap:0 PCMU/8000 F2 180 Ringing Bob -> Alice SIP/2.0 180 Ringing Via: SIP/2.0/TLS client.atlanta.example.com:5061 ;branch=z9hG4bK74bf9 ;received=192.0.2.103 From: Alice <sips:al...@atlanta.example.com>;tag=1234567 To: Bob <sips:b...@biloxi.example.com>;tag=23431 Call-ID: 1234...@atlanta.example.com CSeq: 1 INVITE Contact: <sips:b54g...@biloxi.example.com> Content-Length: 0 F3 200 OK Bob -> Alice SIP/2.0 200 OK Via: SIP/2.0/TLS client.atlanta.example.com:5061 ;branch=z9hG4bK74bf9 ;received=192.0.2.103 From: Alice <sips:al...@atlanta.example.com>;tag=1234567 To: Bob <sips:b...@biloxi.example.com>;tag=23431 Call-ID: 1234...@atlanta.example.com CSeq: 1 INVITE Contact: <sips:b54g...@biloxi.example.com> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFYSupported: replaces, gruu Content-Type: application/sdp Content-Length: ... v=0 o=bob 2890844527 2890844527 IN IP4 client.biloxi.example.com s= c=IN IP4 client.biloxi.example.com t=0 0 m=audio 3456 RTP/AVP 0 a=rtpmap:0 PCMU/8000 F4 ACK Alice -> Bob ACK sips:b54g...@biloxi.example.com SIP/2.0 Via: SIP/2.0/TLS client.atlanta.example.com:5061 ;branch=z9hG4bK74bfL Max-Forwards: 70 From: Alice <sips:al...@atlanta.example.com>;tag=1234567 To: Bob <sips:b...@biloxi.example.com>;tag=23431 Call-ID: 1234...@atlanta.example.com CSeq: 1 ACK Content-Length: 0 /* Alice and Bob have established a session. Bob re-INVITEs, changing Contact URIs. */ F5 INVITE Bob -> Alice INVITE sips:al...@client.atlanta.example.com SIP/2.0 Via: SIP/2.0/TLS client.biloxi.example.com:5061 ;branch=z9hG4bKnashds Max-Forwards: 70 From: Bob <sips:b...@biloxi.example.com>;tag=23431 To: Alice <sips:al...@atlanta.example.com>;tag=1234567 Call-ID: 1234...@atlanta.example.com CSeq: 1024 INVITE Contact: <sips:bob-...@client.biloxi.example.com>;isfocus Content-Type: application/sdp Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY Supported: replaces, gruu Content-Length: ... v=0 o=bob 2890844527 2890844528 IN IP4 client.biloxi.example.com s=c=IN IP4 client.biloxi.example.com t=0 0 m=audio 49172 RTP/AVP 0 a=rtpmap:0 PCMU/8000 F6 200 OK Alice -> Bob SIP/2.0 200 OK Via: SIP/2.0/TLS client.biloxi.example.com:5061 ;branch=z9hG4bKnashds7 ;received=192.0.2.113 From: Bob <sips:b...@biloxi.example.com>;tag=23431 To: Alice <sips:al...@atlanta.example.com>;tag=1234567 Call-ID: 1234...@atlanta.example.com CSeq: 1024 INVITE Contact: <sips:al...@client.atlanta.example.com> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY Supported: replaces Content-Type: application/sdp Content-Length: ... v=0 o=alice 2890844526 2890844526 IN IP4 client.atlanta.example.com s= c=IN IP4 client.atlanta.example.com t=0 0 m=audio 49170 RTP/AVP 0 a=rtpmap:0 PCMU/8000 F7 ACK Bob -> Alice ACK sips:al...@client.atlanta.example.com SIP/2.0 Via: SIP/2.0/TLS client.biloxi.example.com:5061 ;branch=z9hG4bKnash3G Max-Forwards: 70 From: Bob <sips:b...@biloxi.example.com>;tag=23431 To: Alice <sips:al...@atlanta.example.com>;tag=1234567 Call-ID: 1234...@atlanta.example.com CSeq: 1024 ACK Content-Length: 0 /* Bob calls Carol. */F8 INVITE Bob -> Carol INVITE sips:ca...@chicago.example.com SIP/2.0 Via: SIP/2.0/TLS client.biloxi.example.com:5061 ;branch=z9hG4bKnashJfd Max-Forwards: 70 From: Bob <sips:b...@biloxi.example.com>;tag=8675309 To: Carol <sips:ca...@chicago.example.com> Call-ID: sdjfd...@biloxi.example.com CSeq: 42 INVITE Contact: <sips:bob-...@client.biloxi.example.com>;isfocus Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY Supported: replaces, gruu Content-Type: application/sdp Content-Length: ... v=0 o=bob 28908445834 2890844834 IN IP4 client.biloxi.example.com s= c=IN IP4 client.biloxi.example.com t=0 0 m=audio 48174 RTP/AVP 0 a=rtpmap:0 PCMU/8000 F9 180 Ringing Carol -> Bob SIP/2.0 200 OK Via: SIP/2.0/TLS client.biloxi.example.com:5061 ;branch=z9hG4bKnashJfd ;received=192.0.2.113 From: Bob <sips:b...@biloxi.example.com>;tag=8675309 To: Carol <sips:ca...@chicago.example.com>;tag=341313 Call-ID: sdjfd...@biloxi.example.com CSeq: 42 INVITE Contact: <sips:ca...@client.chicago.example.com> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY Supported: replaces Content-Length: 0 F10 200 OK Carol -> Bob SIP/2.0 200 OK Via: SIP/2.0/TLS client.biloxi.example.com:5061 ;branch=z9hG4bKnashJfd ;received=192.0.2.113 From: Bob <sips:b...@biloxi.example.com>;tag=8675309To: Carol <sips:ca...@chicago.example.com>;tag=341313 Call-ID: sdjfd...@biloxi.example.com CSeq: 42 INVITE Contact: <sips:ca...@client.chicago.example.com> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY Supported: replaces Content-Type: application/sdp Content-Length: ... v=0 o=carol 2890844922 2890844922 IN IP4 client.chicago.example.com s= c=IN IP4 client.chicago.example.com t=0 0 m=audio 3456 RTP/AVP 0 a=rtpmap:0 PCMU/8000 F11 ACK Bob -> Carol ACK sips:ca...@client.chicago.example.com SIP/2.0 Via: SIP/2.0/TLS client.biloxi.example.com:5061 ;branch=z9hG4bKnash431 Max-Forwards: 70 From: Bob <sips:b...@biloxi.example.com>;tag=8675309 To: Carol <sips:ca...@chicago.example.com>;tag=341313 Call-ID: sdjfd...@biloxi.example.com CSeq: 42 ACK Content-Length: 0 /* Bob's mixer now mixes media from both Alice and Carol to create the 3-way conference. */
For making a 3 way conference you need backend cooperation, yes, sure.
On Thu, 5 Jul 2018 at 15:51, Guest <elena....@mifort.org> wrote:
>
> If i understood correctly, I can make 3 way conference only on backend? On frontend side it is impossible?
>
> четверг, 5 июля 2018 г., 16:45:23 UTC+3 пользователь Iñaki Baz Castillo написал:
>>
>> Which problem? There is no problem here.
>>
>> El jue., 5 jul. 2018 15:40, Guest <elena....@mifort.org> escribió:
>>>
>>> Hi. Maybe you solved this problem?
>>>
>>>>
>>>>
>>> --
>>> You received this message because you are subscribed to the Google Groups "JsSIP" group.
>>> To unsubscribe from this group and stop receiving emails from it, send an email to jssip+un...@googlegroups.com.
>>> To post to this group, send email to js...@googlegroups.com.
>>> Visit this group at https://groups.google.com/group/jssip.
>>> For more options, visit https://groups.google.com/d/optout.
>
> --
> You received this message because you are subscribed to the Google Groups "JsSIP" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to js...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jssip/afb5ab1d-ff05-401b-a834-3a456724742b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
F5 INVITE Bob -> Alice INVITE sips:al...@client.atlanta.example.com SIP/2.0 Via: SIP/2.0/TLS client.biloxi.example.com:5061 ;branch=z9hG4bKnashds Max-Forwards: 70 From: Bob <sips:b...@biloxi.example.com>;tag=23431 To: Alice <sips:al...@atlanta.example.com>;tag=1234567 Call-ID: 1234...@atlanta.example.com CSeq: 1024 INVITE Contact: <sips:bob-...@client.biloxi.example.com>;isfocus Content-Type: application/sdp Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY Supported: replaces, gruu Content-Length: ... v=0 o=bob 2890844527 2890844528 IN IP4 client.biloxi.example.com s=
c=IN IP4 client.biloxi.example.com t=0 0 m=audio 49172 RTP/AVP 0 a=rtpmap:0 PCMU/8000
Thank you!
]. Bob then INVITEs Carol using the same Contact URI. Note that Bob could wait to re-INVITE Alice until after Carol has answered. Bob could also put Alice on hold before calling Carol. Message Details F1 INVITE Alice -> Bob INVITE sips...@biloxi.example.com SIP/2.0 Via: SIP/2.0/TLS client.atlanta.example.com:5061 ;branch=z9hG4bK74bf9Max-Forwards: 70 From: Alice <sips:...@atlanta.example.com>;tag=1234567 To: Bob <sips...@biloxi.example.com> Call-ID: 1234...@atlanta.example.com CSeq: 1 INVITE Contact: <sips:...@client.atlanta.example.com> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY Supported: replaces Content-Type: application/sdp Content-Length: ... v=0 o=alice 2890844526 2890844526 IN IP4 client.atlanta.example.com
s= c=IN IP4 client.atlanta.example.com t=0 0 m=audio 49170 RTP/AVP 0 a=rtpmap:0 PCMU/8000 F2 180 Ringing Bob -> Alice SIP/2.0 180 Ringing Via: SIP/2.0/TLS client.atlanta.example.com:5061
;branch=z9hG4bK74bf9 ;received=192.0.2.103 From: Alice <sips:...@atlanta.example.com>;tag=1234567 To: Bob <sips...@biloxi.example.com>;tag=23431 Call-ID: 1234...@atlanta.example.com CSeq: 1 INVITE Contact: <sips:b5...@biloxi.example.com> Content-Length: 0 F3 200 OK Bob -> Alice SIP/2.0 200 OK Via: SIP/2.0/TLS client.atlanta.example.com:5061 ;branch=z9hG4bK74bf9 ;received=192.0.2.103 From: Alice <sips:...@atlanta.example.com>;tag=1234567 To: Bob <sips...@biloxi.example.com>;tag=23431 Call-ID: 1234...@atlanta.example.com CSeq: 1 INVITE Contact: <sips:b5...@biloxi.example.com> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY
Supported: replaces, gruu Content-Type: application/sdp Content-Length: ... v=0 o=bob 2890844527 2890844527 IN IP4 client.biloxi.example.com s= c=IN IP4 client.biloxi.example.com
t=0 0 m=audio 3456 RTP/AVP 0 a=rtpmap:0 PCMU/8000 F4 ACK Alice -> Bob ACK sips:b5...@biloxi.example.com SIP/2.0 Via: SIP/2.0/TLS client.atlanta.example.com:5061 ;branch=z9hG4bK74bfL Max-Forwards: 70 From: Alice <sips:...@atlanta.example.com>;tag=1234567 To: Bob <sips...@biloxi.example.com>;tag=23431 Call-ID: 1234...@atlanta.example.com CSeq: 1 ACK Content-Length: 0 /* Alice and Bob have established a session. Bob re-INVITEs, changing Contact URIs. */ F5 INVITE Bob -> Alice INVITE sips:...@client.atlanta.example.com SIP/2.0 Via: SIP/2.0/TLS client.biloxi.example.com:5061 ;branch=z9hG4bKnashds Max-Forwards: 70 From: Bob <sips...@biloxi.example.com>;tag=23431 To: Alice <sips:...@atlanta.example.com>;tag=1234567 Call-ID: 1234...@atlanta.example.com CSeq: 1024 INVITE Contact: <sips:bo...@client.biloxi.example.com>;isfocus Content-Type: application/sdp Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY Supported: replaces, gruu Content-Length: ... v=0 o=bob 2890844527 2890844528 IN IP4 client.biloxi.example.com s=
c=IN IP4 client.biloxi.example.com t=0 0 m=audio 49172 RTP/AVP 0 a=rtpmap:0 PCMU/8000 F6 200 OK Alice -> Bob SIP/2.0 200 OK Via: SIP/2.0/TLS client.biloxi.example.com:5061
;branch=z9hG4bKnashds7 ;received=192.0.2.113 From: Bob <sips...@biloxi.example.com>;tag=23431 To: Alice <sips:...@atlanta.example.com>;tag=1234567 Call-ID: 1234...@atlanta.example.com CSeq: 1024 INVITE Contact: <sips:...@client.atlanta.example.com> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY Supported: replaces Content-Type: application/sdp Content-Length: ... v=0 o=alice 2890844526 2890844526 IN IP4 client.atlanta.example.com s= c=IN IP4 client.atlanta.example.com t=0 0 m=audio 49170 RTP/AVP 0 a=rtpmap:0 PCMU/8000 F7 ACK Bob -> Alice ACK sips:...@client.atlanta.example.com SIP/2.0 Via: SIP/2.0/TLS client.biloxi.example.com:5061 ;branch=z9hG4bKnash3G Max-Forwards: 70 From: Bob <sips...@biloxi.example.com>;tag=23431 To: Alice <sips:...@atlanta.example.com>;tag=1234567 Call-ID: 1234...@atlanta.example.com
CSeq: 1024 ACK Content-Length: 0 /* Bob calls Carol. */
F8 INVITE Bob -> Carol INVITE sips:...@chicago.example.com SIP/2.0 Via: SIP/2.0/TLS client.biloxi.example.com:5061 ;branch=z9hG4bKnashJfd Max-Forwards: 70 From: Bob <sips...@biloxi.example.com>;tag=8675309 To: Carol <sips:...@chicago.example.com> Call-ID: sdjfd...@biloxi.example.com CSeq: 42 INVITE Contact: <sips:bo...@client.biloxi.example.com>;isfocus Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY Supported: replaces, gruu Content-Type: application/sdp Content-Length: ... v=0 o=bob 28908445834 2890844834 IN IP4 client.biloxi.example.com
s= c=IN IP4 client.biloxi.example.com t=0 0 m=audio 48174 RTP/AVP 0 a=rtpmap:0 PCMU/8000 F9 180 Ringing Carol -> Bob SIP/2.0 200 OK Via: SIP/2.0/TLS client.biloxi.example.com:5061
;branch=z9hG4bKnashJfd ;received=192.0.2.113 From: Bob <sips...@biloxi.example.com>;tag=8675309 To: Carol <sips:...@chicago.example.com>;tag=341313 Call-ID: sdjfd...@biloxi.example.com CSeq: 42 INVITE Contact: <sips:...@client.chicago.example.com> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY Supported: replaces Content-Length: 0 F10 200 OK Carol -> Bob SIP/2.0 200 OK Via: SIP/2.0/TLS client.biloxi.example.com:5061 ;branch=z9hG4bKnashJfd ;received=192.0.2.113 From: Bob <sips...@biloxi.example.com>;tag=8675309To: Carol <sips:...@chicago.example.com>;tag=341313 Call-ID: sdjfd...@biloxi.example.com CSeq: 42 INVITE Contact: <sips:...@client.chicago.example.com> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY Supported: replaces Content-Type: application/sdp Content-Length: ... v=0 o=carol 2890844922 2890844922 IN IP4 client.chicago.example.com s= c=IN IP4 client.chicago.example.com t=0 0 m=audio 3456 RTP/AVP 0 a=rtpmap:0 PCMU/8000 F11 ACK Bob -> Carol ACK sips:...@client.chicago.example.com SIP/2.0 Via: SIP/2.0/TLS client.biloxi.example.com:5061 ;branch=z9hG4bKnash431 Max-Forwards: 70 From: Bob <sips...@biloxi.example.com>;tag=8675309 To: Carol <sips:...@chicago.example.com>;tag=341313 Call-ID: sdjfd...@biloxi.example.com
To view this discussion on the web visit https://groups.google.com/d/msgid/jssip/afb5ab1d-ff05-401b-a834-3a456724742b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--José Luis Millán
To view this discussion on the web visit https://groups.google.com/d/msgid/jssip/3ca9628b-f9b6-45ee-8fca-2f5bf1a7691b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
What about this detail in the example?"Bob is capable of media mixing in a 3-party call."This is, Bob sends to Alice Carol's audio and his own audio mixed, he sends to Calor Alice's audio and his own audio mixed. How do you plan to achieve it :-)?
El vie., 7 jun. 2019 a las 19:09, Leonardo Costa (<tradi...@gmail.com>) escribió:
Hello, José!In fact I want to follow the 3-way conference example flow as described on the RFC to make it work! I already have one conversation call (session) stablished between 2 users (Bob and Alice)! Following the RFC flow, the next step is to Bob send a re-INVITE to Alice (step F5), changing the Contatct URI and adding a the tag isfocus (see below). I don't know how to send this re-INVITE request to continue to work on the flow...
F5 INVITE Bob -> Alice
INVITE sips:...@client.atlanta.example.com SIP/2.0 Via: SIP/2.0/TLS client.biloxi.example.com:5061
Contact: <sips:bo...@client.biloxi.example.com>;isfocus
To view this discussion on the web visit https://groups.google.com/d/msgid/jssip/3ca9628b-f9b6-45ee-8fca-2f5bf1a7691b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--José Luis Millán
To view this discussion on the web visit https://groups.google.com/d/msgid/jssip/f055cf34-fecd-48ce-a7db-4e27944e40fe%40googlegroups.com.
You can do it by mixing the audio tracks by yourself and then using the resulting media stream or its audio track with the PeerConnection.getSenders()[0].replaceTrack() API of WebRTC. Remember that the rtcSession.connection of JsSIP points to the underlying PeerConnection.
To view this discussion on the web visit https://groups.google.com/d/msgid/jssip/CALiegf%3Djrv3CcVGJL0fQditcXGQgOs%3DEOs5W0D%2Bc_hdPfO3G_w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/jssip/f055cf34-fecd-48ce-a7db-4e27944e40fe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "JsSIP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to js...@googlegroups.com.
To post to this group, send email to js...@googlegroups.com.
Visit this group at https://groups.google.com/group/jssip.
To view this discussion on the web visit https://groups.google.com/d/msgid/jssip/CALiegf%3Djrv3CcVGJL0fQditcXGQgOs%3DEOs5W0D%2Bc_hdPfO3G_w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--José Luis Millán
Hello, José!
s= c=IN IP4 <a href="http://client.chicago.example.com" rel="nofollow" target="_blank" onmousedown="this.href='http://www.google.com/url?q\x3dhttp%3A%2F%2Fclient.chicago.example.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHU_c1Z-KTSgTUMI9hZg1ZfXpoE3w';return true;" onclick="this.href='http://www.google.com/url?q\x3dhttp%3A%2F%2Fclient.chicago.example.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHU_c1Z-KTSgTUMI9hZg1ZfXpoE3w'
Hi Jose,