--- a/jingle/action-handlers.c Sat Jul 03 18:41:36 2010 +0200
+++ b/jingle/action-handlers.c Sun Jul 04 01:10:51 2010 +0200
@@ -89,6 +89,16 @@
if(!is_session) { // None of the app is supported
jingle_send_session_terminate(m, "unsupported-applications");
}
+
+ is_session = FALSE;
+ // Do we support any of this xmlns ?
+ for (child = jn->content; child && !is_session; child = child->next) {
+ if(jingle_get_transportfuncs(((JingleContent*)(child->data))->xmlns_trans) != NULL)
+ is_session = TRUE;
+ }
+ if(!is_session) { // None of the transport is supported
+ jingle_send_session_terminate(m, "unsupported-transports");
+ }
}
void handle_session_terminate(LmMessage *m, JingleNode *jn)