mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 20:04:50 +00:00
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
This commit is contained in:
@@ -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");
|
||||
|
Reference in New Issue
Block a user