From d9d763d2a8e8d832a4979522a238081f8666b5fb Mon Sep 17 00:00:00 2001 From: Chris Rienzo Date: Wed, 19 Sep 2018 15:36:03 -0400 Subject: [PATCH] FS-11397 [mod_rayo] add xmlns to exec to make adhearsion's life easier. --- src/mod/event_handlers/mod_rayo/mod_rayo.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mod/event_handlers/mod_rayo/mod_rayo.c b/src/mod/event_handlers/mod_rayo/mod_rayo.c index d1bdd77896..92699ca843 100644 --- a/src/mod/event_handlers/mod_rayo/mod_rayo.c +++ b/src/mod/event_handlers/mod_rayo/mod_rayo.c @@ -2989,6 +2989,7 @@ static void *SWITCH_THREAD_FUNC rayo_exec_thread(switch_thread_t *thread, void * switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "BGAPI EXEC RESULT: %s\n", (char *)stream.data); response = iks_new_iq_result(etdata->node); api_result = iks_insert(response, "response"); + iks_insert_attrib(api_result, "xmlns", RAYO_NS); iks_insert_attrib(api_result, "response", zstr((char *)stream.data) ? "" : (char *)stream.data); }