diff --git a/src/mod/endpoints/mod_sofia/mod_sofia.c b/src/mod/endpoints/mod_sofia/mod_sofia.c index 63155d2030..47ee7140b6 100644 --- a/src/mod/endpoints/mod_sofia/mod_sofia.c +++ b/src/mod/endpoints/mod_sofia/mod_sofia.c @@ -1465,7 +1465,7 @@ SWITCH_STANDARD_API(sofia_contact_function) if (session) { switch_channel_t *channel = switch_core_session_get_channel(session); - exclude_contact = switch_channel_get_variable(channel, "exclude_contact"); + exclude_contact = switch_channel_get_variable(channel, "sip_exclude_contact"); }