fix dingaling reject

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4087 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale committed 2007-01-29 22:22:29 +00:00
1 parent 2d4d6ea756
commit 39119eb7a7
3 files changed
+16 -6

No files matched your search

+2
View File
@@ -366,6 +366,8 @@ static ldl_status parse_session_code(ldl_handle_t *handle, char *id, char *from,
}
} else if (!strcasecmp(type, "transport-accept")) {
dl_signal = LDL_SIGNAL_TRANSPORT_ACCEPT;
} else if (!strcasecmp(type, "reject")) {
dl_signal = LDL_SIGNAL_REJECT;
} else if (!strcasecmp(type, "transport-info")) {
char *tid = iks_find_attrib(xml, "id");
dl_signal = LDL_SIGNAL_CANDIDATES;
+2 -1
View File
@@ -142,7 +142,8 @@ typedef enum {
LDL_SIGNAL_LOGIN_SUCCESS,
LDL_SIGNAL_LOGIN_FAILURE,
LDL_SIGNAL_CONNECTED,
LDL_SIGNAL_TRANSPORT_ACCEPT
LDL_SIGNAL_TRANSPORT_ACCEPT,
LDL_SIGNAL_REJECT
} ldl_signal_t;
typedef enum {