zandbelt e815c6e80e [packages] asterisk-1.8.x: update to 1.8.7.0, add requested modules #10230, patch gtalk #10235, refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/packages@28462 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-16 06:16:35 +00:00

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);