Thanks Nicolas, gotcha... Regards,
Tarun |------------> | From: | |------------> >----------------------------------------------------------------------------------------------------------------------------------------| |"Nikos Balkanas" <[email protected]> | >----------------------------------------------------------------------------------------------------------------------------------------| |------------> | To: | |------------> >----------------------------------------------------------------------------------------------------------------------------------------| |"tarungoswami" <[email protected]>, <[email protected]> | >----------------------------------------------------------------------------------------------------------------------------------------| |------------> | Date: | |------------> >----------------------------------------------------------------------------------------------------------------------------------------| |05/25/2010 01:51 PM | >----------------------------------------------------------------------------------------------------------------------------------------| |------------> | Subject: | |------------> >----------------------------------------------------------------------------------------------------------------------------------------| |Re: sms is delivered to the FROM number everytime | >----------------------------------------------------------------------------------------------------------------------------------------| Hi, Please read User's guide to understand difference between MT & MO SMS. sms-service is used only by MOs. An MO always returns to sender. What you have in your logs is an MO SMS, not your MT. BR, Nikos ----- Original Message ----- From: "Nikos Balkanas" <[email protected]> To: "tarungoswami" <[email protected]>; <[email protected]> Sent: Tuesday, May 25, 2010 10:34 AM Subject: Re: sms is delivered to the FROM number everytime > Hi, > > Please post detailed bb + smsbox logs of the attempt. > ----- Original Message ----- > From: "tarungoswami" <[email protected]> > To: <[email protected]> > Sent: Tuesday, May 25, 2010 6:15 AM > Subject: sms is delivered to the FROM number everytime > > >> >> Dear Team, >> I am using Kannel 1.4.3 on windows. I am using my GSM phone(9810689924) >> as >> modem. smskannel.conf file which is used to run bearerbox and smsbox is >> also >> attached. >> >> When I try an dsend sms using following url : >> >> http://100.1.1.15:13015/cgi-bin/sendsms?username=test&password=test&to=9899796363&from=9810689924&text=tcs >> >> I get a "sent" response but the sms is delivered to the from number i.e >> 9810689924 >> >> I checked access.log and I could see following : >> >> 2010-05-20 16:06:55 Receive SMS [SMSC:HTTP] [SVC:test] [ACT:] [BINF:] >> [FID:] >> [from:9810689924] [to:9899796363] [flags:-1:-1:-1:-1:-1] [msg:3:tcs] >> [udh:0:] >> 2010-05-20 16:06:55 SMS request sender:9810689924 request: 'tcs' fixed >> answer: ' testing again : Please let me know if you get this message >> :Tarun' >> 2010-05-20 16:07:03 Sent SMS [SMSC:E62] [SVC:] [ACT:] [BINF:] [FID:] >> [from:9810689924] [to:9810689924] [flags:-1:0:-1:-1:-1] [msg:66:testing >> again : Please let me know if you get this message :Tarun] [udh:0:] >> >> If you see in first log line...from and to numbers are correct but in the >> third/last line above i do know how the from and to number have become >> equal >> or same. >> >> Please help!! >> >> >> My Conf File: >> # >> # >> # This works with the default binary Kannel distribution for cygwin >> # >> # It is run like this from the cygwin shell - >> # >> # 1% bin/bearerbox smskannel.conf >> # 2% bin/smsbox smskannel.conf >> # 3% test/fakesmsc -p 10000 -H localhost -i 1 -m 100 "123 345 text nop" >> # >> # ..all 3 commands in separate shells (or screen sessions) >> # >> # The binaries bearerbox, smsbox, fakemsc are located in the default >> kannel >> distro >> # >> # For any modifications to this file, see Kannel User Guide >> # If that does not help, send email to us...@xxxxxxxxxx >> # >> # Kalle Marjola May 2000 >> # Changed for new fakesmsc version by Uoti Urpala Jan 2001 >> # Added service and sendsms for HTTP SMSC by Kalle Marjola Mar 2001 >> # >> >> group = core >> admin-port = 13000 >> smsbox-port = 13001 >> admin-password = bar >> #admin-deny-ip = "" >> #admin-allow-ip = "" >> log-file = "/tmp/kannel.log" >> log-level = 2 >> box-deny-ip = "*.*.*.*" >> box-allow-ip = "127.0.0.1" >> unified-prefix = "00358,0" >> access-log = "/tmp/access.log" >> #store-file = "kannel.store" >> #ssl-certkey-file = "mycertandprivkeyfile.pem" >> >> >> # SMSC CONNECTIONS >> >> #group = smsc >> #smsc = fake >> #smsc-id = FAKE >> #port = 10000 >> #host=localhost >> #connect-allow-ip = 127.0.0.1 >> >> >> group = smsc >> smsc = at >> smsc-id = E62 >> modemtype = nokiaphone >> device = /dev/com7 >> connect-allow-ip = 127.0.0.1 >> log-level = 2 >> speed = 460800 >> log-file = "/tmp/e62.log" >> >> >> group = smsc >> smsc = http >> smsc-id = HTTP >> system-type = kannel >> smsc-username = test >> smsc-password =test >> port = 13015 >> send-url = "http://100.1.1.15:13015/cgi-bin/sendsms" >> connect-allow-ip = "*.*.*.*" >> log-level = 2 >> device = /dev/com7 >> log-file = "/tmp/http.log" >> >> >> # SMSBOX SETUP >> >> group = smsbox >> #smsbox-id = abc >> bearerbox-host = 100.1.1.15 >> sendsms-port = 13013 >> global-sender = 9810689924 >> #endsms-chars = "0123456789 +-" >> #log-file = "/tmp/smsbox.log" >> log-level = 2 >> access-log = "access.log" >> sendsms-url = /cgi-bin/sendsms >> log-file = "abc.log" >> >> >> >> >> # SEND-SMS USERS >> >> group = sendsms-user >> username = tester >> password = foobar >> #user-deny-ip = "" >> user-allow-ip = "*.*.*.*" >> >> # this sender is for Kannel relay testing (http_smsc) >> >> group = sendsms-user >> username = kannel >> password = rL4y >> user-deny-ip = "*.*.*.*" >> user-allow-ip = "*.*.*.*" >> >> >> >> # >> # The services should go in a separate file to make it easier for >> development >> # >> >> # SERVICES >> >> group = sms-service >> keyword = tcs >> text = "testing again : Please let me know if you get this message >> :Tarun" >> >> # this service is for Kannel relay testing, when this Kannel >> # works as relay gateway >> >> group = sms-service >> keyword = relay >> get-url = >> "http://localhost:15130/sms?user=kannel&pass=rL4y&from=%p&to=%P&text=%r "; >> max-messages = 0 >> >> # >> # Skava test service >> # >> group = sms-service >> keyword = hello >> text = "Hello world there!" >> >> >> # there should be default always >> >> group = sms-service >> keyword = default >> text = "No service specified" >> exec = /kannel_incoming %t %q %a >> >> >> >> # >> # modems.conf, again should be a different file and included as >> # include = "/path/to/modems.conf" >> # >> >> # Modems configuration >> # >> # Example and default values >> # >> >> group = modems >> id = nokiaphone >> name = "Nokia Phone" >> detect-string = "Nokia Mobile Phone" >> detect-string2 = "E61i" >> need-sleep = true >> keepalive-cmd = "AT+CBC;+CSQ" >> #init-string = "AT Q0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 >> init-string = "AT" >> #enable-mms = true >> >> >> >> -- >> View this message in context: >> http://old.nabble.com/sms-is-delivered-to-the-FROM-number-everytime-tp28629983p28629983.html >> Sent from the Kannel - User mailing list archive at Nabble.com. >> >> > > =====-----=====-----===== Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you
