asterisk/asterisk.patch.proxymwi

changeset 552
e568963742d6
parent 404
b6420eee9bde
child 798
4ef5d37e8bb2
     1.1 --- a/asterisk/asterisk.patch.proxymwi	Tue Aug 28 18:32:00 2012 +0200
     1.2 +++ b/asterisk/asterisk.patch.proxymwi	Tue Aug 28 18:32:05 2012 +0200
     1.3 @@ -2,7 +2,7 @@
     1.4  diff -Nau channels/chan_sip.c.orig channels/chan_sip.c
     1.5  --- channels/chan_sip.c.orig	2011-01-14 18:32:52.000000000 +0100
     1.6  +++ channels/chan_sip.c	2011-03-13 14:34:29.000000000 +0100
     1.7 -@@ -25085,6 +25085,7 @@
     1.8 +@@ -25791,6 +25791,7 @@
     1.9   	struct sip_pvt *p;
    1.10   	int newmsgs = 0, oldmsgs = 0;
    1.11   	const char *vmexten = NULL;
    1.12 @@ -10,7 +10,7 @@
    1.13   
    1.14   	ao2_lock(peer);
    1.15   
    1.16 -@@ -25138,6 +25139,11 @@
    1.17 +@@ -25852,6 +25853,11 @@
    1.18   		}
    1.19   		/* Recalculate our side, and recalculate Call ID */
    1.20   		ast_sip_ouraddrfor(&p->sa, &p->ourip, p);
    1.21 @@ -20,5 +20,5 @@
    1.22  +		if (s != NULL)
    1.23  +			*s = 0;
    1.24   		build_via(p);
    1.25 - 		ao2_t_unlink(dialogs, p, "About to change the callid -- remove the old name");
    1.26 - 		build_callid_pvt(p);
    1.27 + 
    1.28 + 		ao2_lock(peer);

mercurial