]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-10592: [mod_sofia] add sofia_profile_url to channel vars
authorlazedo <luis.azedo@factorlusitano.com>
Tue, 15 Aug 2017 21:33:37 +0000 (22:33 +0100)
committerlazedo <luis.azedo@factorlusitano.com>
Tue, 15 Aug 2017 21:33:37 +0000 (22:33 +0100)
src/mod/endpoints/mod_sofia/sofia.c

index c00a95975b70376e81ef2ca663c92c3c72b61835..b9f52d8fadf21a57ed0f243c0d4c08a38912e338 100644 (file)
@@ -10431,6 +10431,7 @@ void sofia_handle_sip_i_invite(switch_core_session_t *session, nua_t *nua, sofia
                }
 
                switch_channel_set_variable(channel, "sofia_profile_name", profile->name);
+               switch_channel_set_variable(channel, "sofia_profile_url", profile->url);
                switch_channel_set_variable(channel, "recovery_profile_name", profile->name);
                switch_channel_set_variable(channel, "sofia_profile_domain_name", profile->domain_name);