From f74538df11318eee7b483f1e2a4a80d9ee26d429 Mon Sep 17 00:00:00 2001 From: Olle Johansson Date: Mon, 10 Apr 2006 13:19:36 +0000 Subject: [PATCH] Small fix git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18797 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- channels/chan_sip.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 52aa628849..6a1c6c1591 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 */