Call flow

Top  Previous  Next

Steps 5 - 16 are optional and depend on a SIP-server or a SIP-provider. Red denotes places where transmission of media data can start. An outgoing call starts from invoking the 'call' function on the side of the WCS JavaScript API.

 

outgoing_call

 

 

B
R
O
W
S
E
R

<<< IN

OUT >>>

W

C

S

<<< IN

OUT >>>

W

E

B

 

S

E

R

V
E

R

 

1. call

 

callId

callee

caller

visibleName

status

incoming

mediaProvider

sdp

hasVideo

inviteParameters

isMsrp

 


 

 


2. call

 

callId

callee

caller

visibleName

status

incoming

mediaProvider

sdp

hasVideo

inviteParameters

isMsrp

 

nodeId

sessionId

appKey

 

 

3. 200 OK

 

callId

callee

caller

visibleName

status

incoming

mediaProvider

sdp

hasVideo

inviteParameters

isMsrp


 

 


6. CallStatusEvent - TRYING

 

callId

incoming

sipStatus

caller

callee

hasVideo

visibleName

mediaProvider

sipMessageRaw

 

status

info

 

nodeId

sessionId

appKey

 

 

7. 200 OK

 

callId

incoming

sipStatus

caller

callee

hasVideo

visibleName

mediaProvider

sipMessageRaw

 

status

info


8. CallStatusEvent - TRYING

 

callId

incoming

sipStatus

caller

callee

hasVideo

visibleName

mediaProvider

sipMessageRaw

 

status

info

 



 

 


10. CallStatusEvent - RING

 

callId

incoming

sipStatus

caller

callee

hasVideo

visibleName

mediaProvider

sipMessageRaw

 

status

info

 

nodeId

sessionId

appKey


 

11. 200 OK

 

callId

incoming

sipStatus

caller

callee

hasVideo

visibleName

mediaProvider

sipMessageRaw

 

status

info


12. CallStatusEvent - RING

 

callId

incoming

sipStatus

caller

callee

hasVideo

visibleName

mediaProvider

sipMessageRaw

 

status

info

 




 


14. CallStatusEvent - SESSION_PROGRESS

 

callId

incoming

sipStatus

caller

callee

hasVideo

visibleName

mediaProvider

sipMessageRaw

 

status

info

 

nodeId

sessionId

appKey


 

15. 200 OK

 

callId

incoming

sipStatus

caller

callee

hasVideo

visibleName

mediaProvider

sipMessageRaw

 

status

info


16. CallStatusEvent - SESSION_PROGRESS

 

callId

incoming

sipStatus

caller

callee

hasVideo

visibleName

mediaProvider

sipMessageRaw

 

status

info

 




 


18. CallStatusEvent - ESTABLISHED

 

callId

incoming

sipStatus

caller

callee

hasVideo

visibleName

mediaProvider

sipMessageRaw

 

status

info

 

nodeId

sessionId

appKey


 

19. 200 OK

 

callId

incoming

sipStatus

caller

callee

hasVideo

visibleName

mediaProvider

sipMessageRaw

 

status

info


20. CallStatusEvent - ESTABLISHED

 

callId

incoming

sipStatus

caller

callee

hasVideo

visibleName

mediaProvider

sipMessageRaw

 

status

info