diff options
author | Jonas Smedegaard <dr@jones.dk> | 2010-07-07 05:11:48 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2010-07-07 05:11:48 +0200 |
commit | 7193c2c0de0849dad1af6631a7ea9bf289d735b2 (patch) | |
tree | 394649e302426c8c421833b4f22cf4cf08196009 /localkannel-dispatch | |
parent | 312dd688350b570b5a7eb7a11f9f725252bfbedb (diff) |
Support Kannel concatenation flag, and transliterate from iso8859-1 also for Kannel.
Diffstat (limited to 'localkannel-dispatch')
-rwxr-xr-x | localkannel-dispatch | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/localkannel-dispatch b/localkannel-dispatch index 2c768af..7b43ff4 100755 --- a/localkannel-dispatch +++ b/localkannel-dispatch @@ -118,12 +118,14 @@ case "$provider" in # Kannel generic profile supports req_feat but not concatenation clickatell_via_kannel) SMS_SMSC="X" + SMS_CONCATENATION="1" SMS_DLR_MASK="7" SMS_DLR_URL="http://helloearth.jones.dk/test.cgi?type=dlr&msgid=XXX&smsid=%I&from=%p&to=%P&time=%t&unixtime=%T&dlr=%d&dlrmsg=%A" + SMS_CP="iso8859-1" SMS_VALIDITY="1" SMS_BINFO="req_feat=24611&concat=3&escalate=1%validity=1" # 1+2+32+8192+16384 = text+8bit+numeric_src+dlr+concat stripprefix="1" - export SMS_SMSC SMS_DLR_MASK SMS_DLR_URL SMS_VALIDITY SMS_BINFO stripprefix + export SMS_SMSC SMS_CONCATENATION SMS_DLR_MASK SMS_DLR_URL SMS_CP SMS_VALIDITY SMS_BINFO stripprefix ;; routo_via_kannel) SMS_SMSC="Y" |