On Tue, 2004-12-21 at 17:05 +0100, Gutzke Klaus wrote: > Is it possible to use the sms_app over zap without the .call file?
in newer versions of asterisk there is smsq - a tool that sends sms from the command line. see the wiki at http://www.voip-info.org/wiki-Asterisk+cmd+Sms > I tried the example with zap behind a hipath. Reciving a SMS works fine, but > if i send an SMS using the .call file i recive an SMS without a message. > Why didn't you use the lines? > Application: SMS > Data: default,,<MOBILE NUMBER>,<MESSAGE TO SEND> > You didn't need the smsdial context that way!!! you can go without that context but then you have to create too calls. The context contains: exten => _X.,1,SMS(default,,${EXTEN},${MSG}) exten => _X.,2,SMS(default) exten => _X.,3,Hangup The first call to SMS queues the message and the second one actually sends it. AFAIK you can't run two commands (applications) within a call file. Nevertheless if you don't need an officially released version of asterisk go for CVS head and use smsq. stefan _______________________________________________ Asterisk-Users mailing list [email protected] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
