zandbelt 6db50ad02c [packages] asterisk-1.8.x: fix chan_gtalk (#9976)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@28071 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-22 11:25:37 +00:00

12 lines
422 B
Diff

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