Hi, Thanks, but if you look further down the log, I removed this error. This error was due to the fact that I did not mention the server hosting the mmsrecv.php in the mms-service group as given below:
post-url=http://mmsrecv.php <http://localhost/mmsrecv.php> This was removed when I changed the post url to: post-url=http://localhost/mmsrecv.php <http://localhost/mmsrecv.php> Now I guess the request is passed onto mmsrecv.php but further I dont understand what is going wrong. Kindly have a look further down the log files, the error connecting to server `mmsrecv.php' at port `80' is removed. Do you have any php code for handling the mms contents when mmsbox hands the mms over to the phhp script? I appreciate your help in advance. Best Regards, Aftab Hussain 2010/1/5 තිලානි අබේසිංහ|Thilani Abeysinghe <[email protected]> > according to your mmbox log ,It says > > error connecting to server `mmsrecv.php' at port `80' > 2010-01-04 14:12:42 [15507] [17] DEBUG: HTTP: Opening connection to > `mmsrecv.php:80' (fd=0). > 2010-01-04 14:12:42 [15507] [17] ERROR: Couldn't send request to < > http://mmsrecv.php> > > Is you Httpd service started ? > and make sure mmsrecv.php is listening to requests coming from port 80 > > Hope this info help. > > Thilani > > On Tue, Jan 5, 2010 at 12:07 PM, aftab hussain <[email protected] > > wrote: > >> Sorry I forgot to attach the log files with my previous post. >> >> >> On Mon, Jan 4, 2010 at 10:36 PM, aftab hussain < >> [email protected]> wrote: >> >>> 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 <[email protected]> >>> >>> >>>> 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 < >>>> [email protected]> 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 >>>>> >>>> ~Thilani Abeysinghe >>>> >>>> >>>> ~තිලානි අබේසිංහ >>>> Sent from Colombo, Sri Lanka >>>> >>>> _______________________________________________ >>>> Users mailing list >>>> [email protected] >>>> http://lists.mbuni.org/mailman/listinfo/users >>>> >>>> >>> >> >> _______________________________________________ >> Users mailing list >> [email protected] >> http://lists.mbuni.org/mailman/listinfo/users >> >> > > > > > _______________________________________________ > Users mailing list > [email protected] > http://lists.mbuni.org/mailman/listinfo/users > >
_______________________________________________ Users mailing list [email protected] http://lists.mbuni.org/mailman/listinfo/users
