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

noreply at bugs.digium.com noreply at bugs.digium.com
Mon May 26 20:25:19 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:                     ready for testing
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-26-2008 20:25 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...
====================================================================== 

---------------------------------------------------------------------- 
 eech55 - 05-26-08 20:25  
---------------------------------------------------------------------- 
Hello phsultan. My appologies for the delay.

Tested with revision 118298. Hunks worked smoothly, no compile errors, and
Asterisk does not crash when a Gtalk user calls and immediately ends it (as
it previously did). The patch and application you made seem pretty reliable
and predictable.

So far JabberReceive application is amazing for implementing GTalk chat
conversations with end users. However, as far as extensions are concerned,
there might be a better way for receiving extensions or menu selections.

I think it would be better to integrate the requested extensions with
dialplan similar to other channels. Doing so would result in simpler
extensions.conf file, backward compatibility with previous parts of the
extensions.conf, and applications such as "background" would work as
expected.

Here, the "background" application keeps playing even though the user has
sent some text (supposedly carrying an extension or menu item):

[gtalk-in]
exten => s,1,answer()
exten => s,n,background(press_1_for_foo_or_2_for_bar)
exten => s,n,JabberReceive(foo at gmail.com,SELECTION)
exten => 1,1,....etc
exten => 2,1,....etc
exten => 3,1,....etc

The user would have to hear the complete voice message, and any request
prior to that would not be stored in ${SELECTION} variable. Also,
previously made voice menu would need to be modified in order to adapt
GTalk requests. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
05-26-08 20:25  eech55         Note Added: 0087320                          
======================================================================




More information about the asterisk-bugs mailing list