1.1 --- a/asterisk/asterisk.patch.xfersips Tue Aug 28 18:32:00 2012 +0200 1.2 +++ b/asterisk/asterisk.patch.xfersips 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-05-23 17:35:28.358543497 +0200 1.6 +++ channels/chan_sip.c 2011-05-23 17:57:05.948534524 +0200 1.7 -@@ -28839,6 +28839,7 @@ 1.8 +@@ -29733,6 +29733,7 @@ 1.9 \todo Fix this function so that we wait for reply to the REFER and 1.10 react to errors, denials or other issues the other end might have. 1.11 */ 1.12 @@ -10,16 +10,16 @@ 1.13 static int sip_sipredirect(struct sip_pvt *p, const char *dest) 1.14 { 1.15 char *cdest; 1.16 -@@ -28847,7 +28848,7 @@ 1.17 +@@ -29741,7 +29742,7 @@ 1.18 cdest = ast_strdupa(dest); 1.19 - 1.20 + 1.21 extension = strsep(&cdest, "@"); 1.22 -- domain = strsep(&cdest, ":"); 1.23 +- domain = cdest; 1.24 + domain = strsep(&cdest, ":"); /* MSvB: Could begin with '@' if SIPS */ 1.25 if (ast_strlen_zero(extension)) { 1.26 ast_log(LOG_ERROR, "Missing mandatory argument: extension\n"); 1.27 return 0; 1.28 -@@ -28879,7 +28880,14 @@ 1.29 +@@ -29773,7 +29774,14 @@ 1.30 } 1.31 } 1.32