|
|
Subject: need help - msg#00003
List: mobile.mbuni.user
xcuz me when i read mbuni examples and documentation i don't see how to use the different parameters like vasp-url mmsc-url get-url how do i implement the different url should i code myself what i want to do or do we have already something for doping that i don't understand well how it work and the example are not explicit
Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son interface révolutionnaire.
_______________________________________________
Users mailing list
Users@xxxxxxxxx
http://mbuni.org/mailman/listinfo/users_mbuni.org
Was this page helpful?
Thread at a glance:
Previous Message by Date:
click to view message preview
Re: HTTP POST by VAS
comments belowOn Jun 01, 2006, at 10:51, kartikay malhotra wrote:Hi ! http-post-parameters = fx=true&images[]=%i&text[]=%t1. I gather fx is merely a variable, which could be used to test some condition, right? 2 .Well Paul, in my case $_FILES is empty. I'm positive about that. I've tried print_r($_FILES), var_dump($_FILES). Nothing works. var_dump($_POST) gives me some MMS contents: SMIL, text string, name of the image file, but NOT the image part of the MM.Since I cannot predict the content of the MM (received), therefore I use :http-post-parameters = userfile[]=%z %z - All Parts of the MM. I've however tried other combinations as well. $_FILES is empty.Dude, kill the space between the userfile[] and the '='! The post parameters are sent *exactly* as entered. So as is, userfile[] is being sent as the empty string. This is the problem. I used http-post-parameters = userfile[]=%zOn CVS and this is the output of the test PHP script I sent, for a MMS (attached):
php.out.txt
Description: Text document
which clearly shows it is working.3. Is there a way I could save the received MMS (intact) at VASP in some local folder? There are logs, but they don't preserve the format of MM. You will have to write your PHP to do this. You can of course receive the entire binary MMS using the %b parameterThanks & RegardsKM_______________________________________________Users mailing listUsers@xxxxxxxxxhttp://mbuni.org/mailman/listinfo/users_mbuni.org _______________________________________________
Users mailing list
Users@xxxxxxxxx
http://mbuni.org/mailman/listinfo/users_mbuni.org
Next Message by Date:
click to view message preview
Re: need help
Hi Jammer!
I faced exactly what you are facing till a couple of days back. You are
right. There are hardly any examples. But Mbuni is a great software
nevertheless. I can vouch for that.
Mbuni can be implemented as either a MMSC, or a VASP or both! Lets consider the latter case. You open 2 shells (linux), fire :
mmsrelay mmsc_conf_file
mmsproxy mmsc_conf_file
in the respective shells. Your MMSC is up and running. Lets connect to
a VASP (running on the same or different machine). For running VASP,
you run:
mmsbox vasp_conf_file
The mmsc_conf_file has to have address or url of VASP. How else would the MMSC connect to it? So this conf file must have a vasp-url.
At the VASP end, it must have the address of MMSC, so it has mmsc-url in its conf file.
Now if a VASP receives an incoming MM, requesting a service (group =
mms-sercvice), the VASP must respond with a MMS. For that, it must
"fetch" response content. This fetching can be through a file, an
executable program or a URL. get-url fetches the response content from the specified URL.
Hope this was of some help. I'm new to Mbuni myself, so if any reader finds I'm wrong, please point out the error.
Sincerely
KM
On 6/1/06, jammers yann <foudelinux@xxxxxxxx> wrote:
xcuz me when i read mbuni examples and documentation i don't see how to use the different parameters like vasp-urlmmsc-urlget-urlhow
do i implement the different url should i code myself what i want to do
or do we have already something for doping that i don't
understand well how it work and the example are not explicit
Yahoo! Mail réinvente le mail ! Découvrez le
nouveau Yahoo! Mail et son interface révolutionnaire.
_______________________________________________Users mailing listUsers@xxxxxxxxx
http://mbuni.org/mailman/listinfo/users_mbuni.org
_______________________________________________
Users mailing list
Users@xxxxxxxxx
http://mbuni.org/mailman/listinfo/users_mbuni.org
Previous Message by Thread:
click to view message preview
HTTP POST by VAS
Hi !
http-post-parameters = fx=true&images[]=%i&text[]=%t1. I gather fx is merely a variable, which could be used to test some condition, right?
2 .Well Paul, in my case $_FILES is empty. I'm positive about that. I've tried print_r($_FILES), var_dump($_FILES). Nothing works. var_dump($_POST) gives me some MMS contents: SMIL, text string,
name of the image file, but NOT the image part of the MM.Since I cannot predict the content of the MM (received), therefore I use :http-post-parameters = userfile[]=%z
%z - All Parts of the MM. I've however tried other combinations as well. $_FILES is empty.3. Is there a way I could save the received MMS (intact) at VASP in some local folder? There are logs, but they don't preserve the format of MM.
Thanks & RegardsKM
_______________________________________________
Users mailing list
Users@xxxxxxxxx
http://mbuni.org/mailman/listinfo/users_mbuni.org
Next Message by Thread:
click to view message preview
Re: need help
Hi Jammer!
I faced exactly what you are facing till a couple of days back. You are
right. There are hardly any examples. But Mbuni is a great software
nevertheless. I can vouch for that.
Mbuni can be implemented as either a MMSC, or a VASP or both! Lets consider the latter case. You open 2 shells (linux), fire :
mmsrelay mmsc_conf_file
mmsproxy mmsc_conf_file
in the respective shells. Your MMSC is up and running. Lets connect to
a VASP (running on the same or different machine). For running VASP,
you run:
mmsbox vasp_conf_file
The mmsc_conf_file has to have address or url of VASP. How else would the MMSC connect to it? So this conf file must have a vasp-url.
At the VASP end, it must have the address of MMSC, so it has mmsc-url in its conf file.
Now if a VASP receives an incoming MM, requesting a service (group =
mms-sercvice), the VASP must respond with a MMS. For that, it must
"fetch" response content. This fetching can be through a file, an
executable program or a URL. get-url fetches the response content from the specified URL.
Hope this was of some help. I'm new to Mbuni myself, so if any reader finds I'm wrong, please point out the error.
Sincerely
KM
On 6/1/06, jammers yann <foudelinux@xxxxxxxx> wrote:
xcuz me when i read mbuni examples and documentation i don't see how to use the different parameters like vasp-urlmmsc-urlget-urlhow
do i implement the different url should i code myself what i want to do
or do we have already something for doping that i don't
understand well how it work and the example are not explicit
Yahoo! Mail réinvente le mail ! Découvrez le
nouveau Yahoo! Mail et son interface révolutionnaire.
_______________________________________________Users mailing listUsers@xxxxxxxxx
http://mbuni.org/mailman/listinfo/users_mbuni.org
_______________________________________________
Users mailing list
Users@xxxxxxxxx
http://mbuni.org/mailman/listinfo/users_mbuni.org
|
|