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