e815c6e80e
git-svn-id: svn://svn.openwrt.org/openwrt/packages@28462 3c298f89-4303-0410-b956-a3cf2f4a3e73
13 lines
491 B
Diff
13 lines
491 B
Diff
--- a/channels/chan_gtalk.c
|
|
+++ b/channels/chan_gtalk.c
|
|
@@ -481,7 +481,8 @@ static int gtalk_ringing_ack(void *data,
|
|
break;
|
|
}
|
|
if (!strcasecmp(name, "error") &&
|
|
- (redirect = iks_find_cdata(traversenodes, "redirect")) &&
|
|
+ ( (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);
|