[asterisk-bugs] [Asterisk 0012569]: Receiving Text from chan_gtalk

noreply at bugs.digium.com noreply at bugs.digium.com
Wed May 14 13:43:52 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12569 
====================================================================== 
Reported By:                eech55
Assigned To:                phsultan
====================================================================== 
Project:                    Asterisk
Issue ID:                   12569
Category:                   Channels/chan_gtalk
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     feedback
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 115340 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             05-02-2008 00:38 CDT
Last Modified:              05-14-2008 13:43 CDT
====================================================================== 
Summary:                    Receiving Text from chan_gtalk
Description: 
Hello,

So far, chan_gtalk sends text to GTalk clients only. There is no way to
hear input from them which limit us a lot.

It will be awesome if we are able to receive text from GTalk users, to
provide extra services such as:

1) Voice menus. The user can select menus by sending corresponding keys
2) Or, "text" menus by which the chan_gtalk replies by text messages
instead of voice

I am glad that phsultan thought about it, however very disappointed that
it was canceled.
http://bugs.digium.com/bug_view_advanced_page.php?bug_id=8659


======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0008659 [patch] Add a jabber text receiver appl...
====================================================================== 

---------------------------------------------------------------------- 
 PH - 05-14-08 13:43  
---------------------------------------------------------------------- 
New Patch : trunk-12569-2.diff tested.

## Jabber.conf :

[general]
debug=yes                               ;;Turn on debugging by default.
autoprune=no                            ;;Auto remove users from buddy
list.
autoregister=no                 ;;Auto register users from buddy list.

[compteJabber]                          ;;label
type=client                             ;;Client or Component connection
serverhost=10.128.16.10
username=serveurtable9 at 10.128.16.10      ;;Username with optional roster.
secret=toto
statusmessage="Serveur Asterisk"       ;;Have custom status message for
status=available

## extensions.conf :
...
exten => 599,1,Answer
exten => 599,2,JabberSend(compteJabber,empathy at 10.128.16.10,Entrez le
numéro à composer)
exten => 599,3,JabberReceive(NUMERO)
exten => 599,4,JabberSend(compteJabber,empathy at 10.128.16.10,${NUMERO})
exten => 599,5,HangUp

## gtalk.conf : leaved to default 
                            
## Launching asterisk (trunk from today) :

JABBER: compteJabber INCOMING: <?xml version='1.0'
encoding='UTF-8'?><stream:stream
xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client"
from="10.128.16.10" id="c6966ec4" xml:lang="en"
version="1.0"><stream:features><starttls
xmlns="urn:ietf:params:xml:ns:xmpp-tls"></starttls><mechanisms
xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>DIGEST-MD5</mechanism><mechanism>PLAIN</mechanism><mechanism>ANONYMOUS</mechanism><mechanism>CRAM-MD5</mechanism></mechanisms><compression
xmlns="http://jabber.org/features/compress"><method>zlib</method></compression><auth
xmlns="http://jabber.org/features/iq-auth"/><register
xmlns="http://jabber.org/features/iq-register"/></stream:features>

JABBER: compteJabber OUTGOING: <starttls
xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>

JABBER: compteJabber INCOMING: <proceed
xmlns="urn:ietf:params:xml:ns:xmpp-tls"/>

JABBER: compteJabber OUTGOING: <?xml version='1.0'?><stream:stream
xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:client'
to='10.128.16.10' version='1.0'>

JABBER: compteJabber INCOMING: <?xml version='1.0'
encoding='UTF-8'?><stream:stream
xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client"
from="10.128.16.10" id="c6966ec4" xml:lang="en"
version="1.0"><stream:features><mechanisms
xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>DIGEST-MD5</mechanism><mechanism>PLAIN</mechanism><mechanism>ANONYMOUS</mechanism><mechanism>CRAM-MD5</mechanism></mechanisms><compression
xmlns="http://jabber.org/features/compress"><method>zlib</method></compression><auth
xmlns="http://jabber.org/features/iq-auth"/><register
xmlns="http://jabber.org/features/iq-register"/></stream:features>

JABBER: compteJabber OUTGOING: <auth
xmlns='urn:ietf:params:xml:ns:xmpp-sasl'
mechanism='PLAIN'>AHNlcnZldXJ0YWJsZTkAdG90bw==</auth>

JABBER: compteJabber INCOMING: <success
xmlns="urn:ietf:params:xml:ns:xmpp-sasl"/>

JABBER: compteJabber OUTGOING: <?xml version='1.0'?><stream:stream
xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:client'
to='10.128.16.10' version='1.0'>

JABBER: compteJabber INCOMING: <?xml version='1.0'
encoding='UTF-8'?><stream:stream
xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client"
from="10.128.16.10" id="c6966ec4" xml:lang="en"
version="1.0"><stream:features><compression
xmlns="http://jabber.org/features/compress"><method>zlib</method></compression><bind
xmlns="urn:ietf:params:xml:ns:xmpp-bind"/><session
xmlns="urn:ietf:params:xml:ns:xmpp-session"/></stream:features>

JABBER: compteJabber OUTGOING: <iq type='set' id='aaaaa'><bind
xmlns='urn:ietf:params:xml:ns:xmpp-bind'><resource>asterisk</resource></bind></iq>

JABBER: compteJabber OUTGOING: <iq type='set' id='auth'><session
xmlns='urn:ietf:params:xml:ns:xmpp-session'/></iq>

JABBER: compteJabber INCOMING: <iq type="result" id="aaaaa"
to="10.128.16.10/c6966ec4"><bind
xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>serveurtable9 at 10.128.16.10/asterisk</jid></bind></iq>

JABBER: compteJabber OUTGOING: <presence
from='serveurtable9 at 10.128.16.10/asterisk'><status>&quot;Serveur
Asterisk&quot;</status><priority>0</priority><c
node='http://www.asterisk.org/xmpp/client/caps' ver='asterisk-xmpp'
ext='voice-v1' xmlns='http://jabber.org/protocol/caps'/></presence>

JABBER: compteJabber OUTGOING: <iq type='get' id='roster'><query
xmlns='jabber:iq:roster'/></iq>

JABBER: compteJabber INCOMING: <iq type="result" id="auth"
to="serveurtable9 at 10.128.16.10/asterisk"><session
xmlns="urn:ietf:params:xml:ns:xmpp-session"/></iq>
Erreur de segmentation 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
05-14-08 13:43  PH             Note Added: 0086860                          
======================================================================




More information about the asterisk-bugs mailing list