*** empty log message ***

This commit is contained in:
Thomas Ries 2004-10-31 17:13:10 +00:00
parent 5ba273191c
commit 5cb8bd57af

View File

@ -826,7 +826,7 @@ int proxy_response (sip_ticket_t *ticket) {
sip_rewrite_contact(ticket, DIR_OUTGOING); sip_rewrite_contact(ticket, DIR_OUTGOING);
/* /*
* If an 200 OK or 183 Trying, answer to an INVITE request, * If an 2xx OK or 1xx response, answer to an INVITE request,
* rewrite body * rewrite body
* *
* In case of a negative answer, stop RTP stream * In case of a negative answer, stop RTP stream
@ -976,8 +976,8 @@ int proxy_rewrite_invitation_body(osip_message_t *mymsg, int direction){
sts = osip_message_get_body(mymsg, 0, &body); sts = osip_message_get_body(mymsg, 0, &body);
if (sts != 0) { if (sts != 0) {
if ((MSG_IS_RESPONSE_FOR(mymsg,"INVITE")) && if ((MSG_IS_RESPONSE_FOR(mymsg,"INVITE")) &&
(MSG_TEST_CODE(mymsg, 183))) { (MSG_IS_STATUS_1XX(mymsg))) {
/* 183 Trying *MAY* contain SDP data */ /* 1xx responses *MAY* contain SDP data */
DEBUGC(DBCLASS_PROXY, "rewrite_invitation_body: " DEBUGC(DBCLASS_PROXY, "rewrite_invitation_body: "
"no body found in message"); "no body found in message");
return STS_SUCCESS; return STS_SUCCESS;