diff --git a/src/mod/endpoints/mod_sofia/sofia_presence.c b/src/mod/endpoints/mod_sofia/sofia_presence.c index 53a150e33b..181bd24a0a 100644 --- a/src/mod/endpoints/mod_sofia/sofia_presence.c +++ b/src/mod/endpoints/mod_sofia/sofia_presence.c @@ -621,7 +621,7 @@ static int sofia_presence_dialog_callback(void *pArg, int argc, char **argv, cha if (argc >= 4) { if (argc == 5 && !zstr(argv[4])) { - if (!switch_ivr_uuid_exists(argv[5])) { + if (!switch_ivr_uuid_exists(argv[4])) { return 0; } }