Good Day,

Around line 408 in gw/smsc/smsc_smpp.c, a deliver_sm PDU is checked for its destination_addr. In cases where the TON is not set to GSM_ADDR_TON_ALPHANUMERIC, non-digit characters are treated as invalid. This seems up to spec, but I'm running into a real world implementation here that is sending messages with a destination- address of {shortcode} + "#" + {trackingcode} and the TON set to 0 (GSM_ADDR_TON_UNKNOWN). I'm not quite sure what the standards say about dealing with that TON, but it would make sense to disable the check for that TON as well.

Alternatively, it might be desirable to allow this check to be bypassed completely from the configuration file.

Cheers,
Pim van Riezen


Reply via email to