no matter, I resolved jojojojooj

 

 

 

  _____  

De: users-boun...@mbuni.org [mailto:users-boun...@mbuni.org] En nombre de
Cristian Padilla
Enviado el: jueves, 09 de septiembre de 2010 3:07
Para: users@mbuni.org
Asunto: [Users] Send and Receive Image to Mbuni (multipart)

 

HI all,

 

      I am sending and receiving an image from Mbuni but when I review the
logs the only thing that is sending is the "text" (keyword) .... also I am
sending the smil but i not see it. I am executing this url:

 

PLEASE IF SOME ONE CAN HELP ME .

 

PS : the smil is encoded.

 

curl
"http://localhost:10001/?username=tester&password=foobar&from=+56985013083/T
YPE=PLMN&to=+111/TYPE=PLMN&images=http://localhost/image/logo.gif&text=test&;
smil=%3C%73%6D%69%6C%3E%3C%68%65%61%64%3E%3C%6C%61%79%6F%75%74%3E%3C%72%6F%6
F%74%2D%6C%61%79%6F%75%74%20%77%69%64%74%68%3D%22%34%38%30%22%20%68%65%69%67
%68%74%3D%22%33%36%30%22%2F%3E%3C%72%65%67%69%6F%6E%20%69%64%3D%22%49%6D%61%
67%65%22%20%77%69%64%74%68%3D%22%31%30%30%25%22%20%68%65%69%67%68%74%3D%22%3
6%35%25%22%20%66%69%74%3D%22%66%69%6C%6C%22%2F%3E%3C%2F%6C%61%79%6F%75%74%3E
%3C%2F%68%65%61%64%3E%3C%62%6F%64%79%3E%3C%70%61%72%3E%3C%73%65%71%3E%3C%70%
61%72%20%64%75%72%3D%22%31%30%73%22%3E%3C%69%6D%67%20%74%69%74%6C%65%3D%22%4
9%6D%61%67%65%6E%22%20%73%72%63%3D%22%68%74%74%70%3A%2F%2F%6C%6F%63%61%6C%68
%6F%73%74%2F%69%6D%61%67%65%2F%6C%6F%67%6F%2E%67%69%66%22%20%72%65%67%69%6F%
6E%3D%22%49%6D%61%67%65%22%20%74%79%70%65%3D%22%69%6D%61%67%65%2F%67%69%66%2
2%20%72%65%61%64%49%6E%64%65%78%3D%22%31%22%2F%3E%3C%2F%70%61%72%3E%3C%2F%73
%65%71%3E%3C%2F%70%61%72%3E%3C%2F%62%6F%64%79%3E%3C%2F%73%6D%69%6C%3E&subjec
t=TESTING"

 

my configuration file are:

 

mmsbox.cinf

 

roup = core

log-file = /var/log/mmsbox.log

access-log = /var/log/mmsbox-access.log

log-level = 0

 

group = mbuni

storage-directory = /var/spool/mbuni

max-send-threads = 5

maximum-send-attempts = 50

default-message-expiry = 360000

queue-run-interval = 5

send-attempt-back-off = 300

sendmms-port = 10001

 

########### MMSC##################

group = mmsc

id = local

mmsc-url = http://mbuni:t...@localhost:1982/soap

incoming-username = user

incoming-password = pass

incoming-port = 12345

type = soap

##############################################

 

#########SERVICE MMSC########

group = mms-service

name = me

post-url = http://localhost/test-mbuni.php

catch-all = true

#http-post-parameters = fx=true&images[]=%i&text[]=%t&skip=1

http-post-parameters = fx=true&images[]=%i&text[]=%t&smil=%s&skip=1

#http-post-parameters = %z

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

######################################################

 

############VAS################

group = send-mms-user

username = tester

password = foobar

#faked-sender = 100

#################################################

 

Mmsc.conf

 

group = core

log-file = /var/log/mbuni-mmsc.log

access-log = /var/log/mmsc-access.log

