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. -----Ursprüngliche Nachricht----- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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 _______________________________________________ --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
