mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-23 03:34:15 +00:00
FS-849 --resolve
This commit is contained in:
1 parent
acdacfc6c0
commit
c6633fa300
5 files changed
+20
-3
No files matched your search
@@ -2262,9 +2262,13 @@ static int sofia_presence_sub_callback(void *pArg, int argc, char **argv, char *
|
||||
|
||||
} else if (!strcmp(astate, "confirmed")) {
|
||||
if (!zstr(op)) {
|
||||
//switch_snprintf(status_line, sizeof(status_line), "On The Phone");
|
||||
//} else {
|
||||
switch_snprintf(status_line, sizeof(status_line), "Talk %s", op);
|
||||
if (sofia_test_pflag(profile, PFLAG_PRESENCE_PRIVACY)) {
|
||||
switch_snprintf(status_line, sizeof(status_line), "On The Phone");
|
||||
} else {
|
||||
switch_snprintf(status_line, sizeof(status_line), "Talk %s", op);
|
||||
}
|
||||
} else {
|
||||
switch_snprintf(status_line, sizeof(status_line), "On The Phone");
|
||||
}
|
||||
|
||||
rpid = "on-the-phone";
|
||||
|
||||
Reference in new issue
Block a user