mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-13 15:50:59 +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 *response = NULL;
|
||||
iks *x;
|
||||
iks *feature;
|
||||
response = iks_new_iq_result(node);
|
||||
x = iks_insert(response, "query");
|
||||
iks_insert_attrib(x, "xmlns", IKS_NS_XMPP_DISCO);
|
||||
x = iks_insert(x, "feature");
|
||||
iks_insert_attrib(x, "var", RAYO_NS);
|
||||
feature = iks_insert(x, "feature");
|
||||
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
|
||||
* the responding entity, as described in the relevant specifications.
|
||||
|
Loading…
x
Reference in New Issue
Block a user