You're right! CVS updated. Mea Culpa.

P.

On May 14, 2006, at 17:28, Deon van der Merwe wrote:

> Hi,
>
> I have a VASP configured to also receive a copy of all the MMS's
> delivered to mobiles.  But this is not working.  From the code it
> looks like this is only done if the recipient is a IP address.  Am I
> misunderstanding this feature?  My current understanding is that this
> feature will send a copy of mobile terminated message to a VASP.
>
> My config:
> group = mms-vasp
> vasp-id = localcopy
> type = soap
> short-code = 113
> vasp-username = localcopy
> vasp-password = localcopy
> vasp-url = http://10.201.47.17:50013/
> mmsc-username = localcopy
> mmsc-password = localcopy
> mms-to-local-copy-handler = true
>
>
> The code in question:
> mmsc/mmsglobalsender.c
>                /* If it is an IP, send to mobile handler, else if
> number, look for recipient. */
>                if (j > 0 && j - 1 +  sizeof "/TYPE=PLMN" == len)
>                     phonenum = octstr_copy(to->rcpt, 0, j);
>                else if (k > 0 && k + sizeof "/TYPE=IPv" == len) {
>                     if (settings->mms2mobile) { /* Send a copy to  
> this VASP. */
>                          Octstr *xerr = NULL;
>                          int res = mms_sendtovasp(settings- 
> >mms2mobile,
>                                                   e->from, to->rcpt,
>                                                   e->msgId,
>                                                   msg, &err);
>                          info(0, "%s Global Queue MMS Send: Local Msg
> copy to VASP (%s) - "
>                               "From %s, to %s, msgsize=%ld: err=%s",
>                               SEND_ERROR_STR(res),
>                               octstr_get_cstr(settings->mms2mobile- 
> >id),
>                               octstr_get_cstr(e->from),
> octstr_get_cstr(to->rcpt), e->msize,
>                               xerr ? octstr_get_cstr(xerr) :  
> "(null)");
>                          if (xerr)
>                               octstr_destroy(xerr);
>                     }
>                     res = mms_sendtomobile(e->from,
>                                            to->rcpt, e->subject, e- 
> >fromproxy,
>                                            e->msgId, e->expiryt, msg,
> e->dlr, &err);
>                     sent = 1;
>                     goto done;
>
> _______________________________________________
> Users mailing list
> [email protected]
> http://mbuni.org/mailman/listinfo/users_mbuni.org


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

Reply via email to