Thanks a million, that works like a charm.
BR, - Patrick -
-----Original Message-----
From: asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Anselm
Martin Hoffmeister
Sent: jeudi, 7. juin 2007 10:25
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Sending multiline SMS
Am Donnerstag, den 07.06.2007, 01:15 +0200 schrieb Patrick
Zwahlen:> Hi everyone,
>
> How do you send multiline SMSs using smsq or .call files ?
>
> smsq --motx-channel="mISDN/g:bri/xxxx" 078yyyy "line1
line2"
>
> How can I have a carriage return between line1 and line2 ? I have
> tried the regular \n and \r. No success.
>
> Thanks for any help. - Patrick -
I am not sure about sending texts on command-line (did not work for me
either, although it probably should), but if you write those to a file
instead, it will work:
echo -en "This is a\nmultiline message\n\nCool, eh?" >/tmp/sms1
smsq
--mt --oa=12345 --mttx-callerid=01930101 --mttx-channel="SIP/sip503"
--ud-file="/tmp/sms1"
did the trick for me.
BR
Anselm
_______________________________________________
--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