log-level = 0

 

group = mbuni

name = "My MMSC"

hostname = server.mms.cl

host-alias = mmsc

local-prefixes = 56

storage-directory = /tmp/spool

max-send-threads = 5

send-mail-prog = /usr/sbin/sendmail -f '%f' '%t'

unified-prefix = "+56"

maximum-send-attempts = 2

default-message-expiry = 360000

queue-run-interval = 5

send-attempt-back-off = 300

sendsms-url = http://localhost:13013/cgi-bin/sendsms

sendsms-username = tester

sendsms-password = foobar

mms-port = 1981

mm7-port = 1982

#allow-ip = 192.168.129.11

email2mms-relay-hosts = "mbuni.org;dsmagic.com;server.mms.cl"

billing-module-parameters = "/tmp/log/cdr.log"

# billing-library = billdemo.so

#prov-server-notify-script = ~/src/mmprov/provnotify.sh

#prov-server-sub-status-script = ~/src/mmprov/rcptstatus.sh

content-adaptation = true

notify-unprovisioned = yes

mms-notify-text = "You have received a multimedia message from %S, go to XXX
to view it"

mms-notify-unprovisioned-text = "This is a test"

mms-to-email-txt = "This is a multimedia message (HTML suppressed)"

mms-to-email-html = "This is a multimedia message powered by <emph>Digital
Solutions</emph>"

mms-to-email-default-subject = "This is a multimedia message"

mms-message-too-large-txt = "You have received a multimedia message from %S
that is too large for your phone. Go to xxx to view it"

strip-prefixes = "1;2"

 

group = mms-vasp

vasp-id = newscorp

type = soap

short-code = 111,1234

vasp-username = mbuni

vasp-password = test

vasp-url = http://user:p...@localhost:12345/

 

group = mmsproxy

name = "A test mms proxy"

host = server.mms.cl

allowed-prefix = "+56"

#denied-prefix = "037"

 

 

The XML sending is:

 

--_boundary_604715542_1284014101_Q_v_bd279314437

Content-Type: text/xml

Content-ID: <s1284014101.1894782710.Lt.msg>

 

<?xml version='1.0' encoding='UTF-8'?>

<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";>

<SOAP-ENV:Header>

<mm7:TransactionID
xmlns:mm7="http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL
-5-MM7-1-0"
SOAP-ENV:mustUnderstand="1">m-le-qf4099.4.x324...@mmsc</mm7:TransactionID>

</SOAP-ENV:Header>

<SOAP-ENV:Body>

<mm7:DeliverReq
xmlns:mm7="http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL
-5-MM7-1-0">

<mm7:MM7Version>5.3.0</mm7:MM7Version>

<mm7:Recipients>

<mm7:To>

<mm7:Number>111</mm7:Number>

</mm7:To>

</mm7:Recipients>

<mm7:MMSRelayServerID>mmsc</mm7:MMSRelayServerID>

<mm7:LinkedID>m-le-qf4099.4.x324...@mmsc</mm7:LinkedID>

<mm7:Sender><mm7:Number>56985013083</mm7:Number>

</mm7:Sender>

<mm7:TimeStamp>2010-09-09T06:34:57Z</mm7:TimeStamp>

<mm7:Content href="cid:c1284014101.2085387365.Tc.msg"/>

</mm7:DeliverReq>

</SOAP-ENV:Body>

</SOAP-ENV:Envelope>

 

--_boundary_604715542_1284014101_Q_v_bd279314437

Content-Type: text/plain

Content-ID: <c1284014101.2085387365.Tc.msg>

 

test

--_boundary_604715542_1284014101_Q_v_bd279314437--

 

 

 


-- 
This message has been scanned for viruses and 
dangerous content by  <http://www.mailscanner.info/> MailScanner, and is 
believed to be clean. 


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

_______________________________________________
Users mailing list
Users@mbuni.org
http://lists.mbuni.org/mailman/listinfo/users

Reply via email to