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

noreply at bugs.digium.com noreply at bugs.digium.com
Fri May 9 16:02:33 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-09-2008 16:02 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-09-08 16:02  
---------------------------------------------------------------------- 
Thanks phsultan, great effort :-)


It worked perfectly without trouble. All hunks and compilation went
smoothly, without the need of manual attention.

There were issues, however, they existed before I applied the patch as
well. These issues didn't exist with version 1.4.19.1.

The 1st thing is, when a GTalk user is ringing a SIP or IAX2 phone, and
the latter rejects the call, the GTalk user doesn't detect it, and no
OUTGOING Jabber XML messages are displayed in Asterisk's CLI (so I assume
Asterisk doesn't send any kind of notification to GTalk users in such
condition). When the SIP/IAX2 phone accepts the call, it works fine,
however it shows two notices (I've added new lines for sake of
visibility):

[May 10 00:50:51] NOTICE[97664]:
chan_gtalk.c:1454 gtalk_indicate: Don't know how to indicate condition
'-1'
[May 10 00:50:51] NOTICE[97664]:
chan_gtalk.c:1454 gtalk_indicate: Don't know how to indicate condition
'20'


Another issue issue is, when a SIP phone calls an extension that evolves
dialing a GTalk account (e.g. exten
=>123,1,dial(Gtalk/asterisk/foo at gmail.com)),  the call goes down
immediately and shows "service or option unavailable" (as Zoiper shows)

IAX account, keeps showing "Dialing", however no dial tune is heard.
Tested with Zoiper as well.

On the GTalk account side. GTalk doesn't ring, however, a conversation
window opens. The weird thing is that the conversation window doesn't
include any text messages.

On Asterisk's CLI side, it shows the usual JABBER conversation in XML
format, which basically says "error, bad-request, unknown session" in the
last INCOMING message that Asterisk received. The complete conversation is
uploaded.

So, basically, calls from GTalk toward any SIP phone and JabberReceive
work perfectly. For example, I'm able to serve voice menus and receive
input text (DTMF) from the GTalk user and place calls accordingly. The
problem resides when others (SIP/IAX as I tested) are calling GTalk users.

Please let me know if you need more input.


Kind regards,
M. Khonji 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
05-09-08 16:02  eech55         Note Added: 0086681                          
======================================================================




More information about the asterisk-bugs mailing list