mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-17 01:02:12 +00:00
mod_rayo: add fax to service discovery query
This commit is contained in:
parent
8bc0f99e70
commit
69035ff412
@ -2371,11 +2371,14 @@ static iks *on_iq_get_xmpp_disco(struct rayo_actor *server, struct rayo_message
|
|||||||
iks *node = msg->payload;
|
iks *node = msg->payload;
|
||||||
iks *response = NULL;
|
iks *response = NULL;
|
||||||
iks *x;
|
iks *x;
|
||||||
|
iks *feature;
|
||||||
response = iks_new_iq_result(node);
|
response = iks_new_iq_result(node);
|
||||||
x = iks_insert(response, "query");
|
x = iks_insert(response, "query");
|
||||||
iks_insert_attrib(x, "xmlns", IKS_NS_XMPP_DISCO);
|
iks_insert_attrib(x, "xmlns", IKS_NS_XMPP_DISCO);
|
||||||
x = iks_insert(x, "feature");
|
feature = iks_insert(x, "feature");
|
||||||
iks_insert_attrib(x, "var", RAYO_NS);
|
iks_insert_attrib(feature, "var", RAYO_NS);
|
||||||
|
feature = iks_insert(x, "feature");
|
||||||
|
iks_insert_attrib(feature, "var", RAYO_FAX_NS);
|
||||||
|
|
||||||
/* TODO The response MUST also include features for the application formats and transport methods supported by
|
/* TODO The response MUST also include features for the application formats and transport methods supported by
|
||||||
* the responding entity, as described in the relevant specifications.
|
* the responding entity, as described in the relevant specifications.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user