Google Talk Under Asterisk 11.0.1
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.