From: Brian West Date: Thu, 6 Oct 2011 03:54:31 +0000 (-0500) Subject: missed yet another one X-Git-Tag: v1.2-rc1~27^2~371 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=4893acdb167afc9ad444dbb60edca3cd2c8c82a6;p=thirdparty%2Ffreeswitch.git missed yet another one --- diff --git a/src/mod/endpoints/mod_sofia/mod_sofia.c b/src/mod/endpoints/mod_sofia/mod_sofia.c index 0ab0b152ff..7db01e88b7 100644 --- a/src/mod/endpoints/mod_sofia/mod_sofia.c +++ b/src/mod/endpoints/mod_sofia/mod_sofia.c @@ -1984,6 +1984,9 @@ static switch_status_t sofia_receive_message(switch_core_session_t *session, swi const char *ua = switch_channel_get_variable(tech_pvt->channel, "sip_user_agent"); switch_event_t *event; + check_decode(name, tech_pvt->session); + + if (zstr(number)) { number = tech_pvt->caller_profile->destination_number; }