Google Talk Under Asterisk 11.0.1

Home » Asterisk Users » Google Talk Under Asterisk 11.0.1
Asterisk Users 1 Comment

I followed https://wiki.asterisk.org/wiki/display/AST/Calling+using+Googleto get incoming and outgoing using Google Voice working.

However, when calling from google talk client, I see strange behaviour
(describe below):

Here is my configuration:

motif.conf
============
[google]
context=in-google disallow=all allow=alaw allow=ulaw allow=h264
connection=google

xmpp.conf
================
[google]
type=client serverhost=talk.google.com username=mygmail@gmail.com secret=mypassword priority=1
portR22
usetls=yes usesasl=yes status=available statusmessage=”Asterisk”
timeout=5

ael dial plan
====================
context in-google
{
s =>
{
Wait(1);
Set(crazygooglecid=${CALLERID(name)});
Set(stripcrazysuffix=${CUT(crazygooglecid,@,1)});
Set(CALLERID(all)=${stripcrazysuffix});
Answer();
SendDTMF(1);
//Voicemail(${DEF_MAILBOX}@default,su);
goto in-various|ringphones|1;
hangup();
}
}

Given the above context, when someone called, it stucked at the Wait(1)
forever.
— Executing [s@in-google:1] Wait(“Motif/wk-f2e2”, “1”) in new stack

If I replaced the Wait and SendDTMF above with Dial() my local sip phone, the call is disconnected and I see the following error message.

WARNING[6789][C-0000000f]: channel.c:1304 __ast_queue_frame: Exceptionally long queue length queuing to Motif/wk-e8e6

When calling the Google Voice number, it works fine. Any thought? Thanks.

One thought on - Google Talk Under Asterisk 11.0.1

  • Asterisk wrote:

    You’ll have to be specific – which google talk client?

    Try adding transport=google to your endpoint in motif.conf – otherwise it looks fine.

    Weird… haven’t seen that before…

    If you can fill in the blank on which Google Talk Client you are referring to and also provide a link to the XMPP traffic (you can get it by executing “xmpp set debug on” in the CLI) I can maybe provide some further insight.

    Cheers,