From e0372f57c38eedee7d50808890556a8cc023940d Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Fri, 24 Aug 2012 13:15:57 -0500 Subject: [PATCH] FS-4525 --resolve ok there was 2 parts to this and I missed one, your client actually uses different to and from in the subscribe where the majority use the target name in the request, to and from, this should make it compat --- src/mod/endpoints/mod_sofia/sofia_presence.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/endpoints/mod_sofia/sofia_presence.c b/src/mod/endpoints/mod_sofia/sofia_presence.c index 3388745d82..6f734782eb 100644 --- a/src/mod/endpoints/mod_sofia/sofia_presence.c +++ b/src/mod/endpoints/mod_sofia/sofia_presence.c @@ -1626,7 +1626,7 @@ void sofia_presence_mwi_event_handler(switch_event_t *event) static int sofia_presence_sub_reg_callback(void *pArg, int argc, char **argv, char **columnNames) { sofia_profile_t *profile = (sofia_profile_t *) pArg; - char *user = argv[1]; + char *user = argv[3]; char *host = argv[2]; switch_event_t *event; char *event_name = argv[5];