2011-08-22 11:25:37 +00:00
|
|
|
--- a/channels/chan_gtalk.c
|
|
|
|
+++ b/channels/chan_gtalk.c
|
2011-10-16 06:16:35 +00:00
|
|
|
@@ -481,7 +481,8 @@ static int gtalk_ringing_ack(void *data,
|
2011-08-22 11:25:37 +00:00
|
|
|
break;
|
|
|
|
}
|
|
|
|
if (!strcasecmp(name, "error") &&
|
|
|
|
- (redirect = iks_find_cdata(traversenodes, "redirect")) &&
|
2011-10-16 06:16:35 +00:00
|
|
|
+ ( (redirect = iks_find_cdata(traversenodes, "redirect")) ||
|
|
|
|
+ (redirect = iks_find_cdata(traversenodes, "sta:redirect")) ) &&
|
2011-08-22 11:25:37 +00:00
|
|
|
(redirect = strstr(redirect, "xmpp:"))) {
|
|
|
|
redirect += 5;
|
|
|
|
ast_log(LOG_DEBUG, "redirect %s\n", redirect);
|