<div dir="ltr"><div class="gmail_quote">On Mon, Feb 21, 2011 at 1:21 AM, Vladimir Mikhelson <span dir="ltr">&lt;<a href="mailto:vlad@mikhelson.com">vlad@mikhelson.com</a>&gt;</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,  &quot;gtalk/&lt;jabber-conf-section-name&gt;/+$OUTNUM$@<a href="http://voice.google.com" target="_blank">voice.google.com</a>&quot;<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 &quot;@&quot; 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&#39;t hit the context in extensions.conf. I see the call come in on jabber...but I&#39;ve tried almost 4-5 different variations of handling the call in extensions.conf from examples on the web, but nothing happens. I&#39;m on 1.8.5.0. </div>

<div><br></div><div>BTW, there is no Google Voice involved. and I&#39;m calling from from a gmail based gtalk client. Also, I can successfully make an outbound call. Just the inbound isn&#39;t working :( Any help please? </div>

<div><br></div><div>Currently my incoming dial-plan is:</div><div><div>[gtalk-in]</div><div>exten =&gt; s,1,Answer()</div><div>        same =&gt; n,Wait(2)</div><div>        same =&gt; n,SendDTMF(1)</div><div>        same =&gt; 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 &#39;s&#39; extension and that doesn&#39;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=&lt;my external address&gt;</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=&lt;my secret&gt;</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=&quot;On Asterisk&quot;</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="&#39;courier new&#39;, monospace">JABBER: asterisk INCOMING: &lt;iq type=&quot;set&quot; to=&quot;<a href="http://all.eforums@gmail.com/Talk17BFE21F">all.eforums@gmail.com/Talk17BFE21F</a>&quot; id=&quot;CA051C15DD949454&quot; from=&quot;<a href="http://aeg74@gmail.com/gmail.320B5151">aeg74@gmail.com/gmail.320B5151</a>&quot;&gt;&lt;jin:jingle action=&quot;session-initiate&quot; sid=&quot;c1901211999&quot; initiator=&quot;<a href="http://aeg74@gmail.com/gmail.320B5151">aeg74@gmail.com/gmail.320B5151</a>&quot; xmlns:jin=&quot;urn:xmpp:jingle:1&quot;&gt;&lt;jin:content name=&quot;audio&quot; creator=&quot;initiator&quot;&gt;&lt;rtp:description media=&quot;audio&quot; xmlns:rtp=&quot;urn:xmpp:jingle:apps:rtp:1&quot;&gt;&lt;rtp:payload-type id=&quot;103&quot; name=&quot;ISAC&quot; clockrate=&quot;16000&quot;&gt;&lt;rtp:parameter name=&quot;bitrate&quot; value=&quot;32000&quot;/&gt;&lt;/rtp:payload-type&gt;&lt;rtp:payload-type id=&quot;104&quot; name=&quot;ISAC&quot; clockrate=&quot;32000&quot;&gt;&lt;rtp:parameter name=&quot;bitrate&quot; value=&quot;56000&quot;/&gt;&lt;/rtp:payload-type&gt;&lt;rtp:payload-type id=&quot;119&quot; name=&quot;ISACLC&quot; clockrate=&quot;16000&quot;&gt;&lt;rtp:parameter name=&quot;bitrate&quot; value=&quot;40000&quot;/&gt;&lt;/rtp:payload-type&gt;&lt;rtp:payload-type id=&quot;99&quot; name=&quot;speex&quot; clockrate=&quot;16000&quot;&gt;&lt;rtp:parameter name=&quot;bitrate&quot; value=&quot;22000&quot;/&gt;&lt;/rtp:payload-type&gt;&lt;rtp:payload-type id=&quot;97&quot; name=&quot;IPCMWB&quot; clockrate=&quot;16000&quot;&gt;&lt;rtp:parameter name=&quot;bitrate&quot; value=&quot;80000&quot;/&gt;&lt;/rtp:payload-type&gt;&lt;rtp:payload-type id=&quot;9&quot; name=&quot;G722&quot;</font></div>

