Hakan Lager wrote:
Hi,
If I remember correctly, it is mbuni that handles the split not kannel // Hakan

2008/1/18, Andrew B <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>:

    Hakan Lager wrote:
    > Hi,
    >
    > How do you know that the phone don't receive the MMS notification?
    >
    > Is the phone configured to use Mbuni as MMSC ?
    >
    > / Hakan
    >
    >
    > 2008/1/18, Andrew B <[EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]> <mailto: [EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]>>>:
    >
    >     Hakan Lager wrote:
    >     > Ok. Check your resolver for local numbers!
    >     >
    >     > / Hakan
    >     >
    >     >
    >     > 2008/1/18, Andrew B < [EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]>
    >     <mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>
    <mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
    >     <mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>>>:
    >     >
    >     >     Hakan Lager wrote:
    >     >     > Hi,
    >     >     >
    >     >     > Check first in your kannel log  if kannel has send
    the MMS
    >     >     > notification correct.
    >     >     >
    >     >     > / Hakan
    >     >     >
    >     >     > 2008/1/18, Andrew B < [EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]>
    >     <mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>
    >     >     <mailto:[EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]> <mailto: [EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]>>>
    >     <mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
    <mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>
    >     >     <mailto: [EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]> <mailto:[EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]>>> >>:
    >     >     >
    >     >     >     Hi,
    >     >     >     I have been attempting for a while now to get
    mbuni to act
    >     >     as a simple
    >     >     >     MMS relay.
    >     >     >     What I am trying to accomplish is the following:
    >     >     >     Set up the MMSC for phone 1 to my mbuni server
    >     >     >     send an MMS from phone 1 to phone 2 through my mbuni
    >     MMSC.
    >     >     >
    >     >     >     Sofar, I can get the first phone to send to the
    mbuni
    >     MMSC, but
    >     >     >     the mmsc
    >     >     >     never forwards it to the second phone.
    >     >     >     here is my config (sanitized) sofar.
    >     >     >
    >     >     >     group = core
    >     >     >     log-file = /var/log/kannel/mmsgw.log
    >     >     >     log-level = 0
    >     >     >     access-log = /var/log/kannel/mms-access.log
    >     >     >
    >     >     >     group = mbuni
    >     >     >     name = gentuni
    >     >     >     hostname = gentoo
    >     >     >     storage-directory = /var/spool/mbuni
    >     >     >     sendsms-url = http://localhost:13013/cgi-bin/sendsms
    >     >     <http://localhost:13013/cgi-bin/sendsms>
    >     >     >     sendsms-username = foo
    >     >     >     sendsms-password = bar
    >     >     >     mms-port = 8191
    >     >     >     content-adaptation = false
    >     >     >     mms-notify-text = "YOU HAS MMS"
    >     >     >
    >     >     >     group = send-mms-user
    >     >     >     username = foo
    >     >     >     password = bar
    >     >     >     faked-sender = 100
    >     >     >
    >     >     >     group = mmsproxy
    >     >     >     name = "PROXY"
    >     >     >     host = gentoo.foo.bar
    >     >     >
    >     >     >     I am confused as where to go next...
    >     >     >     Thanks in advance for any insight into this!
    >     >     >     --Andrew
    >     >     >     _______________________________________________
    >     >     >     Users mailing list
    >     >     >     [email protected] <mailto:[email protected]>
    <mailto:[email protected] <mailto:[email protected]>>
    >     <mailto:[email protected] <mailto:[email protected]>
    <mailto:[email protected] <mailto:[email protected]>>>
    >     >     <mailto: [email protected] <mailto:[email protected]>
    <mailto:[email protected] <mailto:[email protected]>>
    >     <mailto: [email protected] <mailto:[email protected]>
    <mailto:[email protected] <mailto:[email protected]>>>>
    >     >     >     http://lists.mbuni.org/mailman/listinfo/users
    <http://lists.mbuni.org/mailman/listinfo/users>
    >     >     >
    >     >     >
    >     >     It never actually makes it to kannel, that's the weird
    part,
    >     I get
    >     >     an error:
    >     >     2008-01-07 07:14:35 [26465] [16] INFO: Failed Global
    Queue
    >     MMS Send:
    >     >     From 208.54.94.87/TYPE=IPv4
    <http://208.54.94.87/TYPE=IPv4> <http://208.54.94.87/TYPE=IPv4>
    >     < http://208.54.94.87/TYPE=IPv4>, to
    >     >     70xxxxxxxx/TYPE=PLMN, msgsize=37493:
    >     >     err=MMSC error: Don't know how to deliver to
    >     70xxxxxxxx/TYPE=PLMN !
    >     >
    >     >     and kannel never sends a notification message...
    >     >
    >     >     _______________________________________________
    >     >     Users mailing list
    >     >     [email protected] <mailto:[email protected]>
    <mailto:[email protected] <mailto:[email protected]>>
    >     <mailto:[email protected] <mailto:[email protected]>
    <mailto:[email protected] <mailto:[email protected]>>>
    >     >     http://lists.mbuni.org/mailman/listinfo/users
    >     >
    >     >
    >     Thanks! you solved that problem, unfortunately now, there is
    an issue
    >     where the phone never gets the messages... I think it has to
    do with
    >     kannel and concatenated SMS messages, but I'm not sure.
    >
    >     Here is the log from mbuni...
    >
    >     2008-01-18 09:12:32 [610] [2] DEBUG: HTTP: Creating
    HTTPClient for
    >     `208.54.94.96'.
    >     2008-01-18 09:12:32 [610] [2] DEBUG: HTTP: Created
    HTTPClient area
    >     0x81608f0.
    >     2008-01-18 09:12:44 [610] [0] DEBUG: Dumping HTTP headers:
    >     ...
    >     2008-01-18 09:12:44 [610] [0] DEBUG:  Request, ip=
    208.54.94.96 <http://208.54.94.96>
    >     <http://208.54.94.96>,
    >     base_client_addr= 208.54.94.96 <http://208.54.94.96>
    <http://208.54.94.96>,
    >     client_addr=208.54.94.96/TYPE=IPv4
    <http://208.54.94.96/TYPE=IPv4> <http://208.54.94.96/TYPE=IPv4
    <http://208.54.94.96/TYPE=IPv4>>
    >     2008-01-18 09:12:44 [610] [0] DEBUG: Started thread 3
    >     (mmsproxy.c:(gwthread_func_t *)sendmms_proxy)
    >     2008-01-18 09:12:44 [610] [3] DEBUG: Thread 3
    >     (mmsproxy.c:(gwthread_func_t *)sendmms_proxy) maps to pid 610.
    >     2008-01-18 09:12:44 [610] [3] DEBUG:  --> Enterred sendmms
    interface,
    >     blen=37566 <---
    >     ...
    >     2008-01-18 09:12:44 [610] [3] DEBUG: Thread 3
    >     (mmsproxy.c:(gwthread_func_t *)sendmms_proxy) terminates.
    >     2008-01-18 09:12:50 [615] [1] DEBUG: Queued to thread 1 for
    >     /var/spool/mbuni/global/m/qf5564.1.x610.41, sendt=0,
    tnow=1200665570
    >     2008-01-18 09:12:50 [615] [1] DEBUG: Queued to thread 2 for
    >     /var/spool/mbuni/global/0/af/qf8102.1.x176.98, sendt=1199718102,
    >     tnow=1200665570
    >     2008-01-18 09:12:50 [615] [15] INFO: Global Queue MMS Bill: From
    >     208.54.94.96/TYPE=IPv4 <http://208.54.94.96/TYPE=IPv4>
    <http://208.54.94.96/TYPE=IPv4>,
    >     to_count=1, msgid=-m-qf5564.1.x610.41,
    >     msgsize=37662: returned=0.00
    >     ...
    >     2008-01-18 09:12:50 [615] [15] INFO: Sent Global Queue MMS
    Send: From
    >     208.54.94.96/TYPE=IPv4 <http://208.54.94.96/TYPE=IPv4>
    <http://208.54.94.96/TYPE=IPv4 <http://208.54.94.96/TYPE=IPv4>>, to
    >     571xxxxxxx/TYPE=PLMN, msgsize=37662: err=(null)
    >     2008-01-18 09:13:44 [610] [1] DEBUG: Timeout for fd:13 appeares.
    >     2008-01-18 09:13:44 [610] [1] DEBUG: HTTP: Destroying
    HTTPClient area
    >     0x81608f0.
    >     2008-01-18 09:13:44 [610] [1] DEBUG: HTTP: Destroying
    HTTPClient for
    >     `208.54.94.96'.
    >
    >
    >
    >     and then kannel sends out 2 PDUs, but the phone never
    receives them...
    >     also, off topic, how do I clear out the mbuni queue, there's
    an MMS
    >     stuck in there that I want to get rid of...
    >     Thanks!
    >     _______________________________________________
    >     Users mailing list
    >     [email protected] <mailto:[email protected]>
    <mailto:[email protected] <mailto:[email protected]>>
    >     http://lists.mbuni.org/mailman/listinfo/users
    >
    >
    If I manually send an m-notification-ind message to the phone using
    test_ppg from kannel, it works.
    However, if I let mbuni send the message, it doesn't pick up the
    message...
    The message I send manually however does not have a subject or sender,
    so the mms notification PDU fits in a single PDU, it isn't
    concatenated.

    If I send through mbuni, the originating phone adds a subject and
    sender, so kannel is forced to concatenate the PDU.
    If I just simply host the mms on a webserver (for testing) and I
    send a
    mms notification pointing to it, it works fine, without having to
    change
    the phones MMS settings.
    This is why I think that kannel may be splitting the PDU incorrectly,
    and therefore the phone is not able to concatenate the PDU's properly.

    Thanks for the insight, it's been a great help!


Hi,

Thanks for all your help, you helped me to get mbuni working, the only problem I have left is that I need to clear the mbuni db of some stale MMS messages that can't be sent...

I tracked down the current issue to kannel so I need to start posting in the kannel mailing list. (the split PDU's get picked up by the phone, but never get re-assembled properly)

I verified that kannel is the issue by performing the following using only test_ppg on kannel. when I use a small m-notification-ind message (void of sender or subject) kannel sends it as a single PDU and the phone accepts it perfectly. when I add sender/subject, the PDU is too large and must be split. the phone fails to reassemble it properly

When I use mbuni, the originating phone adds its own subject/sender ID and therefore the pdu is too large and must be split, it appears that kannel is the one splitting it, and the phone fails to re-assemble the message properly.

again, I appreciate all your help, and the only last question I have is how to purge the mbuni mms database/spool folders

Thanks!
--Andrew
_______________________________________________
Users mailing list
[email protected]
http://lists.mbuni.org/mailman/listinfo/users

Reply via email to