Hi,
I am now trying to connect to CardBoardFish gateway and they are telling me that the registered_delivery for messages sent are set to 0.
How would I set registered_delivery to 1?
Note: I was using your library to connect to world-text gateway and things were working fine (I was normaly receiving delivery receipts).
Regards,
Ihab
How would I set registered_delivery to 1?
Moderator: alt
Hi Hedroj,
The SMPP v3.4 Issue 1.2 Protocol Specification reads:
At some point you will want to set this property to 1 if this is what your provider interprets as a receipt request:
Good Luck
Nick
The SMPP v3.4 Issue 1.2 Protocol Specification reads:
How you apply this when using Alts library if you follow this template:5.2.17 registered_delivery
The registered_delivery parameter is used to request an SMSC delivery receipt and/or SME originated acknowledgements. The following values are defined:
Bits 7 6 5 4 3 2 1 0 Meaning SMSC Delivery Receipt (bits 1 and 0)
x x x x x x 0 0 No SMSC Delivery Receipt requested (default)
x x x x x x 0 1 SMSC Delivery Receipt requested where final delivery outcome is delivery success or failure
x x x x x x 1 0 SMSC Delivery Receipt requested where the final delivery outcome is delivery failure
x x x x x x 1 1 reserved
....
Code: Select all
Dim sp As New SubmitSm(m_ServiceType, m_SourceAddrTon, m_SourceAddrNpi, SourceMobileNum, m_DestAddrTon, m_DestAddrNpi, DestMobileNum)
sp.DataCoding = DataCodings.Default
sp.ShortMessageBytes = SmppClient.GetMessageBytes(TextMessageBody, DirectCast(sp.DataCoding, Byte))
Code: Select all
sp.RegisteredDelivery = 1
Nick
ProcessFlows UK Ltd
http://www.processflows.co.uk/
http://www.processflows.co.uk/