Hi list, I'm trying to get channel gtalk working in asterisk 1.4.5 I have it built and configured as follows: *jabber.conf:* [general] debug=yes autoprune=no autoregister=no [myaccount] type=client serverhost=talk.google.com username=myaccount at gmail.com/Talk secret=mypassword port=5222 usetls=yes usesasl=yes statusmessage="Talk to me" timeout=100 *gtalk.conf:* [general] context=default allowguest=yes bindaddr=172.25.123.18 [guest] disallow=all allow=ulaw context=gtalk This works fine when I call this account from my personal gtalk. But others have some very strange problems. In most cases, I see the call coming into Asterisk and executing normally. On the callers side, the call looks like it was answered, but there's no audio. In some other cases, the call doesn't even appear to be answered, although I see a normal execution on Asterisk. I first had similar problems, because I didn't use "bindaddr" in gtalk.conf. But that fixed it for me, but not for most other cases. Also, we all use the same network (same routing and NAT) and Gtalk version. Audio calls between regular Gtalk users is not a problem. This problem really puzzles me. Is it a channel gtalk problem, or do we need to look at other settings (network, client settings...)? I personnaly think we can rule out network config, since both successful and unsuccessful users work in the same lan. Is there anybody with experience in using channel gtalk? Should we start debugging? What can we learn from jabber debug logs? Any help is very much appreciated! koenvi -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070621/bcb4b581/attachment.htm
I been to this scenario before. But I got mine working just last May 2007 and it appears to be stable now ready for some serious commercial application. Hint: if you have any experience with C, try to check with the source code related to the channels you are stressing down here. Well, it is not an easy task to do and not for the faint of heart. With a little luck and more of motivated creativity, you will get it working. Trust me, been there done that.> Hi list, > > I'm trying to get channel gtalk working in asterisk 1.4.5 > I have it built and configured as follows: > > > *jabber.conf:* > > [general] > debug=yes > autoprune=no > autoregister=no > > [myaccount] > type=client > serverhost=talk.google.com > username=myaccount at gmail.com/Talk > secret=mypassword > port=5222 > usetls=yes > usesasl=yes > statusmessage="Talk to me" > timeout=100 > > *gtalk.conf:* > > [general] > context=default > allowguest=yes > bindaddr=172.25.123.18 > [guest] > disallow=all > allow=ulaw > context=gtalk > > This works fine when I call this account from my personal gtalk. But > others have some very strange problems. > In most cases, I see the call coming into Asterisk and executing normally. > On the callers side, the call looks like it was answered, but there's no > audio. > In some other cases, the call doesn't even appear to be answered, although I > see a normal execution on Asterisk. > > I first had similar problems, because I didn't use "bindaddr" in gtalk.conf. > But that fixed it for me, but not for most other cases. > Also, we all use the same network (same routing and NAT) and Gtalk version. > Audio calls between regular Gtalk users is not a problem. > > This problem really puzzles me. Is it a channel gtalk problem, or do we need > to look at other settings (network, client settings...)? > I personnaly think we can rule out network config, since both successful and > unsuccessful users work in the same lan. > > Is there anybody with experience in using channel gtalk? Should we start > debugging? > What can we learn from jabber debug logs? > > Any help is very much appreciated! > > koenvi > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users
Hi Koen> This works fine when I call this account from my personal gtalk. But others > have some very strange problems. > In most cases, I see the call coming into Asterisk and executing normally. > On the callers side, the call looks like it was answered, but there's no > audio. > In some other cases, the call doesn't even appear to be answered, although I > see a normal execution on Asterisk.Can you please open a bug report that describes your problem, and attach an Asterisk debug output for a failed call to the report? Thanks, Philippe
Yeah, just the same as the sample configuration by mog. However, if I am using a gtalk application in asterisk to dial googletalk buddy, my voip phone is suddenly connected to the googletalk buddy though at the googletalk client software it is still waiting to be accepted or not accepted. I mean from my voip phone perspective, there is just one ring to make a call to the googletalk buddy unlike in the jingle application wherein there are successive ring before the googletalk buddy accepts the call. please let me know if this is not clear to you and thanks a lot.>> Philippe, what part of the channel code handles the ringing and dialling. From my >> experience here, making a call from googletalk to a voip phone inside a firewalled >> environment does not pose any problem. But making call from voip phone to googletalk >> is >> kinda tricky. > > Well, chan_gtalk being a channel, its PBX functions are all gathered > in a ast_channel_tech structure : > /*! \brief PBX interface structure for channel registration */ > static const struct ast_channel_tech gtalk_tech = { > .type = "Gtalk", > .description = "Gtalk Channel Driver", > .capabilities = ((AST_FORMAT_MAX_AUDIO << 1) - 1), > .requester = gtalk_request, > .send_digit_begin = gtalk_digit_begin, > .send_digit_end = gtalk_digit_end, > .bridge = ast_rtp_bridge, > .call = gtalk_call, > .hangup = gtalk_hangup, > .answer = gtalk_answer, > .read = gtalk_read, > .write = gtalk_write, > .exception = gtalk_read, > .indicate = gtalk_indicate, > .fixup = gtalk_fixup, > .send_html = gtalk_sendhtml, > .properties = AST_CHAN_TP_WANTSJITTER | AST_CHAN_TP_CREATESJITTER > }; > > demuel, do you have an extensions.conf (or ael) snippet for a VoIP > phone -> Asterisk -> GoogleTalk call scenario? I wonder why this does > not work in your case. > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >