Any help on this issue. S K
s k wrote: > > Hi > > Tried both concatenation = true / false. In true it tries to push > message with 153chars may be reserving 7chars for udh(which is out > of question as far as HTTP-Relay is concerned). It splits the > message in this case. > > In false condition it splits messages but pushes message with > 160chars; must be not pushing any udh in this case. > > In both the cases; it makes 2-3 http calls depending on the > message length. > > Regards > sandesh k > > On Wed, 12 Dec 2007 seik wrote : >>Hi Sandesh, >> >> >>did you set parameter concatenation=true ? >> >> >>-----Original Message----- >> From: Sandesh K [EMAIL PROTECTED] >>Sent: 12 Äåêåìâðè 2007 ã. >>To: seik >>Subject:Post-url option in HTTP Relay smsc >> >> > 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 >> >> >> >> >> > > > > -- View this message in context: http://www.nabble.com/Post-url-option-in-HTTP-Relay-smsc-tp14179126p14370181.html Sent from the Kannel - User mailing list archive at Nabble.com.