<div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">[Jul 18 23:36:15]</font></div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">JABBER: asterisk INCOMING: clockrate=&quot;16000&quot;&gt;&lt;rtp:parameter name=&quot;bitrate&quot; value=&quot;64000&quot;/&gt;&lt;/rtp:payload-type&gt;&lt;rtp:payload-type id=&quot;102&quot; name=&quot;iLBC&quot; clockrate=&quot;8000&quot;&gt;&lt;rtp:parameter name=&quot;bitrate&quot; value=&quot;13300&quot;/&gt;&lt;/rtp:payload-type&gt;&lt;rtp:payload-type id=&quot;98&quot; name=&quot;speex&quot; clockrate=&quot;8000&quot;&gt;&lt;rtp:parameter name=&quot;bitrate&quot; value=&quot;11000&quot;/&gt;&lt;/rtp:payload-type&gt;&lt;rtp:payload-type id=&quot;3&quot; name=&quot;GSM&quot; clockrate=&quot;8000&quot;&gt;&lt;rtp:parameter name=&quot;bitrate&quot; value=&quot;13200&quot;/&gt;&lt;/rtp:payload-type&gt;&lt;rtp:payload-type id=&quot;100&quot; name=&quot;EG711U&quot; clockrate=&quot;8000&quot;&gt;&lt;rtp:parameter name=&quot;bitrate&quot; value=&quot;64000&quot;/&gt;&lt;/rtp:payload-type&gt;&lt;rtp:payload-type id=&quot;101&quot; name=&quot;EG711A&quot; clockrate=&quot;8000&quot;&gt;&lt;rtp:parameter name=&quot;bitrate&quot; value=&quot;64000&quot;/&gt;&lt;/rtp:payload-type&gt;&lt;rtp:payload-type id=&quot;0&quot; name=&quot;PCMU&quot; clockrate=&quot;8000&quot;&gt;&lt;rtp:parameter name=&quot;bitrate&quot; value=&quot;64000&quot;/&gt;&lt;/rtp:payload-type&gt;&lt;rtp:payload-type id=&quot;8&quot; name=&quot;PCMA&quot; clockrate=&quot;8000&quot;&gt;&lt;rtp:parameter name=&quot;bitrate&quot; value=&quot;64000&quot;/&gt;&lt;/rtp:payload-type&gt;&lt;rtp:payload-type id=&quot;117&quot; name=&quot;red&quot; clockrate=&quot;8000&quot;/&gt;&lt;rtp:payload-type id=&quot;106&quot; name=&quot;</font></div>

<div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">[Jul 18 23:36:15]</font></div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">JABBER: asterisk INCOMING: telephone-event&quot; clockrate=&quot;8000&quot;/&gt;&lt;/rtp:description&gt;&lt;p:transport xmlns:p=&quot;<a href="http://www.google.com/transport/p2p">http://www.google.com/transport/p2p</a>&quot;/&gt;&lt;/jin:content&gt;&lt;/jin:jingle&gt;&lt;ses:session type=&quot;initiate&quot; id=&quot;c1901211999&quot; initiator=&quot;<a href="http://aeg74@gmail.com/gmail.320B5151">aeg74@gmail.com/gmail.320B5151</a>&quot; xmlns:ses=&quot;<a href="http://www.google.com/session">http://www.google.com/session</a>&quot;&gt;&lt;pho:description xmlns:pho=&quot;<a href="http://www.google.com/session/phone">http://www.google.com/session/phone</a>&quot;&gt;&lt;pho:payload-type id=&quot;103&quot; name=&quot;ISAC&quot; bitrate=&quot;32000&quot; clockrate=&quot;16000&quot;/&gt;&lt;pho:payload-type id=&quot;104&quot; name=&quot;ISAC&quot; bitrate=&quot;56000&quot; clockrate=&quot;32000&quot;/&gt;&lt;pho:payload-type id=&quot;119&quot; name=&quot;ISACLC&quot; bitrate=&quot;40000&quot; clockrate=&quot;16000&quot;/&gt;&lt;pho:payload-type id=&quot;99&quot; name=&quot;speex&quot; bitrate=&quot;22000&quot; clockrate=&quot;16000&quot;/&gt;&lt;pho:payload-type id=&quot;97&quot; name=&quot;IPCMWB&quot; bitrate=&quot;80000&quot; clockrate=&quot;16000&quot;/&gt;&lt;pho:payload-type id=&quot;9&quot; name=&quot;G722&quot; bitrate=&quot;64000&quot; clockrate=&quot;16000&quot;/&gt;&lt;pho:payload-type id=&quot;102&quot; name=&quot;iLBC&quot; bitrate=&quot;13300&quot; clockrate=&quot;8000&quot;/&gt;&lt;pho:payload-type id=&quot;98&quot; name=&quot;speex&quot; bitrate=&quot;11000&quot; clockrate=&quot;8000&quot;/&gt;&lt;pho:payload-type id=&quot;3&quot; name=&quot;GSM&quot; bitrate=&quot;13200&quot; clockrate=&quot;8000&quot;/&gt;&lt;pho:</font></div>

