Stefan Sayer wrote:
Hello,
AmSipDialog::bye() has
case Disconnecting:
case Connected:
status = Disconnected;
return sendRequest("BYE");
case Pending:
status = Disconnecting;
if(getUACTransPending())
return cancel();
else {
....
If bye() is called twice on a pending call, first a CANCEL is sent and
then a BYE. I wonder: should the dialog layer catch this application
misbehaviour?
It looks like we need a difference between "'Disconnecting' because of
BYE" and "'Disconnecting' because of CANCEL".
On the other hand, you should not be calling bye() twice, should you?
Cheers
Raphael.
_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev