[commit] r9127 - freeswitch/trunk/src/mod/endpoints/mod_sofia
Author: anthm Date: Mon Jul 21 18:18:24 2008 New Revision: 9127 Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_glue.c Log: update Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_glue.c ============================================================================== --- freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_glue.c (original) +++ freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_glue.c Mon Jul 21 18:18:24 2008 @@ -1035,6 +1035,12 @@ if (!tech_pvt->from_str) { const char* sipip = tech_pvt->profile->extsipip ? tech_pvt->profile->extsipip : tech_pvt->profile->sipip; const char* format = strchr(sipip, ':') ? "\"%s\" <sip:%s%s[%s]>" : "\"%s\" <sip:%s%s%s>"; + const char *alt = NULL; + + if ((alt = switch_channel_get_variable(channel, "sip_invite_domain"))) { + sipip = alt; + } + tech_pvt->from_str = switch_core_session_sprintf(tech_pvt->session, format,
participants (1)
-
Freeswitch SVN