From: Olle Johansson Date: Tue, 1 Jul 2008 07:49:15 +0000 (+0000) Subject: Fix bad XML for hold notification. X-Git-Tag: 1.4.22-rc1~164 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8e0a99b7e3d33ae641f330e12b1df0c432472008;p=thirdparty%2Fasterisk.git Fix bad XML for hold notification. Reported by: gowen72 Patches: hold.patch uploaded by gowen72 (license 432) (closes issue #12942) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@126735 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index e9adaaa180..96a61f7a21 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -7372,7 +7372,7 @@ static int transmit_state_notify(struct sip_pvt *p, int state, int full, int tim ast_build_string(&t, &maxbytes, "%s\n", statestring); if (state == AST_EXTENSION_ONHOLD) { ast_build_string(&t, &maxbytes, "\n\n" - "\n" + "\n" "\n\n", mto); } ast_build_string(&t, &maxbytes, "\n\n");