Hi Just checked on NOW SMS forum, they have this feature in their gateway. Correct requirement is as follows:
Some HTTP based SMSCs prefer to split larger messages themselves. Check “Send long messages without segmentation” if you want the SMSC to split larger messages into multiple SMS messages, or leave this setting unchecked to allow the Now SMS/MMS Gateway to perform necessary segmentation of large messages. Thanking in advance. Regards sandesh k On Wed, 12 Dec 2007 Sandesh K wrote : >hi, > >Changes mentioned have worked; i am able to do POST. >>gw/smsc/smsc_http.c - line 1486 you may change the >>HTTP_METHOD_GET to HTTP_METHOD_POST > >Can you please help me bypassing 160chars limit for HTTP-Relay >SMSC. Since in most cases HTTP Gateway api called from send-url can take more >than 160(long messages); as splitting would be handled by the >api itself as it would be doing the end-delivery to SMSC. > >Thanks in advance. > >Regards >sandesh k > >On Fri, 07 Dec 2007 seik wrote : >>i dont think http_sms will do post anyway >>my opinion is you need patch for that >> >>gw/smsc/smsc_http.c - line 1486 you may change the >>HTTP_METHOD_GET to HTTP_METHOD_POST > > >On Thu, 06 Dec 2007 Sandesh K wrote : >>Hi, >> >>Being using kannel for some time now. >> >>Tried post-url in smsc=http; gave error. Seems does not support as supported >>in sms-service. >>Has anyone faced similar issue earlier. Any patch/workaround for the same as >>http-operator has given post url. >> >>Option can be that i write code which can be used in send-url that would do >>post internally; but would like to prefer options in kannel as provided in >>sms-service. >> >>Also can use mt-mo which would use sms-service post this works but generates >>2 msgs. >> >>Regards >>sandy >> >>group = core >>admin-port = 15001 >>smsbox-port = 15002 >>admin-password = bar >>log-file = "/var/smslog/kannel.log" >>log-level = 0 >>box-deny-ip = "*.*.*.*" >>box-allow-ip = "xx" >>admin-deny-ip = "*.*.*.*" >>admin-allow-ip = "xx" >>access-log = "/var/smslog/bess.log" >>store-file = "/var/smslog/smsq" >> >> >>group = smsc >>smsc = http >>smsc-id = MT2MO >>system-type = kannel >>smsc-username = tester >>smsc-password = foobar >>port = 16013 >>send-url = "http://localhost:16013/cgi-bin/sendsms" >>status-success-regex = "Message sent successfully." >>status-permfail-regex = "Your Request can not be fulfilled now" >>status-tempfail-regex = "retry later" >>connect-allow-ip = "*.*.*.*;127.0.0.1" >>throughput = 20 >> >>group = smsbox >>bearerbox-host = 127.0.0.1 >>sendsms-port = 15013 >>sendsms-chars = "0123456789 +-" >>log-file = "/var/smslog/sbox.log" >>log-level = 0 >>access-log = "/var/smslog/sass.log" >> >>group = sendsms-user >>username = foo >>password = bar >>concatenation = true >>max-messages = 3 >> >>group = sms-service >>keyword = default >>post-url = >>"http://sms.da.com:89/sms/Adapter?username=xxx&password=xxx&orig_no=%P&dest_no=%p&message=%b&priority=0&msg_type=0&val_period=&sch_del=&msg_id=&rep_if_pres=0®_del=0" >>omit-empty = "true" >>max-messages = 0 >> >