[asterisk-bugs] [Asterisk 0012569]: [branch] Receiving Text from chan_gtalk
Asterisk Bug Tracker
noreply at bugs.digium.com
Thu Sep 18 17:56:35 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: 2008-05-02 00:38 CDT
Last Modified: 2008-09-18 17:56 CDT
======================================================================
Summary: [branch] 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...
======================================================================
----------------------------------------------------------------------
(0092684) asannucci (reporter) - 2008-09-18 17:56
http://bugs.digium.com/view.php?id=12569#c92684
----------------------------------------------------------------------
Hi,
I'm using the Jabberreceive application to permit people create a account
on my asterisk server by calling my asterisk gtalk account from the gtalk
client.
This is the code (maybe not very clean, but work)
[google-in]
exten => s,1,answer()
exten => s,n,SendText("# Menu para configurar tu extension #")
exten => s,n,Set(COUNT=${DB(EXTENSION/PROG)})
exten => s,n,NoOp(${COUNT})
exten => s,n(no),SendText(your extension number will be: ${COUNT})
exten => s,n,SendText(choose a password for your Extension)
exten => s,n,JabberReceive(${CALLERID(name)},RCV_PW,40)
exten => s,n,SendText(Escribe tu nombre y apellido)
exten => s,n,JabberReceive(${CALLERID(name)},RCV_NOME,45)
exten => s,n,SendText(Escribe tu cuenta de correo electronico)
exten => s,n,JabberReceive(${CALLERID(name)},RCV_MAIL,60)
exten => s,n,SendText(## REVISA TUS DATOS ##)
exten => s,n,SendText(## ##)
exten => s,n,SendText(1. Numero Extension: ${COUNT})
exten => s,n,SendText(2. Clave: ${RCV_PW})
exten => s,n,SendText(3. Nombre y Apellido:${RCV_NOME})
exten => s,n,SendText(4. Cuenta de Correo: ${RCV_MAIL})
exten => s,n,SendText(_______________________________)
exten => s,n,SendText(Los datos son correctos? (si/no))
exten => s,n,JabberReceive(${CALLERID(name)},RCV_SINO,30)
exten => s,n,GotoIf($[${RCV_SINO} = si]?si:no)
exten => s,n(si),NoOp(${RCV_MAIL},${RCV_PW},${RCV_NOME})
exten => s,n,System(echo [${COUNT}]"(templ)" >> /etc/asterisk/sip.conf)
exten => s,n,System(echo accountcode=${COUNT} >> /etc/asterisk/sip.conf)
exten => s,n,System(echo dial=SIP/${COUNT} >> /etc/asterisk/sip.conf)
exten => s,n,System(echo callerid=${RCV_NOME} >> /etc/asterisk/sip.conf)
exten => s,n,System(echo mailbox=${COUNT}@default >>
/etc/asterisk/sip.conf)
exten => s,n,System(echo secret=${RCV_PW} >> /etc/asterisk/sip.conf)
exten => s,n,System(/etc/init.d/asterisk reload)
exten => s,n,SendText(Tu extension ha sido configurada)
exten => s,n,SendText(Ahora puedes configurar tu cliente SIP")
exten => s,n,SendText(Usa come nombre de Dominio(Registrar):
sip.voztovoice.net)
exten => s,n,SendText(Puerto: 5060)
exten => s,n,SendText(Para probar el audio llama la extension numero 600)
exten => s,n,SendText(Chao)
exten => s,n,Set(COUNT=$[${COUNT} + 1])
exten => s,n,Set(DB(EXTENSION/PROG)=${COUNT})
exten => s,n,NoOp(${COUNT})
exten => s,n,Wait(1)
exten => s,n,hangup()
Issue History
Date Modified Username Field Change
======================================================================
2008-09-18 17:56 asannucci Note Added: 0092684
======================================================================
More information about the asterisk-bugs
mailing list