[asterisk-users] using gtalk received instant messages in the dialplan

Erik de Wild: Tripple-o info at tripple-o.nl
Wed May 21 16:57:38 CDT 2008


I have been doing some reading about gtalk and asterisk. Most of it is  
pointed to enable using gtalk for making phonecalls. Would it be  
possible to use gtalk instant messaging input (just some text send to  
the gtalk account configured on an asterisk box) into the dialplan.  
This way you could use gtalk im to trigger all kind of events like  
sending an sms, adding sip entries to the system, start conferences  
etc. etc.  The basic question is: is it possible to store the received  
Gtalk message into a variable that can be used to trigger events in a  
dialplan (which isn't actually a "dial" plan anymore) or doesn't  
anything like that exists at this moment. Is this just a crazy thought  
or does the idea of triggering events in the dialplan via Gtalk im  
input make sense.

I was thinking about a call with the im message as a variable in it  
starting a local channel that goes into the relevant part of the  
dialplan.

examples:

sms: "Could you please call Mark"  "0612345678"  for sending an sms
sip_entry:  "500"  "cdwtg_34$"  "ALAW"  "snom320"  for adding a sip  
entry to sip.conf with number 500 and password cdwtg_34$ for a snom320
conference: "0591234567" "0201234567" "0612345678: for setting up a  
conference between this numbers

All the logic has to be in the dialplan or scripts but it all should  
start with receiving a message send by a gtalk client. My personal  
opinion is that it would make a great and easy to explain user  
interface that can be used from every pc and every pda or smartphone.



More information about the asterisk-users mailing list