I'm newbie to JAIN SLEE + SIP and I have a task to write simple B2BUA server on Rhino SDK. I have an example were client can register and make phone call to other clients. My task is to change this example to:
- Client A make phone calls to B2BUA server to some virtual number
- B2BUA server parallel make phone calls to clients which are registered to this virtual number so their phone ring.
- When some client will pick up the phone then send +200 OK to the B2BUA server
- B2BUA server automatically redirect it to client A so this pair of clients will talk
- And the same time B2BUA send CANCEL to others clients
How to do it?
Well you just described what you need to do what else :) ?
https://www.rfc-editor.org/rfc/rfc3261 -> page 11-12
Proxy works more or less As B2BUA, very simple B2B.
YOu need to copy SDP between answers etc.