After a long struggle the mms-service posts to apache. I am using Paul's example on how to call mms-service. Please correct me if I'm wrong but this is how understand things to be working;
Here is where I define the mms-vasp in the mmsc.conf file:
group = mms-vaspvasp-id = newscorp type = eaifshort-code = 111 vasp-username = mbunivasp-password = testvasp-url = "" href="http://user:[EMAIL PROTECTED]:12345/" target="_blank" > http://user:[EMAIL PROTECTED]:12345/So when an MMS is received from the phone and sent to shortcode 111, it is passed to vasp on the URL
http://user:[EMAIL PROTECTED]:12345/ mmsbox handles all VASP transactions so when mmsbox receives above MMS it wants to pass it over to the defined MMSC via mmsbox. Thus, find my mmsbox.conf file below:
group = mmsc id = localmmsc-url = "" href="http://mbuni:[EMAIL PROTECTED]:1982/eaif" target="_blank" > http://mbuni:[EMAIL PROTECTED]:1982/eaif #mmsc-url = "" href="http://localhost:1981/" target="_blank" >http://localhost:1981/ incoming-username = userincoming-password = passincoming-port = 12345 type = eaifgroup = mms-service name = phpblogcatch-all = truepost-url = "" href="http://localhost/afrisysmms/mms_blog.php" target="_blank" >http://localhost/afrisysmms/mms_blog.php #http-post-parameters = fx=true&images[]=%i&text[]=%t http-post-parameters=mms_files[]=%zaccept-x-mbuni-headers = true keyword= phpblogassume-plain-text = true omit-empty = no #suppress-reply = trueThis indicates that mmsbox should send MMS to just the local mbuni MMSC, but before doing so I guess it should call mms-service.
Here's what my logs show (it appears the mms-service is being called and I can see a post in the apache logs!):
2006-07-09 14:58:48 [11899] [5] DEBUG: WSP: Mapping `text/html', WSP 1.2 to 0x0002.
2006-07-09 14:58:48 [11899] [5] INFO:
MMSBox: Queued message from service [phpblog] to outgoing: e-pd-qf6328.2.x899.77
2006-07-09 14:58:48 [11899] [4] DEBUG: Queued to thread 0 for /opt/mbuni/store_mms/mmsbox_outgoing/e/pd/qf6328.2.x899.77
2006-07-09 14:58:48 [11899] [10] INFO: MMSBox: Send [eaif] to MMC[local], msg type [m-send-req], from 111/TYPE=PLMN, to
192.168.11.1/TYPE=IPv42006-07-09 14:58:48 [11899] [10] DEBUG: WSP: Mapping `text/html', WSP 1.2 to 0x0002.
However, there is nothing in the
$_POST['mms_files'] variable. What could possibly be wrong?
Thanks.