diff options
author | Kevin P. Fleming <kpfleming@digium.com> | 2005-09-15 00:05:27 +0000 |
---|---|---|
committer | Kevin P. Fleming <kpfleming@digium.com> | 2005-09-15 00:05:27 +0000 |
commit | c4d824cf710babc7b94bc67886ed54b5db77797c (patch) | |
tree | ac7349a8742935789f5b8a1cb9ba0de4f1f960a0 /channels/chan_sip.c | |
parent | f94a1d47d67090939497dfd4b004e637cd1a9cc7 (diff) |
error message generated using backwards logic (issue #5224)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6607 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/chan_sip.c')
-rwxr-xr-x | channels/chan_sip.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 868d5163c..697565066 100755 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -4354,6 +4354,7 @@ static int transmit_response_with_sdp(struct sip_pvt *p, char *msg, struct sip_r if (p->rtp) { ast_rtp_offered_from_local(p->rtp, 0); add_sdp(&resp, p); + } else { ast_log(LOG_ERROR, "Can't add SDP to response, since we have no RTP session allocated. Call-ID %s\n", p->callid); } return send_response(p, &resp, retrans, seqno); |