SMPPOptions issues | Search |
NowSMS Support Forums ⬆ NowSMS Support - SMS Issues ⬆ Archive through October 16, 2008 ⬆ |
◄ ► |
Author | Message | |||
Rik Clews New member Username: Rikclews Post Number: 2 Registered: 08-2006 |
Hi, We're trying to send through Ericsson IPX, and have found that although we have set a section in SMSGW.ini: [SMPPOptions] account_name=1600,String reference_id=1601,String tariff_class=1602,String vat=1603,String content_category=1604,String content_metadata=1605,String and included "&SMPPOption_tariff_class=" it seems to not be getting through, although the passed in values are in the debug log. At Ericssons end, they only receive the default values - and I'm thinking now that either the parameter names are somehow being sent incorrectly or not sent at all. We also added DefaultSMPPOptions to the route details but with the same outcome. we are using v2007.02.14. Any Ideas? Heres an extract from SMPPDEBUG.log showing the failure: 09:37:05:922 (000001E0) 217.151.194.72 ->: 126 byte packet 09:37:05:922 (000001E0) 217.151.194.72 ->: 00 00 00 7E 00 00 00 04 00 00 00 00 00 00 00 03 ~ 09:37:05:922 (000001E0) 217.151.194.72 ->: 00 02 00 36 31 33 31 33 00 01 01 34 34 37 37 32 61313 44772 09:37:05:922 (000001E0) 217.151.194.72 ->: 39 34 38 37 36 32 30 00 00 00 00 00 30 30 30 30 9487620 0000 09:37:05:922 (000001E0) 217.151.194.72 ->: 30 31 30 30 30 30 30 30 30 30 30 52 00 01 00 F1 01000000000R 09:37:05:922 (000001E0) 217.151.194.72 ->: 00 0A 4E 65 77 20 54 65 73 74 20 32 16 02 00 05 New Test 2 09:37:05:922 (000001E0) 217.151.194.72 ->: 47 42 50 32 35 16 00 00 06 23 4E 55 4C 4C 23 16 GBP25 #NULL# 09:37:05:922 (000001E0) 217.151.194.72 ->: 01 00 01 31 16 03 00 02 2D 31 16 04 00 06 23 4E 1 -1 #N 09:37:05:922 (000001E0) 217.151.194.72 ->: 55 4C 4C 23 16 05 00 06 23 4E 55 4C 4C 23 ULL# #NULL# 09:37:05:992 (000001E0) 217.151.194.72 --: SMPPSubmitMessage: Got an SMPP response 09:37:05:992 (000001E0) 217.151.194.72 <-: 89 byte packet 09:37:05:992 (000001E0) 217.151.194.72 <-: 00 00 00 59 80 00 00 04 00 00 00 45 00 00 00 03 Y E 09:37:05:992 (000001E0) 217.151.194.72 <-: 00 16 06 00 04 31 30 31 00 16 07 00 02 30 00 16 101 0 09:37:05:992 (000001E0) 217.151.194.72 <-: 08 00 1D 49 6E 76 61 6C 69 64 20 74 61 72 69 66 Invalid tarif 09:37:05:992 (000001E0) 217.151.194.72 <-: 66 20 63 6C 61 73 73 20 28 70 72 69 63 65 29 00 f class (price) 09:37:05:992 (000001E0) 217.151.194.72 <-: 16 09 00 06 66 61 6C 73 65 00 16 0A 00 02 32 00 false 2 09:37:05:992 (000001E0) 217.151.194.72 <-: 16 0B 00 05 2D 31 2E 30 00 -1.0 09:37:05:992 (000001E0) 217.151.194.72 --: SMPPEnquireLink: Sending enquire_link | |||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 43 Registered: 08-2008 |
Hi Rik, Are you saying that in the example above, on the Ericsson end they say that they do not see that you specified tariff_class = GBP25? Do you have a specification where they document these parameters? As a slightly educated guess, you might want to try changing "String" to "CString". In the SMPP specification, some parameters are defined with a type of "Octet String" and some are defined as "C-Octet String". The difference between these two formats is that "C-Octet String" is null terminated, whereas the other is not. I'm guessing that maybe the provider wants to see the null terminated string, which is what you'll get if you change "String" to "CString" in the SMPPOptions definition. -- Des NowSMS Support | |||
Rik Clews New member Username: Rikclews Post Number: 3 Registered: 08-2006 |
Hi Des, You Sir, are a genius. Changing the type to CString worked, should have known since the spec does say C-Octet string. Thanks, Rik |