Advertisement
Guest User

Untitled

a guest
Aug 8th, 2024
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.27 KB | None | 0 0
  1. @startuml
  2. skinparam NoteBackgroundColor orange
  3. skinparam sequenceMessageAlign center
  4. title Audio clipping with Janus SIP plugin and FreeSwitch
  5. autonumber
  6.  
  7. participant Caller
  8. participant BusinessLogic
  9. participant CallerAgent
  10. participant JanusCore
  11. participant JanusSIP as JanusSIP
  12. participant FreeSwitch
  13.  
  14. group Init (on demand or recurring)
  15. BusinessLogic -> JanusSIP: Register with FS (Ex: as user 1003)
  16. JanusSIP -> FreeSwitch: SIP Register
  17. end
  18. autonumber 1
  19. Caller -> BusinessLogic: Call FreeSwitch user
  20. BusinessLogic -> CallerAgent: Create PC and SDP offer
  21. BusinessLogic -> JanusCore: Call SIP user (behind FS) with webrtc SDP offer
  22. JanusCore -> JanusCore: Initialize call, start ice etc
  23. JanusCore -> JanusSIP: Handle request
  24. JanusSIP -> FreeSwitch: SIP Invite /w SDP
  25. FreeSwitch -> JanusSIP: SIP 200 OK with SDP answer
  26. note over CallerAgent, FreeSwitch: Caller loses 1-2s of audio until webrtc conn is live
  27. group parallel
  28. JanusSIP <-[#blue]> FreeSwitch: FS leg active
  29. FreeSwitch -[#blue]> FreeSwitch: Auto play IVR
  30. else
  31. JanusSIP -> JanusCore: Share SIP SDP answer
  32. JanusCore -> BusinessLogic: Enrich answer with webrtc and fire event with SDP answer
  33. BusinessLogic -> CallerAgent: Apply SDP answer
  34. CallerAgent <-[#blue]> JanusCore: webrtc conn active
  35. end
  36. @enduml
  37.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement