Add missing initialization of update_redirecting in chan_sip.c
authorRichard Mudgett <rmudgett@digium.com>
Fri, 23 Mar 2012 22:56:14 +0000 (22:56 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Fri, 23 Mar 2012 22:56:14 +0000 (22:56 +0000)
........

Merged revisions 360262 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 360263 from http://svn.asterisk.org/svn/asterisk/branches/10

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@360264 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index 21e463f..f605403 100644 (file)
@@ -22062,6 +22062,7 @@ static void handle_response(struct sip_pvt *p, int resp, const char *rest, struc
                                                struct ast_set_party_redirecting update_redirecting;
 
                                                ast_party_redirecting_init(&redirecting);
                                                struct ast_set_party_redirecting update_redirecting;
 
                                                ast_party_redirecting_init(&redirecting);
+                                               memset(&update_redirecting, 0, sizeof(update_redirecting));
                                                change_redirecting_information(p, req, &redirecting,
                                                        &update_redirecting, TRUE);
                                                ast_channel_set_redirecting(p->owner, &redirecting,
                                                change_redirecting_information(p, req, &redirecting,
                                                        &update_redirecting, TRUE);
                                                ast_channel_set_redirecting(p->owner, &redirecting,