12 lines
422 B
Diff
Raw Normal View History

--- a/channels/chan_gtalk.c
+++ b/channels/chan_gtalk.c
@@ -480,7 +480,7 @@ static int gtalk_ringing_ack(void *data,
break;
}
if (!strcasecmp(name, "error") &&
- (redirect = iks_find_cdata(traversenodes, "redirect")) &&
+ (redirect = iks_find_cdata(traversenodes, "sta:redirect")) &&
(redirect = strstr(redirect, "xmpp:"))) {
redirect += 5;
ast_log(LOG_DEBUG, "redirect %s\n", redirect);