Hello users,<div><br></div><div>I am trying to integrate asterisk and gtalk.</div><div><br></div><div>my configuration is as follows</div><div><br></div><div>OS:centos</div><div>asterisk-1.6.0 </div><div>asterisk-addons-1.6.0</div>
<div><div>dahdi-linux-2.2</div><div>dahdi-tools-2.2 </div></div><div>libpri-1.4 share</div><div>iksemel-1.2 </div><div><br></div><div>#/etc/asterisk/jabber.conf</div><div> [general]<div>debug=yes </div>
<div>autoprune=no </div><div>autoregister=no </div><div><br></div><div>[google]</div><div>type=client</div><div>serverhost=<a href="http://talk.google.com">talk.google.com</a></div><div>
username=<a href="mailto:XXXX@gmail.com">XXXX@gmail.com</a></div><div>secret=xxxxx</div><div>port=5222</div><div>usetls=yes</div><div>usesasl=yes</div><div>statusmessage="Invox Google Talk"</div><div>timeout=100</div>
<div><br></div><div><br></div><div># /etc/asterisk/gtalk.conf[general]</div><div>context=google-in </div><div>bindaddr=192.168.1.74 </div><div>allowguest=yes </div><div> </div>
<div>[guest] </div><div>;disallow=all</div><div>allow=ulaw</div><div>context=google-in</div><div><br></div><div>[test]</div><div>username=<a href="mailto:YYYY@gmail.com">YYYY@gmail.com</a></div><div>disallow=all</div>
<div>allow=ulaw</div><div>context=google-in</div><div>connection=google</div><div><br></div><div># /etc/asterisk/extensions.conf</div><div><br></div><div><div>[google-in]</div><div><br></div><div>;Incoming</div><div><br></div>
<div>exten => s,1,NoOp(call from Google Talk)</div><div>exten => s,n,Set(CALLERID(name)="From Google Talk")</div><div>exten => s,n,Dial(SIP/1000,20,r)</div><div>exten => s,n,Hangup()</div><div><br></div>
<div>;Outgoing</div><div>exten => 100,1,JabberStatus(google,<a href="mailto:YYYY@gmail.com">YYYY@gmail.com</a>,STATUS)</div><div>exten => 100,n,NoOp(Jabber Status=${STATUS})</div><div>exten => 100,n,Dial(Gtalk/google/<a href="http://invoxgtalk@gmail.com/Talk">invoxgtalk@gmail.com/Talk</a>)</div>
<div>exten => 100,n,Hangup()</div><div><br></div><div><br></div><div># /etc/asterisk/rtp.conf</div><div><div><br></div><div>rtpstart=1650</div><div>rtpend=4560</div><div><br></div><div><br></div><div>ports opened on the router</div>
<div><br></div><div>tcp 443 -incoming, outgoing</div><div>tcp 5222-incoming,outgoing</div><div>udp- all open incoming, outgoing</div></div><div><br></div></div><div><br></div><div>-> i am able to call from my external gtalk client to the server configured user</div>
<div> </div><div> # this case is working fine</div><div><br></div><div> Executing [s@google-in:1] NoOp("Gtalk/YYYYY-49af", "call from Google Talk") in new stack</div><div> Executing [s@google-in:2] Set("Gtalk/YYYYY-49af", "CALLERID(name)="From Google Talk"") in new stack</div>
<div> Executing [s@google-in:3] Dial("Gtalk/YYYYY-49af", "SIP/1000,20,r") in new stack</div><div> Using SIP RTP CoS mark 5</div><div> -- Called 1000</div><div><br></div><div><br></div><div>-> when i try to call from asterisk to the external client </div>
<div> </div><div> # this case is not working and throwing following error</div><div><br></div><div><div> Executing [100@google-in:1] JabberStatus("SIP/1000-0000000e", "google,<a href="mailto:YYYYY@gmail.com">YYYYY@gmail.com</a>,STATUS") in new stack</div>
<div> Executing [100@google-in:2] NoOp("SIP/1000-0000000e", "Jabber Status=1") in new stack</div><div> Executing [100@google-in:3] Dial("SIP/1000-0000000e", "Gtalk/google/<a href="http://YYYYY@gmail.com/Talk">YYYYY@gmail.com/Talk</a>") in new stack</div>
<div><br></div><div> [Nov 30 16:22:25] ERROR[16255]: chan_gtalk.c:932 gtalk_alloc: no gtalk capable clients to talk to.</div><div><br></div><div> [Nov 30 16:22:25] WARNING[16255]: app_dial.c:1518 dial_exec_full: Unable to create channel of type 'Gtalk' (cause 0 - Unknown)</div>
<div><br></div><div> Everyone is busy/congested at this time (1:0/0/1)</div><div> Executing [100@google-in:4] Hangup("SIP/1000-0000000e", "") in new stack</div><div> Spawn extension (google-in, 100, 4) exited non-zero on 'SIP/1000-0000000e'</div>
<div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div>###############</div><div>asterisk cli out put</div><div>###############</div><div><br></div><div>> jabber show connected</div><div><br></div>
<div> User: <a href="mailto:XXXXX@gmail.com">XXXXX@gmail.com</a> - Connected</div><div><br></div><div>>jabber show buddies</div><div><br></div><div><div> <a href="mailto:YYYYY@gmail.com">YYYYY@gmail.com</a></div>
<div>localhost*CLI> Resource: Talk.v104C77D0BCE</div><div>localhost*CLI> node: <a href="http://www.google.com/xmpp/client/caps">http://www.google.com/xmpp/client/caps</a></div><div>localhost*CLI> version: 1.0.0.104</div>
<div>localhost*CLI> Jingle capable: yes</div><div><br></div><div><br></div><div>> gtalk show channels</div><div>Channel Jabber ID Resource Read Write</div>
<div>0 active gtalk channels</div><div><br></div><div><br></div><div><div>i am getting error "no gtalk capable clients to talk to"</div><div><br></div><div>i tried with both asterisk 1.4.25 version and asterisk 1.6.0 but no difference </div>
<div><br></div><div>anybody can help me out finding a forward move on this???</div><div><br></div></div><div><br></div><div><br></div><div><br></div><div><br></div><div>Thanks in advance</div></div><div>srinivas</div></div>
<div><br></div><div><br></div><div><br></div><br>
</div>