summaryrefslogtreecommitdiff
path: root/channels/chan_sip.c
diff options
context:
space:
mode:
authorOlle Johansson <oej@edvina.net>2006-04-10 13:19:36 +0000
committerOlle Johansson <oej@edvina.net>2006-04-10 13:19:36 +0000
commitf74538df11318eee7b483f1e2a4a80d9ee26d429 (patch)
treed6996ee2777069066e92ac4ec1f10fe14da922a9 /channels/chan_sip.c
parentc3b3feab76f8b4dade3548fd9adb2541a60714ee (diff)
Small fix
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18797 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/chan_sip.c')
-rw-r--r--channels/chan_sip.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 52aa62884..6a1c6c159 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -4730,7 +4730,7 @@ static int transmit_reinvite_with_sdp(struct sip_pvt *p)
if (sipdebug)
add_header(&req, "X-asterisk-info", "SIP re-invite (RTP bridge)");
if (recordhistory)
- append_history(p, "%s", "Re-invite sent");
+ append_history(p, "ReInv", "Re-invite sent");
add_sdp(&req, p);
/* Use this as the basis */
copy_request(&p->initreq, &req);
@@ -10151,6 +10151,9 @@ static void handle_response(struct sip_pvt *p, int resp, char *rest, struct sip_
} else {
/* Responses to OUTGOING SIP requests on INCOMING calls
get handled here. As well as out-of-call message responses */
+ if (ast_test_flag(req, SIP_PKT_DEBUG))
+ ast_verbose("SIP Response message for INCOMING dialog %s arrived\n", msg);
+
if (resp == 200) {
/* Tags in early session is replaced by the tag in 200 OK, which is
the final reply to our INVITE */