Hi Stipe On Thu, Mar 27, 2003 at 11:09:54PM +0100, Stipe Tolj wrote: > > Is it ok to have multiple smsc groups? > > of course. We have up to 140 smsc groups in one Kannel instance ;))
Whew! > > If I try and set both of these to run concurrently, I get a failure on one of > > the SMSC connections. > > > > 2003-03-27 21:34:59 [7] DEBUG: SMPP[orangeshort]: Sending enquire link: > > 2003-03-27 21:34:59 [7] DEBUG: SMPP PDU 0x8126760 dump: > > 2003-03-27 21:34:59 [7] DEBUG: type_name: enquire_link > > 2003-03-27 21:34:59 [7] DEBUG: command_id: 21 = 0x00000015 > > 2003-03-27 21:34:59 [7] DEBUG: command_status: 0 = 0x00000000 > > 2003-03-27 21:34:59 [7] DEBUG: sequence_number: 7 = 0x00000007 > > 2003-03-27 21:34:59 [7] DEBUG: SMPP PDU dump ends. > > 2003-03-27 21:34:59 [7] ERROR: Unknown SMPP_PDU type, internal error. > > 2003-03-27 21:34:59 [7] ERROR: SMPP[orangeshort]: PDU unpacking failed. > > 2003-03-27 21:34:59 [7] DEBUG: SMPP[orangeshort]: Failed PDU follows. > > 2003-03-27 21:34:59 [7] DEBUG: Octet string at 0x8125a90: > > 2003-03-27 21:34:59 [7] DEBUG: len: 12 > > 2003-03-27 21:34:59 [7] DEBUG: size: 13 > > 2003-03-27 21:34:59 [7] DEBUG: immutable: 0 > > 2003-03-27 21:34:59 [7] DEBUG: data: 80 00 00 00 00 00 00 03 ........ > > 2003-03-27 21:34:59 [7] DEBUG: data: 00 00 00 07 .... > > 2003-03-27 21:34:59 [7] DEBUG: Octet string dump ends. > > 2003-03-27 21:34:59 [7] ERROR: SMPP[orangeshort]: I/O error or other error. > > Re-connecting. > > while this is the same thread, you see this in the brackets (here [7], > which means thread-id 7), it seems that the smsc responds with an > "upknown" PDU response on the enquire_link request. > > Does this happen each time Kannel sends the enquire_link PDU to the > SMSC? Yes. However if I comment out the other smsc config the enquire_link PDU comes up fine: 2003-03-27 22:23:05 [6] DEBUG: SMPP[orangeshort]: Got PDU: 2003-03-27 22:23:05 [6] DEBUG: SMPP PDU 0x81249a8 dump: 2003-03-27 22:23:05 [6] DEBUG: type_name: enquire_link_resp 2003-03-27 22:23:05 [6] DEBUG: command_id: 2147483669 = 0x80000015 2003-03-27 22:23:05 [6] DEBUG: command_status: 0 = 0x00000000 2003-03-27 22:23:05 [6] DEBUG: sequence_number: 3 = 0x00000003 2003-03-27 22:23:05 [6] DEBUG: SMPP PDU dump ends. As both configs are configured on the same send and receive ports I wonder if they are clashing. The main issue here is that I'm connecting to the same SMSC, but have had to configure two smsc groups because the one requires a source_addr_ton of 3 (short code) while the other needs a long code setting (source_addr_ton of 1). Thanks very much for your help. rory
