aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_sip.c
diff options
context:
space:
mode:
authoroej <oej@f38db490-d61c-443f-a65b-d21fe96a405b>2008-07-01 07:49:15 +0000
committeroej <oej@f38db490-d61c-443f-a65b-d21fe96a405b>2008-07-01 07:49:15 +0000
commita3b669fd304914ce398c20fb0a2a965325d8816b (patch)
tree8e784f3baa0c7c9adce54bce6da86fd80f495550 /channels/chan_sip.c
parent061eebc873ddbcdb968e2691b2a90fdd0c6e45dc (diff)
Fix bad XML for hold notification.
Reported by: gowen72 Patches: hold.patch uploaded by gowen72 (license 432) (closes issue #12942) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@126735 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_sip.c')
-rw-r--r--channels/chan_sip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index e9adaaa18..96a61f7a2 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, "<state>%s</state>\n", statestring);
if (state == AST_EXTENSION_ONHOLD) {
ast_build_string(&t, &maxbytes, "<local>\n<target uri=\"%s\">\n"
- "<param pname=\"+sip.rendering\" pvalue=\"no\">\n"
+ "<param pname=\"+sip.rendering\" pvalue=\"no\"/>\n"
"</target>\n</local>\n", mto);
}
ast_build_string(&t, &maxbytes, "</dialog>\n</dialog-info>\n");