switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session),SWITCH_LOG_WARNING,"%s Premature exit while negotiating\n",switch_channel_get_name(channel),status);
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session),SWITCH_LOG_WARNING,"%s Premature exit while negotiating (%i)\n",switch_channel_get_name(channel),status);