diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-04-03 23:23:23 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-04-03 23:23:23 +0000 |
commit | 5adacb5ab5bc7f27868c60d97d6601bec74e158f (patch) | |
tree | 47771e702308c23ffe9775fdb7414abeaeb1ece7 | |
parent | 0c5d33d0265227860fc6594a61c73a0f1e8608cf (diff) |
Add a missing "\r\n" in the body of the NOTIFY that is sent to indicate the
status of a transfer. (issue #9388, reported by rarritt)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@60016 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r-- | channels/chan_sip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 1221cd7e0..1418c4e48 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -5399,7 +5399,7 @@ static int transmit_notify_with_sipfrag(struct sip_pvt *p, int cseq) add_header(&req, "Subscription-state", "terminated;reason=noresource"); add_header(&req, "Content-Type", "message/sipfrag;version=2.0"); - strcpy(tmp, "SIP/2.0 200 OK"); + strcpy(tmp, "SIP/2.0 200 OK\r\n"); add_header_contentLength(&req, strlen(tmp)); add_line(&req, tmp); |