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 havent tried that so far :) wish you luck cheers -----Original Message----- From: Sandesh K [EMAIL PROTECTED] Sent: 06 ???????? 2007 ?. To: seik Subject:Post-url option in HTTP Relay smsc > Hi Seik, > Have been using kannel for some time now. Facing some issues in smsc=http. > 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. > Workaround that i have done is : using mt-2-mo which would use > sms-service post this works but generates 2 msgs. > Also http-smsc is their way to bypass 160characters limit; since > http gateway can take more than 160(long messages); why smpp3.4 > applied to http smsc for message lenght. Http SMSC/gateway would be > doing the required splitting of messages since it would do final submit to > SMSC. > Regards > Sandy > kannel.conf > 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
