git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15398 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Brian West 2009-11-09 17:07:21 +00:00
parent beb16d9df4
commit c09bb6d371
1 changed files with 1 additions and 1 deletions

View File

@ -1444,7 +1444,7 @@ static switch_status_t sofia_receive_message(switch_core_session_t *session, swi
case SWITCH_MESSAGE_INDICATE_REDIRECT:
if (!zstr(msg->string_arg)) {
if (!switch_channel_test_flag(channel, CF_ANSWERED) && !sofia_test_flag(tech_pvt, TFLAG_BYE)) {
char *extra_headers = sofia_glue_get_extra_headers(channel, SOFIA_SIP_PROGRESS_HEADER_PREFIX);
char *extra_headers = sofia_glue_get_extra_headers(channel, SOFIA_SIP_RESPONSE_HEADER_PREFIX);
char *dest = (char *) msg->string_arg;
if (!strchr(msg->string_arg, '<') && !strchr(msg->string_arg, '>')) {