0

我正在使用 mbuni 通过 http url 将彩信作为 smil 内容发送

content-type=application/smil  

content-url=http://localhost/TestSmil.smil

现在彩信被提交到手机,但图像没有被下载。

    group = core
    log-file = /tmp/mms/log/mmsbox.log
    access-log = /tmp/mms/log/mmsbox-access.log
    log-level = 0

    group = mbuni
    storage-directory = /var/spool/mbuni
    max-send-threads = 5
    maximum-send-attempts = 1
    default-message-expiry = 360000
    queue-run-interval = 5
    send-attempt-back-off = 300
    sendmms-port = 10001
    content-adaptation = false
    allow-adaptations = 0

    group = mmsc
    id = 123456
    mmsc-url = http://123456:MYVASID@<MMSC_IP>:8080/vas_soap
    incoming-username = 123456
    incoming-password = PWD
    incoming-port = 12345
    type = soap
    default-vasid = MYVASID
    content-adaptation = false
    allow-adaptations = 0

    group = send-mms-user
    username = tester
    password = foobar
    faked-sender = 100
    allow-adaptations = 0

邮箱地址

    http://localhost:10001/cgi-bin/sendmms?username=tester&password=*****&from=12345&to=9199********&subject=TestMMS&allow-adaptations=0&content-adaptation=false&vasid=123456&content-type=application%2Fsmil&content-url=http%3A%2F%2Flocalhost%2Fmms%2FTestSmil.smil

微笑文件内容和路径

    <smil>
      <body>
        <seq repeatCount="indefinite">
          <img src="image1.jpg" dur="3s" />
          <img src="image2.jpg" dur="3s" />
        </seq>
      </body>
    </smil>

路径是 /var/www/html/mms/。我也将图像路径从 image1.jpg 更改为 mms/image1.jpg 但没有变化。

如果我发送像 content-url= http://localhost/image1.jpg这样的直接图像,它会正确发送。

4

0 回答 0