Fw: how to receiver MMS from the mobile
good news i can use a CGI program to receive the MMS now so i can transfer it to othermobiles .but must change the header of the MMS a little new problem is How to build a m_send_conf back to the MS? if not send ,the MS always siad send MMS failed (send-request,with the MMS) MS - WAP(kannel) ---MMS Proxy-Relay(my apache server) (m_send_conf) (1)?? MS -WAP(kannel) --MMS Proxy-Relay i dont know how to build and send the M_Send.conf (1) back to kannel.
Re: ways to write sms application?
you can add a database to store the sms as history better
Re: How to use MMS?
Kannel not wrong, but the sendota.php is wrong(if use php3) i find a little error in the functions.inc(the interface kannel provide for send sms and admin) function octstr_append_cstr($mystring) { echo($mystring); for($pos=0;$posstrlen($mystring);$pos++) // $mystring2 .= sprintf(%%%02x,$mystring[$pos]);// here is wrong if use php3 $mystring2 .= sprintf(%%%02x,ord($mystring[$pos]));// if use this ,it will be right echo($mystring2); return ($mystring2); } my Nokia 7110 and 6610 can recognize the OTA setting, but why cant be recognized by Motorola V66(GPRS) and 388??
Re: How to use MMS?
it doesnt work! my config is : group = core admin-port = 13000 smsbox-port = 13001 wapbox-port = 13002 admin-password = ww wdp-interface-name = * #log-file = /tmp/bearerbox.log #log-level = 0 #box-deny-ip = *.*.*.* box-allow-ip = *.*.*.* unified-prefix = +87 #access-log = access.log #store-file = kannel.store #ssl-server-cert-file = cert.pem #ssl-server-key-file = key.pem # WAPBOX SETUP, for pushing and for pulling (fetching) the wap data group = wapbox bearerbox-host = 192.168.6.168 #log-file = /tmp/wapbox.log #log-level = 0 syslog-level = none # PPG CORE SETUP, for defining the push request interface group = ppg ppg-url = /cgi-bin/wap-push.cgi ppg-port = 8080 #ppg-ssl-port = 8081 concurrent-pushes = 100 trusted-pi = false users = 1024 ppg-deny-ip = 194.100.32.89;194.100.32.103 ppg-allow-ip = *.*.*.* #ssl-server-cert-file = /Users/aarno/gateway/test/cert.pem #ssl-server-key-file = /Users/aarno/gateway/test/key.pem # PPG USER SETUP, for authorizing a specific push user group = wap-push-user wap-push-user = ww ppg-username = ww ppg-password = ww # Note that prefixes must have an international format. So the country # prefix must be added here. country-prefix = +358 allowed-prefix = 40;60;70 denied-prefix = 50 #white-list = http://localhost:8082/whitelist #black-list = http://localhost:8082/blacklist allow-ip = *.*.*.*; #deny-ip = 194.100.32.82 # SMSC CONNECTIONS, for pushing SI or SL over SMS group = smsc smsc = at2 smsc-id = at2 device = /dev/ttys0 speed = 19200 # SMSBOX SETUP (a kludge !) group = smsbox bearerbox-host = 192.168.6.168 sendsms-port = 13013 #global-sender = 13013 #sendsms-chars = 0123456789 +- #log-file = /tmp/smsbox.log #log-level = 0 #access-log = access.log group = sendsms-user username = ww password = ww user-allow-ip = *.*.*.* max-messages = 3 concatenation = ture where is wrong? the OTA sms is too short for the device to config the browse correctly the gw send only one SMS not many HTTP: Creating HTTPClient for `192.168.6.168'. 2003-01-22 17:56:01 [3] INFO: smsbox: Got HTTP request /cgi-bin/sendsms from 192.168.6.168 2003-01-22 17:56:01 [3] INFO: sendsms used by ww 2003-01-22 17:56:01 [3] INFO: sendsms sender:ww:099966 (192.168.6.168) to: 1 msg:?? 2003-01-22 17:56:01 [3] DEBUG: Octet string at 0x809bf20: 2003-01-22 17:56:01 [3] DEBUG: len: 83 2003-01-22 17:56:01 [3] DEBUG: size: 84 2003-01-22 17:56:01 [3] DEBUG: immutable: 0 2003-01-22 17:56:01 [3] DEBUG: data: 01 06 04 03 94 81 ea 00 2003-01-22 17:56:01 [3] DEBUG: data: 01 45 c6 06 01 87 12 ff .E.. 2003-01-22 17:56:01 [3] DEBUG: data: 01 87 13 11 03 01 00 01 2003-01-22 17:56:01 [3] DEBUG: data: 87 14 61 01 87 21 11 03 ..a..!.. 2003-01-22 17:56:01 [3] DEBUG: data: 01 00 01 87 22 70 01 87 p.. 2003-01-22 17:56:01 [3] DEBUG: data: 23 11 03 00 00 00 01 87 #... 2003-01-22 17:56:01 [3] DEBUG: data: 24 11 03 00 00 00 01 87 $... 2003-01-22 17:56:01 [3] DEBUG: data: 28 73 01 87 29 6b 01 01 (s..)k.. 2003-01-22 17:56:01 [3] DEBUG: data: 86 07 11 03 01 00 01 c6 2003-01-22 17:56:01 [3] DEBUG: data: 08 01 87 15 11 03 01 00 2003-01-22 17:56:01 [3] DEBUG: data: 01 01 01 ... 2003-01-22 17:56:01 [3] DEBUG: Octet string dump ends. 2003-01-22 17:56:01 [3] DEBUG: message length 83, sending 1 messages 2003-01-22 17:56:01 [3] DEBUG: Status: 202 Answer: Sent.
Re: How to use MMS?
no! Kannel divided the OTA sms coreectly,if it is too long; my nokia 6610 received the sms and recognized it but it is empty i use php3.0, data: 01 06 04 03 94 81 ea 00 2003-01-23 12:09:04 [3] DEBUG: data: 01 45 c6 06 01 87 12 ff .E.. 2003-01-23 12:09:04 [3] DEBUG: data: 01 87 13 11 03 31 39 32 .192 2003-01-23 12:09:04 [3] DEBUG: data: 2e 31 36 38 2e 36 2e 31 .168.6.1 2003-01-23 12:09:04 [3] DEBUG: data: 36 38 00 01 87 14 61 01 68a. 2003-01-23 12:09:04 [3] DEBUG: data: 87 21 11 03 71 71 00 01 .!..qq.. 2003-01-23 12:09:04 [3] DEBUG: data: 87 22 70 01 87 23 11 03 .p..#.. 2003-01-23 12:09:04 [3] DEBUG: data: 77 77 00 01 87 24 11 03 ww...$.. 2003-01-23 12:09:04 [3] DEBUG: data: 77 77 00 01 87 28 73 01 ww...(s. 2003-01-23 12:09:04 [3] DEBUG: data: 87 29 6b 01 01 86 07 11 .)k. 2003-01-23 12:09:04 [3] DEBUG: data: 03 68 74 74 70 3a 2f 2f .http:// 2003-01-23 12:09:04 [3] DEBUG: data: 77 61 70 2e 79 6f 75 72 wap.your 2003-01-23 12:09:04 [3] DEBUG: data: 73 69 74 65 2e 63 6f 6d site.com 2003-01-23 12:09:04 [3] DEBUG: data: 00 01 c6 08 01 87 15 11 2003-01-23 12:09:04 [3] DEBUG: data: 03 71 71 00 01 01 01 .qq OTA SMS Text message %01%06%04%03%94%81%EA%00%01%45%C6%06%01%87%12%FF%01%87%13%11%03%31%39%32%2e%31%36%38%2e%36%2e%31%36%38%00%01%87%14%61%01%87%21%11%03%71%71%00%01%87%22%70%01%87%23%11%03%77%77%00%01%87%24%11%03%77%77%00%01%87%28%73%01%87%29%6B%01%01%86%07%11%03%68%74%74%70%3a%2f%2f%77%61%70%2e%79%6f%75%72%73%69%74%65%2e%63%6f%6d%00%01%C6%08%01%87%15%11%03%71%71%00%01%01%01 (length: 357) to the phone 13672449730... /cgi-bin/sendsms?username=wwpassword=wwfrom=099966to=13672449730udh=%06%05%04%C3%4F%C0%02text=%01%06%04%03%94%81%EA%00%01%45%C6%06%01%87%12%FF%01%87%13%11%03%31%39%32%2e%31%36%38%2e%36%2e%31%36%38%00%01%87%14%61%01%87%21%11%03%71%71%00%01%87%22%70%01%87%23%11%03%77%77%00%01%87%24%11%03%77%77%00%01%87%28%73%01%87%29%6B%01%01%86%07%11%03%68%74%74%70%3a%2f%2f%77%61%70%2e%79%6f%75%72%73%69%74%65%2e%63%6f%6d%00%01%C6%08%01%87%15%11%03%71%71%00%01%01%01 all that shows kannel send the sms correctly, maybe the content of the OTA sms is wrong before been sent?? but it is right according the protocol specification,i think here is my setting OTA SMS Message Sender Telephone number: Configuration: Location: (ie. http://wap.yoursite.com) Service Name: (ie. You Wapsite) IP address: (ie. 192.168.1.1) Phone number: (ie. 4512345678) Bearer type: dataSMS (ie. data) Connection type: Tempcont (ie. temp) Call type: ISDNAnalog (ie. ISDN) Speed: 960014400 (ie. 9600) PPP security: OffOn (ie. Off) Authentication: NormalSecure (ie. Normal) Login: (ie. login) Password: (ie. secret)
How to use MMS?
i want to send and receive MMS through Kannel Gateway, but i dont know how to configure and use the Kannel, i have Kannel1.2.1 and Nokia 7210 ,use a Nokia 5110 as a modem SMSC, and build a website in the gateway server with apache,if someone of us know how to use MMS by Kannel ,teach me,please :) many thanks.