I followed <a href="https://wiki.asterisk.org/wiki/display/AST/Calling+using+Google">https://wiki.asterisk.org/wiki/display/AST/Calling+using+Google</a> to get incoming and outgoing using google voice working. <br><br>However, when calling from google talk client, I see strange behaviour (describe below):<br>
<br>Here is my configuration:<br><br>motif.conf<br>=============<br><br>[google]<br>context=in-google<br>disallow=all<br>allow=alaw<br>allow=ulaw<br>allow=h264<br>connection=google<br><br><br>xmpp.conf<br>=================<br>
<br>[google]<br>type=client<br>serverhost=<a href="http://talk.google.com">talk.google.com</a><br>username=<a href="mailto:mygmail@gmail.com">mygmail@gmail.com</a><br>secret=mypassword<br>priority=1<br>port=5222<br>usetls=yes<br>
usesasl=yes<br>status=available<br>statusmessage="Asterisk"<br>timeout=5<br><br><br>ael dial plan<br>=====================<br><br>context in-google<br>{<br> s =><br> {<br> Wait(1);<br> Set(crazygooglecid=${CALLERID(name)});<br>
Set(stripcrazysuffix=${CUT(crazygooglecid,@,1)});<br> Set(CALLERID(all)=${stripcrazysuffix});<br> Answer();<br> SendDTMF(1);<br> //Voicemail(${DEF_MAILBOX}@default,su);<br> goto in-various|ringphones|1;<br>
hangup();<br> }<br>}<br><br><br>Given the above context, when someone called, it stucked at the Wait(1) forever. <br> -- Executing [s@in-google:1] Wait("Motif/wk-f2e2", "1") in new stack<br><br>
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.<br><br>WARNING[6789][C-0000000f]: channel.c:1304 __ast_queue_frame: Exceptionally long queue length queuing to Motif/wk-e8e6<br>
<br><br>When calling the google voice number, it works fine. Any thought? Thanks.<br>