<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffcc" text="#330000">
silvia,<br>
<br>
I don't know how to pickup the message but if it is getting into the
dailplan as a variable, you can send it to an AGI() script as a
parameter...<br>
AGI(my_script.php,${IM_TEXT})<br>
if you give me an example of what you have already, perhaps I can think
on it more...<br>
daveC<br>
<br>
cimsi wrote:
<blockquote cite="midJQDIAK$064480AAA146E18B77572DE868B7EC65@libero.it"
type="cite">
<pre wrap="">Hi,
I know that Asterisk doesn't support Instant Messaging, but I'm trying to use the AGI function RECEIVE TEXT to implement a kind of IM service.
I have a sip softphone that tries to send a message to an active channel and the AGI script that expect to receive the text through the STDIN.
Two problems arise:
First: How can I say to asterisk to get the message? (I see on CLI console that the message arrives to asterisk but it drops it)
Second: how can I put this message in STDIN to let the AGI read it?
Has anybody used this feature? Can someone give an example of how to use it?
Any asuggestion would be appreciated.. thank you.
Silvia
_______________________________________________
--Bandwidth and Colocation Provided by <a class="moz-txt-link-freetext" href="http://www.api-digital.com">http://www.api-digital.com</a>--
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
<a class="moz-txt-link-freetext" href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="132">--
My wife's sister is in California.
I should buy her a Videophone2008!
Truly, The Next Best Thing to Being There!
--
WorldWideVideoPhones.com
856.380.0894
</pre>
</body>
</html>