G
Guest
Guest
Archived from groups: comp.dcom.voice-over-ip (More info?)
Hi all,
Suppose we have two SIP UAs that one invites the other, then they
start a media session and then the connection is terminated. How
exactly the media session is being terminated? I mean, one of the UA
terminates the Media Session and then sends a BYE SIP message to the
other party; or once the media session is opened and the UA decide to
close it will send first a BYE message and then will close the media
session?
Option 1.
UA1 UA2
|-----------> INVITE
<-----------| 100 TRYING
<-----------| 180 RINGING
<-----------| 200 OK
|-----------> ACK
|-----------> Open Media Session
|-----------> Close Media Session
|-----------> BYE
<-----------| 200 OK
or......
Option 2.
UA1 UA2
|-----------> INVITE
<-----------| 100 TRYING
<-----------| 180 RINGING
<-----------| 200 OK
|-----------> ACK
|-----------> Open Media Session
|-----------> BYE
|-----------> Close Media Session
<-----------| 200 OK
Thank you very much in advance.
Hi all,
Suppose we have two SIP UAs that one invites the other, then they
start a media session and then the connection is terminated. How
exactly the media session is being terminated? I mean, one of the UA
terminates the Media Session and then sends a BYE SIP message to the
other party; or once the media session is opened and the UA decide to
close it will send first a BYE message and then will close the media
session?
Option 1.
UA1 UA2
|-----------> INVITE
<-----------| 100 TRYING
<-----------| 180 RINGING
<-----------| 200 OK
|-----------> ACK
|-----------> Open Media Session
|-----------> Close Media Session
|-----------> BYE
<-----------| 200 OK
or......
Option 2.
UA1 UA2
|-----------> INVITE
<-----------| 100 TRYING
<-----------| 180 RINGING
<-----------| 200 OK
|-----------> ACK
|-----------> Open Media Session
|-----------> BYE
|-----------> Close Media Session
<-----------| 200 OK
Thank you very much in advance.