Reputation: 731
If we have to send RTP media from one client to another when a session has been established between them using SIP and SDP negotiation has been done either in either INVITE or ACK, what parameters needs to edited in header when relaying media through a server sitting in middle of the clients.
Upvotes: 1
Views: 508
Reputation: 537
You need well defined SIP proxy, and handle it like described here: https://www.voip-info.org/wiki/view/RTPProxy
Upvotes: 0
Reputation: 636
The only time the SDP needs to be modified in a B2BUA is if you have a need to do something with the media flowing between the endpoints involved with the call. Typically the endpoints handle the SDP processing but if you need to do something like transcoding of the media using a media resource controlled by the B2BUA, the media server typically takes care of the SDP modifications.
For example, if you are using a SIP servlet container that supports JSR 309 for media server control to build your B2BUA, SDPs are exchanged between the SIP container and the media server over MSML. The B2BUA usually does not directly modify the SDP. JSR 309 is the API for communicating with a media server. Media servers like Dialogic XMS or the Radisys MRF take care of all the SDP manipulation and all the B2BUA needs to worry about is passing around the SDPs being processed by the media server.
Upvotes: 1