Hi,

yep, this should be configurable ... I have patch for this , will send it to 
ML today or tmrw...

On Tuesday 25 March 2003 17:11, Benjamin Lee wrote:
> At least in the cases I have tested, if you remove the plus '+' from the
> front of an originator number / source address, the originator mobile
> number turns up on the end user's mobile without a '+' (makes sense) and
> the user cannot reply to it correctly -- Nokia 6110, 7110.
>
> The cases that don't work for us are *local* numbers that we prefix to +61
> (Australia). Our SMSC doesn't permit NATIONAL number submission in TON.
>
> I haven't tried an overseas originator mobile number.
>
> (Strangely, the SMSC's special TPOA assigned to us does work without the +
> prefix.)
>
> Comments?
>
>
>
> Index: smsc_smpp.c
> ===================================================================
> RCS file: /home/cvs/gateway/gw/smsc/smsc_smpp.c,v
> retrieving revision 1.31
> diff -u -b -r1.31 smsc_smpp.c
> --- smsc_smpp.c 19 Mar 2003 17:43:11 -0000      1.31
> +++ smsc_smpp.c 25 Mar 2003 16:00:23 -0000
> @@ -366,6 +366,8 @@
>                  pdu->u.submit_sm.source_addr_npi = GSM_ADDR_NPI_UNKNOWN;  
>  /* short code */ } else {
>                 /* numeric sender address with + in front -> international
> (remove the +) */ +
> +                /* should this be configurable? */
>                 octstr_delete(pdu->u.submit_sm.source_addr, 0, 1);
>                 pdu->u.submit_sm.source_addr_ton =
> GSM_ADDR_TON_INTERNATIONAL; }

-- 
Best Regards / Mit besten Gr��en aus K�ln

Dipl.-Ing.
Alexander Malysh
___________________________________

Centrium GmbH
Ehrenstrasse 2
50672 K�ln

Fon: +49 (0221) 277 49 240
Fax: +49 (0221) 277 49 109

email: [EMAIL PROTECTED]
web: http://www.centrium.de
msn: [EMAIL PROTECTED]

Attachment: smime.p7s
Description: signature

Reply via email to