Hi All, 
 
We are using Kannel stable version to do MO / MT Wap Push and MT PSMS 
For this we have two accounts given by MBlox. 
One is for MT without tarrif and other for MO/MT PSMS with tarrif. 
 
We are able to do MT Wap Push with one account and MO with other account. 
But not MT and MO with one account. 
 
We have a little confusion about the service_type field. What should that be 
set in order to get both MO/MT working together? 
Also don't know where to set OperatorID (which is necessary to set as 
informed by Mblox) 
 
Here's what we have tried with the Kannel WAP gateway... 
 
-----------------------------------------------------------------------------------------
 
Kannel configuration - both MT & PSMS accounts activated simultaneously 
-----------------------------------------------------------------------------------------
 
 
# SMSC SMPP 
group = smsc 
smsc-id = smsc1 
smsc  = smpp 
host  = smpp.mt.us.mblox.com 
port  = 3203 
transceiver-mode = true 
smsc-username = my_mt_username 
smsc-password = my_mt_password 
system-type ="" 
dest-addr-ton = 1 
dest-addr-npi = 1 
source-addr-ton = 0 
source-addr-npi = 0 
 
 
# SMSC SMPP 
group = smsc 
smsc-id = smsc2 
smsc  = smpp 
host  = smpp.psms.us.mblox.com 
port  = 3204 
transceiver-mode = true 
my-number = 12345 
smsc-username = my_username 
smsc-password = my_password 
system-type = My_name 
#service-type = 3029 
dest-addr-ton = 1 
dest-addr-npi = 1 
source-addr-ton = 0 
source-addr-npi = 0 
-------------------------------------------------------------------- 
 
 
When we start Kannel with the above configuration and try to send Wap Push 
using test_ppg, test_ppg output says that it 
succeeded in sending WAP Push; but bearerbox shows following error & WAP 
Push does not get delivered. 
 
2004-06-16 05:31:06 [6] DEBUG:   command_status: 1066 = 0x0000042a 
2004-06-16 05:31:06 [6] DEBUG:   sequence_number: 2 = 0x00000002 
2004-06-16 05:31:06 [6] DEBUG:   message_id: NULL 
2004-06-16 05:31:06 [6] DEBUG: SMPP PDU dump ends. 
2004-06-16 05:31:06 [6] ERROR: SMPP[smsc2]: SMSC returned error code 
0x0000042a in response to submit_sm. 
2004-06-16 05:31:13 [5] DEBUG: SMPP[smsc1]: Sending enquire link: 
dump: 
2004-06-16 05:31:13 [5] DEBUG:   type_name: enquire_link_resp 
2004-06-16 05:31:13 [5] DEBUG:   command_id: 2147483669 = 0x80000015 
2004-06-16 05:31:13 [5] DEBUG:   command_status: 0 = 0x00000000 
2004-06-16 05:31:13 [5] DEBUG:   sequence_number: 2 = 0x00000002 
2004-06-16 05:31:13 [5] DEBUG: SMPP PDU dump ends. 
 
-------------------------------------------------------------------------------------- 
 
#service-type = 3029            --- line 85 of file 
`pushkannel_working_service.conf' 
 
If I uncomment this, bearerbox does not start at all. The error looks like 
this: 
 
2004-06-16 05:39:12 [0] INFO: Debug_lvl = -1, log_file = <none>, log_lvl = 0 
2004-06-16 05:39:12 [0] ERROR: Group 'smsc' may not contain field 
'service-type'. 
2004-06-16 05:39:12 [0] ERROR: Error found on line 85 of file 
`pushkannel_working_service.conf'. 
2004-06-16 05:39:12 [0] PANIC: Couldn't read configuration from 
`pushkannel_working_service.conf'. 
 
This service-type value XXXX was provided with the PSMS account from mBlox 
 
 
Can anyone find out where I had gone wrong? 
I had badly stuck down. 
Waiting for your fast reply. 
 
Thanks in advance 
 
Regards, 
Hiren. 

Reply via email to