Hi,

  Mbuni should correctly fetch and include the right image and text  
as you want it to. You may need to check that the error is not due to  
something bizarre, like missing variables, parameters to lynx not  
being URL encoded, etc.

P.

On Mar 22, 2006, at 03:51, Mika Setälä wrote:

>
> Hi!
> Problem: Function sendMMS2 sends to target phone  vps.v.org server  
> main
> page :s HTML code (var/www/index.html), not the MMS-message composed.
> Why?
>
> http://vps.v.org:8193/cgi-bin/sendmms? 
> username=erre&password=eewewrwr&to
> =05012345678/TYPE=PLMN&text=testi1237
>
> works ok!
>
> Here function and mmsc and vasp conf-files.
>
>
>
> function sendMMS2( $number_, $photoBaseName, $textBaseName )
>
>       {
>
> $photoLink = "http://vps.v.org/photouploads/$photoBaseName";;
> $textLink= "http://vps.v.org/textuploads/$textBaseName";;
>
> $smilstr = <<<EOD
> <?xml version="1.0"?>
> <!DOCTYPE smil PUBLIC "-//W3C//DTD SMIL 2.0//EN"
>        "http://www.w3.org/2001/SMIL20/SMIL20.dtd";>
> <smil xmlns="http://www.w3.org/2001/SMIL20/Language";>
>  <head>
>   <layout>
>    <root-layout width="352" height="144" />
>    <region id="Image width="176" height="120" top="22" />
>    <region id="Text" width="176" height="22" top="0"/>
>   </layout>
>  </head>
>   <body>
>    <par dur="5">
>      <img src=" "$photoLink"  " region="Image" />
>    </par>
>    <par dur="5">
>      <text src=" "$textLink"  " region="Text" />
>    </par>
>  </body>
> </smil>
> EOD;
>
>
>               
>       
>       
>       exec("lynx -dump \"
> http://vps.v.org:8193/cgi-bin/sendmms? 
> username=kukkuu&password=luuruu&to
> =$number_/TYPE=PLMN&smil=$smilstr  \" ");
>
> }
>
>
> Mbuni.conf:
>
>
> group = core
> log-file = /var/log/mbuni/mmsgw.log
> log-level = 0
> access-log = /var/log/mbuni/access.log
>
> group = mbuni
> name = "vpsmmc"
> hostname = vps.v.org
> host-alias = mmsc
> local-mmsc-domains = vps.v.org
> local-prefixes = 050;+35850;35850
> max-send-threads = 5
> send-mail-prog = /usr/sbin/sendmail -f '%f' '%t'
> storage-directory = /var/spool/mbuni
> sendsms-url = http://my.masiina.fi:13013/cgi-bin/sendsms
> sendsms-username = uuuuuu
> sendsms-password = oooooo
> queue-run-interval = 5
> mm7-port    = 8192
>
>
> group = mms-vasp
> vasp-id = mikan
> type = eaif
> short-code = 100
> vasp-username = 888
> vasp-password = 888
> vasp-url = http://vps.v.org:10002/mm7
> mmsc-username = 888
> mmsc-password = 888
>
>
>
> Mbunivasp.conf
> --------------
>
> group = core
> log-file = /var/log/mbuni/mmsgwvasp.log
> log-level = 0
> access-log = /var/log/mbuni/accessvasp.log
>
> group = mbuni
> name = "vpsvasp"
> max-send-threads = 5
> storage-directory = /var/spool/mbuni
> queue-run-interval = 5
> sendmms-port    = 8193
>
> group = mmsc
> id = vps
> mmsc-url = http://888:[EMAIL PROTECTED]:8192/eaif
> incoming-username = 888
> incoming-password = 888
> incoming-port = 10002
> type = eaif
>
> group = send-mms-user
> username = 888
> password = 888
> faked-sender = 100
>
>
> group = mms-service
> name = mobile
> keyword = toweb
> catch-all = true
> post-url = http://vps.v.org/mmscode/getmmstoweb.php
> http-post-parameters = image=%i&text=%t
> accept-x-mbuni-headers = true
>
>
>
>
> _______________________________________________
> Users mailing list
> [email protected]
> http://mbuni.org/mailman/listinfo/users_mbuni.org

-----------------------------------------------
Trek the Rwenzori's. Or just see them online - http:// 
www.rwenzori.com/gallery.htm


_______________________________________________
Users mailing list
[email protected]
http://mbuni.org/mailman/listinfo/users_mbuni.org

Reply via email to