From 4893acdb167afc9ad444dbb60edca3cd2c8c82a6 Mon Sep 17 00:00:00 2001 From: Brian West Date: Wed, 5 Oct 2011 22:54:31 -0500 Subject: [PATCH] missed yet another one --- src/mod/endpoints/mod_sofia/mod_sofia.c | 3 +++ 1 file changed, 3 insertions(+) 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; }