> The smpp smsc code does not seem to set the
> msg->sms.smsc_id field.
> 
> --- smsc_smpp.c
> +++ smsc_smpp.c
> @@ -371,7 +371,9 @@
>         /* bb_smscconn_receive can fail, but we ignore that since we
>            have no way to usefull tell the SMS center about this
>            (no suitable error code for the deliver_sm_resp is defined) */
> -       (void) bb_smscconn_receive(smpp->conn, pdu_to_msg(pdu));
> +       msg = pdu_to_msg (pdu);
> +       msg->sms.smsc_id = octstr_duplicate(smpp->conn->id);
> +       (void) bb_smscconn_receive(smpp->conn, msg);
>         resp = smpp_pdu_create(deliver_sm_resp,
>                                pdu->u.deliver_sm.sequence_number);
>         break;

patch applied to CVS, thanks a lot!

Stipe

[EMAIL PROTECTED]
-------------------------------------------------------------------
Wapme Systems AG

M�nsterstr. 248
40470 D�sseldorf

Tel: +49-211-74845-0
Fax: +49-211-74845-299

E-Mail: [EMAIL PROTECTED]
Internet: http://www.wapme-systems.de
-------------------------------------------------------------------
wapme.net - wherever you are

Reply via email to