Menu

#136 ByeSwitchNewFSM javadoc error

open
sipservlet (76)
5
2012-03-14
2012-03-14
Eric
No

Javadoc says:
2. Places call to newCall (using newInvite)

This is incorrect. There is no newInvite argument. Instead, the machine expects the programmer to create new initial INVITE request on the newCall SipPort newCall prior to instantiating this machine.

Discussion

  • Eric

    Eric - 2012-03-14

    Suggest the following change:

    Switches common port from oldCall to newCall, where common and oldCall are already connected, and newCall is a new SipPort on which no SIP messages have been sent or received.

    Prior to instantiating this machine, newCall.createInvite() should be called to create an outgoing INVITE request for placing the new call.

    1) Tears down/releases oldCall
    2) Places call to newCall using the INVITE request associated with newCall
    3) Upon receiving 183 Session Progress response with SDP or 200 OK success response from newCall, sends re-INVITE to common
    4) When common and newCall are connected, this machine reaches the public SUCCESS state. SUCCESS is a terminal state, and this machine does not provide further handling of message.

     
  • Eric

    Eric - 2012-03-14

    Tom, can you review the proposed changes.

     
  • Eric

    Eric - 2012-03-14
    • assigned_to: eshc --> yotommy
     

Log in to post a comment.