I suggest the following:

diff --git a/core/AmSession.cpp b/core/AmSession.cpp
index 5f45a57..3dde291 100644
--- a/core/AmSession.cpp
+++ b/core/AmSession.cpp
@@ -981,6 +981,10 @@ void AmSession::onSipReply(const AmSipReply& reply,
        default:  break;// continue waiting.
        }
       } // switch dlg status
+
+      if (reply.code >= 300) {
+        setStopped();
+      }
     } // status < Connected
   } //if negotiate_onreply
 }


On 13.04.2012 23:02, Самусенко Андрей wrote:
Hi.
Branch 1.4

Using plugins:
adpcm.so
announcement.so
di_dial.so
gsm.so
ilbc.so
l16.so
session_timer.so
speex.so
uac_auth.so
wav.so
xmlrpc2di.so

Example, response "404 Not found" don't stop session, setStopped() is not called.

Branch master have same problem? I can't run it, INVITE with SDP m=<unknown media type>.
_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev

_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev

Reply via email to