<div dir="ltr"><div class="gmail_quote">On Mon, Feb 21, 2011 at 1:21 AM, Vladimir Mikhelson <span dir="ltr"><<a href="mailto:vlad@mikhelson.com">vlad@mikhelson.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
William,<br>
<br>
It still looks like something is not properly set with your account on<br>
Google Voice. Have you had a chance to follow the recommendations I<br>
gave you earlier in the thread?<br>
<br>
If the account is properly set the dial string will need to look like<br>
this, "gtalk/<jabber-conf-section-name>/+$OUTNUM$@<a href="http://voice.google.com" target="_blank">voice.google.com</a>"<br>
where $OUTNUM$ is a called number in the international format.<br>
<br>
On the receiving end the call will come with an empty CID Number, but<br>
with the CID Name which looks like this:<br>
+<a href="http://15555551212@voice.google.com/srvres-MTAuMjE4LjIuMTk3Ojk4MzM=" target="_blank">15555551212@voice.google.com/srvres-MTAuMjE4LjIuMTk3Ojk4MzM=</a><br>
<br>
Just cut all prior to "@" as a CID Number. See<br>
<div class="im"><a href="https://wiki.asterisk.org/wiki/display/AST/Calling+using+Google" target="_blank">https://wiki.asterisk.org/wiki/display/AST/Calling+using+Google</a><br>
<br>
</div>Also you do not need to wait 5 seconds. 1 or 2 is sufficient.<br>
<font color="#888888"><br>
-Vladimir<br>
</font><div><div></div><div class="h5"><br><br></div></div></blockquote><div>This is a really old thread but I am having the same issues as William was having. The incoming call just doesn't hit the context in extensions.conf. I see the call come in on jabber...but I've tried almost 4-5 different variations of handling the call in extensions.conf from examples on the web, but nothing happens. I'm on 1.8.5.0. </div>
<div><br></div><div>BTW, there is no Google Voice involved. and I'm calling from from a gmail based gtalk client. Also, I can successfully make an outbound call. Just the inbound isn't working :( Any help please? </div>
<div><br></div><div>Currently my incoming dial-plan is:</div><div><div>[gtalk-in]</div><div>exten => s,1,Answer()</div><div> same => n,Wait(2)</div><div> same => n,SendDTMF(1)</div><div> same => n,Dial(SIP/2000,20)</div>
</div><div><br></div><div>and I have tried a whole bunch of stuff in jabber.conf and gtalk.conf but nothing seems to cut it. I have also tried using matching my email address (called gtalk a/c) to match in the exten as opposed to 's' extension and that doesn't work either.</div>
<div><br></div><div>gtalk.conf</div><div>--------------</div><div><div>[general]</div><div>context=gtalk-in</div><div>bindaddr=0.0.0.0</div><div>externip=<my external address></div><div>allowguest=yes</div><div><br>
</div><div>[guest]</div><div>disallow=all</div><div>allow=ulaw</div><div>context=gtalk-in</div><div>connection=asterisk</div><div><br></div><div>[aeg74]</div><div>username=<a href="mailto:aeg74@gmail.com">aeg74@gmail.com</a></div>
<div>disallow=all</div><div>allow=ulaw</div><div>context=gtalk-in</div><div>connection=asterisk</div></div><div><br></div><div>jabber.conf</div><div>============</div><div><div>[general]</div><div>debug=yes</div><div>autoprune=yes</div>
<div>autoregister=yes</div><div><br></div><div>[asterisk]</div><div>type=client</div><div>serverhost=<a href="http://talk.google.com">talk.google.com</a></div><div>username=<a href="http://all.eforums@gmail.com/Talk">all.eforums@gmail.com/Talk</a></div>
<div>secret=<my secret></div><div>port=5222 ; Port to use defaults to 5222</div><div>usetls=yes ; Use tls or not</div><div>usesasl=yes ; Use sasl or not</div>
<div>buddy=<a href="mailto:aeg74@gmail.com">aeg74@gmail.com</a></div><div>status=available</div><div>statusmessage="On Asterisk"</div><div>timeout=100</div></div><div><br></div><div><b><u>This is the debug on jabber</u></b></div>
<div><div><font class="Apple-style-span" face="'courier new', monospace">JABBER: asterisk INCOMING: <iq type="set" to="<a href="http://all.eforums@gmail.com/Talk17BFE21F">all.eforums@gmail.com/Talk17BFE21F</a>" id="CA051C15DD949454" from="<a href="http://aeg74@gmail.com/gmail.320B5151">aeg74@gmail.com/gmail.320B5151</a>"><jin:jingle action="session-initiate" sid="c1901211999" initiator="<a href="http://aeg74@gmail.com/gmail.320B5151">aeg74@gmail.com/gmail.320B5151</a>" xmlns:jin="urn:xmpp:jingle:1"><jin:content name="audio" creator="initiator"><rtp:description media="audio" xmlns:rtp="urn:xmpp:jingle:apps:rtp:1"><rtp:payload-type id="103" name="ISAC" clockrate="16000"><rtp:parameter name="bitrate" value="32000"/></rtp:payload-type><rtp:payload-type id="104" name="ISAC" clockrate="32000"><rtp:parameter name="bitrate" value="56000"/></rtp:payload-type><rtp:payload-type id="119" name="ISACLC" clockrate="16000"><rtp:parameter name="bitrate" value="40000"/></rtp:payload-type><rtp:payload-type id="99" name="speex" clockrate="16000"><rtp:parameter name="bitrate" value="22000"/></rtp:payload-type><rtp:payload-type id="97" name="IPCMWB" clockrate="16000"><rtp:parameter name="bitrate" value="80000"/></rtp:payload-type><rtp:payload-type id="9" name="G722"</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace">[Jul 18 23:36:15]</font></div><div><font class="Apple-style-span" face="'courier new', monospace">JABBER: asterisk INCOMING: clockrate="16000"><rtp:parameter name="bitrate" value="64000"/></rtp:payload-type><rtp:payload-type id="102" name="iLBC" clockrate="8000"><rtp:parameter name="bitrate" value="13300"/></rtp:payload-type><rtp:payload-type id="98" name="speex" clockrate="8000"><rtp:parameter name="bitrate" value="11000"/></rtp:payload-type><rtp:payload-type id="3" name="GSM" clockrate="8000"><rtp:parameter name="bitrate" value="13200"/></rtp:payload-type><rtp:payload-type id="100" name="EG711U" clockrate="8000"><rtp:parameter name="bitrate" value="64000"/></rtp:payload-type><rtp:payload-type id="101" name="EG711A" clockrate="8000"><rtp:parameter name="bitrate" value="64000"/></rtp:payload-type><rtp:payload-type id="0" name="PCMU" clockrate="8000"><rtp:parameter name="bitrate" value="64000"/></rtp:payload-type><rtp:payload-type id="8" name="PCMA" clockrate="8000"><rtp:parameter name="bitrate" value="64000"/></rtp:payload-type><rtp:payload-type id="117" name="red" clockrate="8000"/><rtp:payload-type id="106" name="</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace">[Jul 18 23:36:15]</font></div><div><font class="Apple-style-span" face="'courier new', monospace">JABBER: asterisk INCOMING: telephone-event" clockrate="8000"/></rtp:description><p:transport xmlns:p="<a href="http://www.google.com/transport/p2p">http://www.google.com/transport/p2p</a>"/></jin:content></jin:jingle><ses:session type="initiate" id="c1901211999" initiator="<a href="http://aeg74@gmail.com/gmail.320B5151">aeg74@gmail.com/gmail.320B5151</a>" xmlns:ses="<a href="http://www.google.com/session">http://www.google.com/session</a>"><pho:description xmlns:pho="<a href="http://www.google.com/session/phone">http://www.google.com/session/phone</a>"><pho:payload-type id="103" name="ISAC" bitrate="32000" clockrate="16000"/><pho:payload-type id="104" name="ISAC" bitrate="56000" clockrate="32000"/><pho:payload-type id="119" name="ISACLC" bitrate="40000" clockrate="16000"/><pho:payload-type id="99" name="speex" bitrate="22000" clockrate="16000"/><pho:payload-type id="97" name="IPCMWB" bitrate="80000" clockrate="16000"/><pho:payload-type id="9" name="G722" bitrate="64000" clockrate="16000"/><pho:payload-type id="102" name="iLBC" bitrate="13300" clockrate="8000"/><pho:payload-type id="98" name="speex" bitrate="11000" clockrate="8000"/><pho:payload-type id="3" name="GSM" bitrate="13200" clockrate="8000"/><pho:</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace">[Jul 18 23:36:15]</font></div><div><font class="Apple-style-span" face="'courier new', monospace">JABBER: asterisk INCOMING: payload-type id="100" name="EG711U" bitrate="64000" clockrate="8000"/><pho:payload-type id="101" name="EG711A" bitrate="64000" clockrate="8000"/><pho:payload-type id="0" name="PCMU" bitrate="64000" clockrate="8000"/><pho:payload-type id="8" name="PCMA" bitrate="64000" clockrate="8000"/><pho:payload-type id="117" name="red" clockrate="8000"/><pho:payload-type id="106" name="telephone-event" clockrate="8000"/></pho:description></ses:session></iq></font></div>
<div><font class="Apple-style-span" face="'courier new', monospace">[Jul 18 23:36:37]</font></div><div><font class="Apple-style-span" face="'courier new', monospace">JABBER: asterisk INCOMING: <iq type="set" to="<a href="http://all.eforums@gmail.com/Talk17BFE21F">all.eforums@gmail.com/Talk17BFE21F</a>" id="415FBBCB2085F931" from="<a href="http://aeg74@gmail.com/gmail.320B5151">aeg74@gmail.com/gmail.320B5151</a>"><jin:jingle action="session-terminate" sid="c1901211999" xmlns:jin="urn:xmpp:jingle:1"><ses:reason xmlns:ses="<a href="http://www.google.com/session">http://www.google.com/session</a>"><ses:connectivity-error/></ses:reason><pho:call-ended xmlns:pho="<a href="http://www.google.com/session/phone">http://www.google.com/session/phone</a>"/></jin:jingle><ses:session type="terminate" id="c1901211999" initiator="<a href="http://aeg74@gmail.com/gmail.320B5151">aeg74@gmail.com/gmail.320B5151</a>" xmlns:ses="<a href="http://www.google.com/session">http://www.google.com/session</a>"><ses:reason><ses:connectivity-error/></ses:reason><pho:call-ended xmlns:pho="<a href="http://www.google.com/session/phone">http://www.google.com/session/phone</a>"/></ses:session></iq></font></div>
<div style="text-decoration: underline; font-weight: bold; "><br></div></div><div>Thanks in advance</div><div>aeg</div></div></div>