AW: AW: [asterisk-users] ReceiveText()?

Roland Ndaka Fru pedros09 at ndaka.com
Sun Feb 25 01:06:04 MST 2007


...You can declare a variable whose values gets set/used anywhere in the
dialplan.

Regards,
Roland.

-----Ursprüngliche Nachricht-----
Von: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] Im Auftrag von Yuan LIU
Gesendet: 25 February 2007 08:41
An: asterisk-users at lists.digium.com
Betreff: RE: AW: [asterisk-users] ReceiveText()?

>From: "Roland Ndaka Fru" <pedros09 at ndaka.com>
>Date: Sun, 25 Feb 2007 07:45:57 +0100
>
>Here is how you can send/receive text in the DialPlan using an AGI script:
>
>print STDERR "1.  Testing 'sendtext'...";
>print "SEND TEXT \"hello world\"\n";
>my $result = <STDIN>;
>&checkresult($result);
>
>
>print STDERR "2.  Receiving Text 'receivetext'...";
>print "RECEIVE TEXT 3000\n";
>my $result = <STDIN>;
>&checkresult($result);
>
>Greetz,
>Roland.

That's cool.  Thanks for the pointer, Roland.  Gotta go back to test-agi 
again.

Now, if only one can pass value back into dial plan...

Yuan Liu

>-----Ursprüngliche Nachricht-----
>Von: asterisk-users-bounces at lists.digium.com
>[mailto:asterisk-users-bounces at lists.digium.com] Im Auftrag von Olle E
>Johansson
>Gesendet: 24 February 2007 10:52
>An: Asterisk Users Mailing List - Non-Commercial Discussion
>Betreff: Re: [asterisk-users] ReceiveText()?
>
>
>24 feb 2007 kl. 03.15 skrev Yuan LIU:
>
> > How do I receive text sent from SendText() application?  Asterisk
> > lists text capability, so SendText() is successful.  But I don't
> > see an application to actually use it.
>
>EyeBeam and several SIP phones does receive those messages.
>
>We need to make sure that the application and the parser supports
>UTF8 messages, as both SIP and
>IAX2 is standardized on UTF8 text messaging.
>
>/O


_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users



More information about the asterisk-users mailing list