From: Brian West Date: Tue, 7 Jul 2009 23:59:35 +0000 (+0000) Subject: these should be sip_ X-Git-Tag: v1.0.4~236 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4858d3c3dd3f2f9ea555152d46b15cbec2330116;p=thirdparty%2Ffreeswitch.git these should be sip_ git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14150 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/mod/endpoints/mod_sofia/mod_sofia.c b/src/mod/endpoints/mod_sofia/mod_sofia.c index 1a6b50ee13..a7699b2fde 100644 --- a/src/mod/endpoints/mod_sofia/mod_sofia.c +++ b/src/mod/endpoints/mod_sofia/mod_sofia.c @@ -181,8 +181,8 @@ char * generate_pai_str(switch_core_session_t *session) const char *callee_name = NULL, *callee_number = NULL; char *pai = NULL; - if ((callee_name = switch_channel_get_variable(tech_pvt->channel, "callee_id_name"))) { - if (!(callee_number = switch_channel_get_variable(tech_pvt->channel, "callee_id_number"))) { + if ((callee_name = switch_channel_get_variable(tech_pvt->channel, "sip_callee_id_name"))) { + if (!(callee_number = switch_channel_get_variable(tech_pvt->channel, "sip_callee_id_number"))) { callee_number = tech_pvt->caller_profile->destination_number; } pai = switch_core_session_sprintf(tech_pvt->session, "P-Asserted-Identity: \"%s\" <%s>", callee_name, callee_number);