Merge pull request #1589 in FS/freeswitch from FS-11397 to master

* commit 'd9d763d2a8e8d832a4979522a238081f8666b5fb':
  FS-11397 [mod_rayo] add xmlns to exec <response> to make adhearsion's life easier.
This commit is contained in:
Mike Jerris 2018-09-19 20:50:44 +00:00
commit 5f389f7546
1 changed files with 1 additions and 0 deletions

View File

@ -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);
}