Thanks Thilani for your help. I made mms-vasp group with the short code and also created an MMSC group in the mmsbox.conf and created a test service. Mbuni receives the mms correctly and I think passes it onto mmsbox and then teh php script. I am sending a simple text for testing and upon reception in the php script I am saving it to the file but nothing happens in the script. Now I have the following conf for mmsc.conf and mmsbox.conf.
------------------------------- MMSBOX.conf ------------------------------ group = core log-file = mmsbox.log access-log = mmsbox-access.log log-level = 0 group = mbuni storage-directory = /mms max-send-threads = 5 maximum-send-attempts = 50 default-message-expiry = 360000 queue-run-interval = 5 send-attempt-back-off = 300 sendmms-port = 10001 group = mmsc id = local mmsc-url = http://mbuni:t...@localhost:1962/soap incoming-username = user incoming-password = pass incoming-port = 12345 type = soap group = mms-service name = me post-url = http://localhost/mmsrecv.php catch-all = true http-post-parameters = fx=true&images[]=%i&text[]=%t&skip=1 accept-x-mbuni-headers = true pass-thro-headers = X-NOKIA-MMSC-Charging,X-NOKIA-MMSC-Charged-Party keyword = test omit-empty = no #suppress-reply = true service-code = regular group = mms-service name = fullmessage get-url = http://localhost/images/apache_pb.gif # http-post-parameters = fx=true&image=%i&text=%t accept-x-mbuni-headers = true keyword = thixs group = send-mms-user username = tester password = foobar faked-sender = 100 --------------------------------- MMSC.conf --------------------------------- group = core log-file = mbuni-mmsc.log access-log = mmsc-access.log log-level = 0 group = mbuni name = "My MMSC" hostname = barq.seecs.edu.pk local-prefixes = +92; storage-directory = /mms maximum-send-attempts = 50 default-message-expiry = 360000 queue-run-interval = 5 send-attempt-back-off = 300 sendsms-url = http://10.3.17.35:13013/cgi-bin/sendsms?&smsc=at& sendsms-global-sender=00923225046352 allow-ip = *.*.*.* sendsms-username = tester sendsms-password = foobar mms-port = 1961 mm7-port = 1962 optimize-notification-size=true content-adaptation = false notify-unprovisioned = yes mms-notify-text = "You have received a multimedia message." group = mms-vasp vasp-id = newscorp type = soap short-code = 111 vasp-username = mbuni vasp-password = test vasp-url = http://user:p...@localhost:12345/ I have the following test code snippet in my php file. Kindly help me as to what is going wrong here. <?php $txt = $_REQUEST["text"]; $fd = fopen('data.txt','w'); fwrite($fd,$txt."\n"); fclose($fd); ?> Best Regards, Aftab Hussain 2009/12/30 තිලානි අබේසිංහ|Thilani Abeysinghe <a.thil...@gmail.com> > > You might need to configure vasp account with a specific short code.Then > you can send mms to that short code > > Sample configuration for mmsc.conf > > > group = mms-vasp > vasp-id = adlive > type = soap > short-code = 111 > vasp-username = mbuni > vasp-password = test > vasp-url = http://test.php > > > On Wed, Dec 30, 2009 at 5:48 PM, aftab hussain <aftab.huss...@seecs.edu.pk > > wrote: > >> Dear All, >> I am interested to send mms from my mobile phone to mbuni. I >> have changed the mms settings in the mobile phone and the homepage url now >> points to the mbuni installed machine's global IP. When I send the mms, I >> specify a number in the 'To' field but actually I dont intend to send mms to >> the phone. what my intention is that when mbuni receives the MMS, it should >> save the incoming mms and trigger a php script and the mms contents should >> be passed to the php script. >> >> I have the following conf settings. >> >> group = core >> #log-file = /tmp/mbuni-mmsc.log >> #access-log = /tmp/mmsc-access.log >> log-level = 0 >> >> group = mbuni >> name = "My MMSC" >> hostname = x.x.x.x >> local-prefixes = +92; >> storage-directory = /mms >> max-send-threads = 5 >> maximum-send-attempts = 50 >> default-message-expiry = 360000 >> queue-run-interval = 5 >> send-attempt-back-off = 300 >> sendsms-url = http://10.3.17.35:13013/cgi-bin/sendsms?&smsc=at& >> sendsms-global-sender=00923225046352 >> allow-ip = *.*.*.* >> sendsms-username = tester >> sendsms-password = foobar >> mms-port = 1961 >> mm7-port = 1962 >> optimize-notification-size=true >> content-adaptation = false >> notify-unprovisioned = yes >> mms-notify-text = "You have received a multimedia message." >> >> I have also attached the log file. >> >> Can any one please explain whats going on here and is there any thing >> wrong with the settings. Do I have to do more in terms of conf settings. >> Your help will be highly appreciated. >> >> Best Regards >> >> Aftab Hussain >> >> _______________________________________________ >> Users mailing list >> Users@mbuni.org >> http://lists.mbuni.org/mailman/listinfo/users >> >> > > > -- > > ~Thilani Abeysinghe > > ~තිලානි අබේසිංහ > Sent from Colombo, Sri Lanka > > _______________________________________________ > Users mailing list > Users@mbuni.org > http://lists.mbuni.org/mailman/listinfo/users > >
_______________________________________________ Users mailing list Users@mbuni.org http://lists.mbuni.org/mailman/listinfo/users