<div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">[Jul 18 23:36:15]</font></div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">JABBER: asterisk INCOMING: payload-type id=&quot;100&quot; name=&quot;EG711U&quot; bitrate=&quot;64000&quot; clockrate=&quot;8000&quot;/&gt;&lt;pho:payload-type id=&quot;101&quot; name=&quot;EG711A&quot; bitrate=&quot;64000&quot; clockrate=&quot;8000&quot;/&gt;&lt;pho:payload-type id=&quot;0&quot; name=&quot;PCMU&quot; bitrate=&quot;64000&quot; clockrate=&quot;8000&quot;/&gt;&lt;pho:payload-type id=&quot;8&quot; name=&quot;PCMA&quot; bitrate=&quot;64000&quot; clockrate=&quot;8000&quot;/&gt;&lt;pho:payload-type id=&quot;117&quot; name=&quot;red&quot; clockrate=&quot;8000&quot;/&gt;&lt;pho:payload-type id=&quot;106&quot; name=&quot;telephone-event&quot; clockrate=&quot;8000&quot;/&gt;&lt;/pho:description&gt;&lt;/ses:session&gt;&lt;/iq&gt;</font></div>

<div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">[Jul 18 23:36:37]</font></div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">JABBER: asterisk INCOMING: &lt;iq type=&quot;set&quot; to=&quot;<a href="http://all.eforums@gmail.com/Talk17BFE21F">all.eforums@gmail.com/Talk17BFE21F</a>&quot; id=&quot;415FBBCB2085F931&quot; from=&quot;<a href="http://aeg74@gmail.com/gmail.320B5151">aeg74@gmail.com/gmail.320B5151</a>&quot;&gt;&lt;jin:jingle action=&quot;session-terminate&quot; sid=&quot;c1901211999&quot; xmlns:jin=&quot;urn:xmpp:jingle:1&quot;&gt;&lt;ses:reason xmlns:ses=&quot;<a href="http://www.google.com/session">http://www.google.com/session</a>&quot;&gt;&lt;ses:connectivity-error/&gt;&lt;/ses:reason&gt;&lt;pho:call-ended xmlns:pho=&quot;<a href="http://www.google.com/session/phone">http://www.google.com/session/phone</a>&quot;/&gt;&lt;/jin:jingle&gt;&lt;ses:session type=&quot;terminate&quot; id=&quot;c1901211999&quot; initiator=&quot;<a href="http://aeg74@gmail.com/gmail.320B5151">aeg74@gmail.com/gmail.320B5151</a>&quot; xmlns:ses=&quot;<a href="http://www.google.com/session">http://www.google.com/session</a>&quot;&gt;&lt;ses:reason&gt;&lt;ses:connectivity-error/&gt;&lt;/ses:reason&gt;&lt;pho:call-ended xmlns:pho=&quot;<a href="http://www.google.com/session/phone">http://www.google.com/session/phone</a>&quot;/&gt;&lt;/ses:session&gt;&lt;/iq&gt;</font></div>

<div style="text-decoration: underline; font-weight: bold; "><br></div></div><div>Thanks in advance</div><div>aeg</div></div></div>