diff options
-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); |