add params
This commit is contained in:
parent
bc969006aa
commit
af0151bf30
|
@ -2270,7 +2270,7 @@ static int sofia_presence_sub_callback(void *pArg, int argc, char **argv, char *
|
|||
} else if (!strcasecmp(proto, "queue")) {
|
||||
stream.write_function(&stream, "<local>\n<identity display=\"queue\">sip:queue@%s;fifo=%s</identity>\n",
|
||||
host, !zstr(clean_to_user) ? clean_to_user : "unknown");
|
||||
stream.write_function(&stream, "<target uri=\"sip:queue@%s\">\n", host);
|
||||
stream.write_function(&stream, "<target uri=\"sip:queue@%s;fifo=%s\">\n", host, !zstr(clean_to_user) ? clean_to_user : "unknown");
|
||||
stream.write_function(&stream, "<param pname=\"+sip.rendering\" pvalue=\"no\"/>\n</target>\n</local>\n");
|
||||
stream.write_function(&stream, "<remote>\n<identity display=\"queue\">sip:%s</identity>\n", uuid);
|
||||
if (skip_proto) {
|
||||
|
@ -2283,7 +2283,7 @@ static int sofia_presence_sub_callback(void *pArg, int argc, char **argv, char *
|
|||
} else if (!strcasecmp(proto, "park")) {
|
||||
stream.write_function(&stream, "<local>\n<identity display=\"park\">sip:park@%s;slot=%s</identity>\n",
|
||||
host, !zstr(clean_to_user) ? clean_to_user : "unknown");
|
||||
stream.write_function(&stream, "<target uri=\"sip:park@%s\">\n", host);
|
||||
stream.write_function(&stream, "<target uri=\"sip:park@%s;slot=%s\">\n", host, !zstr(clean_to_user) ? clean_to_user : "unknown");
|
||||
stream.write_function(&stream, "<param pname=\"+sip.rendering\" pvalue=\"no\"/>\n</target>\n</local>\n");
|
||||
stream.write_function(&stream, "<remote>\n<identity display=\"park\">sip:%s</identity>\n", uuid);
|
||||
if (skip_proto) {
|
||||
|
@ -2295,7 +2295,8 @@ static int sofia_presence_sub_callback(void *pArg, int argc, char **argv, char *
|
|||
} else if (!strcasecmp(proto, "conf")) {
|
||||
stream.write_function(&stream, "<local>\n<identity display=\"conference\">sip:conference@%s;conference=%s</identity>\n",
|
||||
host, !zstr(clean_to_user) ? clean_to_user : "unknown");
|
||||
stream.write_function(&stream, "<target uri=\"sip:conference@%s\">\n", host);
|
||||
stream.write_function(&stream, "<target uri=\"sip:conference@%s;conference=%s\">\n",
|
||||
host, !zstr(clean_to_user) ? clean_to_user : "unknown");
|
||||
stream.write_function(&stream, "<param pname=\"+sip.rendering\" pvalue=\"yes\"/>\n</target>\n</local>\n");
|
||||
stream.write_function(&stream, "<remote>\n<identity display=\"conference\">sip:%s@%s</identity>\n", uuid, host);
|
||||
if (skip_proto) {
|
||||
|
|
Loading…
Reference in New Issue