AW: [asterisk-users] ReceiveText()?

Yuan LIU yliu11 at hotmail.com
Sun Feb 25 00:40:39 MST 2007


>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




More information about the asterisk-users mailing list