49 | | If IP change occurs before a call is established, there are two possible cases: |
50 | | - Dialog is not yet created, since response with To tag is not received yet. The call needs to be cleared and reported to application via {{{on_call_state()}}}. |
51 | | - Dialog is created (1xx response with To tag is received): |
52 | | - SDP nego is done, then update Contact and SDP is needed using re-INVITE or UPDATE. |
53 | | - SDP nego is not done, see the steps above. |
| 49 | If IP change occurs before a call is confirmed, the call will be disconnected and reported to application via {{{on_call_state()}}}. |