I called up my smsc and they directed me to change the system-type parameter
to blank instead of default and then it all worked okay!
thanks a million! for all your help, i really appreciate it!

2009/7/2 Nikos Balkanas <[email protected]>

> No,
>
> The error is before:
>
> SMSC rejected
>
>> > login to transmit, code 0x00000009 (Unknown/Reserved)
>>>>>>
>>>>>
> Looks like you don't send the right username for the transmitter and your
> smsmc is rejecting it. Verify your credentials, and if correct check with
> your smsc why they are rejecting them.
>
> Nikos
> ----- Original Message ----- From: "Henri Hovi" <[email protected]>
> To: <[email protected]>
> Sent: Thursday, July 02, 2009 1:20 PM
>
> Subject: Re: connecting to smpp with same ip and port for both transmitter
> andreceiver
>
>
> Log says:
> " PDU NULL terminated string (system_id) has no NULL."
>
>
> Maybe some garbage after the system-id string ?
>
> --
> Henri Hovi
> http://www.patidure.com
>
>
>
>
> 2009/7/2 Nikos Balkanas <[email protected]>:
>
>> Well, you get errors about that. Looks like your smsc is returning a NULL
>> system-id. Why don't you try username instead and post logs?
>>
>> Nikos
>> ----- Original Message ----- From: "Henri Hovi" <[email protected]>
>> To: <[email protected]>
>> Sent: Thursday, July 02, 2009 12:34 PM
>> Subject: Re: connecting to smpp with same ip and port for both transmitter
>> andreceiver
>>
>>
>>  Yes, but he has system-id which is used for same purpose as the
>>> smsc-username
>>>
>>>
>>> --
>>> Henri Hovi
>>> http://www.patidure.com
>>>
>>> 2009/7/2 Nikos Balkanas <[email protected]>:
>>>
>>>>
>>>> Hi,
>>>>
>>>> You are missing smsc-username in your configuration.
>>>>
>>>> You have smsc connectivity, you are exchanging PDUs.
>>>>
>>>> BR,
>>>> Nikos
>>>> ----- Original Message ----- From: "Henri Hovi" <
>>>> [email protected]>
>>>> To: <[email protected]>
>>>> Sent: Thursday, July 02, 2009 11:05 AM
>>>> Subject: Re: connecting to smpp with same ip and port for both
>>>> transmitter
>>>> andreceiver
>>>>
>>>>
>>>> Ok, understood the "yes" in Your reply for the private IP :)
>>>>
>>>> I have established SMPP connection to Safaricom SMSC by using Kannel,
>>>> but unfortenatley can't help more with Your issue, I had no issues
>>>> setting up the connection.
>>>>
>>>>
>>>> --
>>>> Henri Hovi
>>>> http://www.patidure.com
>>>>
>>>>
>>>>
>>>> On Thu, Jul 2, 2009 at 10:42 AM, Yonny Owour<[email protected]>
>>>> wrote:
>>>>
>>>>>
>>>>> that ip is for safaricom acutually its 192.168.9,93 i just changed it
>>>>> just
>>>>> incase someone doesnt try hacking it
>>>>>
>>>>> my ip is 172.31.158.102 with the default gateway of 172.31.158.101
>>>>> basically
>>>>> they give you a slash (/)30 and you use a router to router to connect
>>>>> to
>>>>> their vpn
>>>>> i should also mention that another person has connected successfuly
>>>>> using
>>>>> a
>>>>> c# smpp client with the same settings
>>>>>
>>>>> On Thu, Jul 2, 2009 at 10:32 AM, Henri Hovi <[email protected]>
>>>>> wrote:
>>>>>
>>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> is this IP (192.168.9.43) Yours or IP in Safaricom which You can
>>>>>> reach via VPN ?
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Henri Hovi
>>>>>> http://www.patidure.com
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Thu, Jul 2, 2009 at 10:17 AM, Yonny Owour<[email protected]>
>>>>>> wrote:
>>>>>> > 2009-07-01 11:47:57 [3252] [0] INFO: Kannel bearerbox II version >
>>>>>> > 1.4.3
>>>>>> > starting
>>>>>> > 2009-07-01 11:47:57 [3252] [0] INFO: MAIN: Start-up done, entering
>>>>>> > mainloop
>>>>>> > 2009-07-01 11:47:57 [3252] [6] DEBUG: SMPP[safaricomT]: Sending PDU:
>>>>>> > 2009-07-01 11:47:57 [3252] [7] DEBUG: SMPP[safaricomR]: Sending PDU:
>>>>>> > 2009-07-01 11:47:57 [3252] [7] DEBUG: SMPP PDU 0x9e9c770 dump:
>>>>>> > 2009-07-01 11:47:57 [3252] [7] DEBUG: type_name: bind_receiver
>>>>>> > 2009-07-01 11:47:57 [3252] [7] DEBUG: command_id: 1 = 0x00000001
>>>>>> > 2009-07-01 11:47:57 [3252] [7] DEBUG: command_status: 0 = 0x00000000
>>>>>> > 2009-07-01 11:47:57 [3252] [6] DEBUG: SMPP PDU 0x9e9c618 dump:
>>>>>> > 2009-07-01 11:47:57 [3252] [7] DEBUG: sequence_number: 1 = >
>>>>>> 0x00000001
>>>>>> > 2009-07-01 11:47:57 [3252] [7] DEBUG: system_id: "hausramR"
>>>>>> > 2009-07-01 11:47:57 [3252] [7] DEBUG: password: "hausram"
>>>>>> > 2009-07-01 11:47:57 [3252] [7] DEBUG: system_type: "VMA"
>>>>>> > 2009-07-01 11:47:57 [3252] [7] DEBUG: interface_version: 52 =
>>>>>> > 0x00000034
>>>>>> > 2009-07-01 11:47:57 [3252] [7] DEBUG: addr_ton: 0 = 0x00000000
>>>>>> > 2009-07-01 11:47:57 [3252] [7] DEBUG: addr_npi: 0 = 0x00000000
>>>>>> > 2009-07-01 11:47:57 [3252] [6] DEBUG: type_name: bind_transmitter
>>>>>> > 2009-07-01 11:47:57 [3252] [7] DEBUG: address_range: ""
>>>>>> > 2009-07-01 11:47:57 [3252] [6] DEBUG: command_id: 2 = 0x00000002
>>>>>> > 2009-07-01 11:47:57 [3252] [7] DEBUG: SMPP PDU dump ends.
>>>>>> > 2009-07-01 11:47:57 [3252] [6] DEBUG: command_status: 0 = 0x00000000
>>>>>> > 2009-07-01 11:47:57 [3252] [6] DEBUG: sequence_number: 1 = >
>>>>>> 0x00000001
>>>>>> > 2009-07-01 11:47:57 [3252] [6] DEBUG: system_id: "hausramT"
>>>>>> > 2009-07-01 11:47:57 [3252] [6] DEBUG: password: "hausram"
>>>>>> > 2009-07-01 11:47:57 [3252] [6] DEBUG: system_type: "VMA"
>>>>>> > 2009-07-01 11:47:57 [3252] [6] DEBUG: interface_version: 52 =
>>>>>> > 0x00000034
>>>>>> > 2009-07-01 11:47:57 [3252] [6] DEBUG: addr_ton: 0 = 0x00000000
>>>>>> > 2009-07-01 11:47:57 [3252] [6] DEBUG: addr_npi: 0 = 0x00000000
>>>>>> > 2009-07-01 11:47:57 [3252] [6] DEBUG: address_range: ""
>>>>>> > 2009-07-01 11:47:57 [3252] [6] DEBUG: SMPP PDU dump ends.
>>>>>> > 2009-07-01 11:47:58 [3252] [6] WARNING: SMPP: PDU NULL terminated
>>>>>> > string (system_id) has no NULL.
>>>>>> > 2009-07-01 11:47:58 [3252] [6] DEBUG: SMPP[safaricomT]: Got PDU:
>>>>>> > 2009-07-01 11:47:58 [3252] [6] DEBUG: SMPP PDU 0x9e9c618 dump:
>>>>>> > 2009-07-01 11:47:58 [3252] [6] DEBUG: type_name: >
>>>>>> > bind_transmitter_resp
>>>>>> > 2009-07-01 11:47:58 [3252] [6] DEBUG: command_id: 2147483650 =
>>>>>> > 0x80000002
>>>>>> > 2009-07-01 11:47:58 [3252] [6] DEBUG: command_status: 9 = 0x00000009
>>>>>> > 2009-07-01 11:47:58 [3252] [6] DEBUG: sequence_number: 1 = >
>>>>>> 0x00000001
>>>>>> > 2009-07-01 11:47:58 [3252] [6] DEBUG: system_id: NULL
>>>>>> > 2009-07-01 11:47:58 [3252] [6] DEBUG: SMPP PDU dump ends.
>>>>>> > 2009-07-01 11:47:58 [3252] [6] ERROR: SMPP[safaricomT]: SMSC >
>>>>>> rejected
>>>>>> > login to transmit, code 0x00000009 (Unknown/Reserved).
>>>>>> > 2009-07-01 11:47:58 [3252] [6] ERROR: SMPP[safaricomT]: I/O error or
>>>>>> > other error. Re-connecting.
>>>>>> > 2009-07-01 11:47:58 [3252] [6] ERROR: SMPP[safaricomT]: Couldn't
>>>>>> > connect to SMS center (retrying in 10 seconds).
>>>>>> > 2009-07-01 11:47:59 [3252] [7] WARNING: SMPP: PDU NULL terminated
>>>>>> > string (system_id) has no NULL.
>>>>>> > 2009-07-01 11:47:59 [3252] [7] DEBUG: SMPP[safaricomR]: Got PDU:
>>>>>> > 2009-07-01 11:47:59 [3252] [7] DEBUG: SMPP PDU 0x9e9bdc8 dump:
>>>>>> > 2009-07-01 11:47:59 [3252] [7] DEBUG: type_name: bind_receiver_resp
>>>>>> > 2009-07-01 11:47:59 [3252] [7] DEBUG: command_id: 2147483649 =
>>>>>> > 0x80000001
>>>>>> > 2009-07-01 11:47:59 [3252] [7] DEBUG: command_status: 9 = 0x00000009
>>>>>> > 2009-07-01 11:47:59 [3252] [7] DEBUG: sequence_number: 1 = >
>>>>>> 0x00000001
>>>>>> > 2009-07-01 11:47:59 [3252] [7] DEBUG: system_id: NULL
>>>>>> > 2009-07-01 11:47:59 [3252] [7] DEBUG: SMPP PDU dump ends.
>>>>>> > 2009-07-01 11:47:59 [3252] [7] ERROR: SMPP[safaricomR]: SMSC >
>>>>>> rejected
>>>>>> > login to receive, code 0x00000009 (Unknown/Reserved).
>>>>>> > 2009-07-01 11:47:59 [3252] [7] ERROR: SMPP[safaricomR]: I/O error or
>>>>>> > other error. Re-connecting.
>>>>>> > 2009-07-01 11:47:59 [3252] [7] ERROR: SMPP[safaricomR]: Couldn't
>>>>>> > connect to SMS center (retrying in 10 seconds).
>>>>>> > 2009-07-01 11:48:08 [3252] [6] DEBUG: SMPP[safaricomT]: Sending PDU:
>>>>>> > 2009-07-01 11:48:08 [3252] [6] DEBUG: SMPP PDU 0x9e955c8 dump:
>>>>>> > 2009-07-01 11:48:08 [3252] [6] DEBUG: type_name: bind_transmitter
>>>>>> > 2009-07-01 11:48:08 [3252] [6] DEBUG: command_id: 2 = 0x00000002
>>>>>> > 2009-07-01 11:48:08 [3252] [6] DEBUG: command_status: 0 = 0x00000000
>>>>>> > 2009-07-01 11:48:08 [3252] [6] DEBUG: sequence_number: 2 = >
>>>>>> 0x00000002
>>>>>> > 2009-07-01 11:48:08 [3252] [6] DEBUG: system_id: "hausramT"
>>>>>> > 2009-07-01 11:48:08 [3252] [6] DEBUG: password: "hausram"
>>>>>> > 2009-07-01 11:48:08 [3252] [6] DEBUG: system_type: "VMA"
>>>>>> > 2009-07-01 11:48:08 [3252] [6] DEBUG: interface_version: 52 =
>>>>>> > 0x00000034
>>>>>> > 2009-07-01 11:48:08 [3252] [6] DEBUG: addr_ton: 0 = 0x00000000
>>>>>> > 2009-07-01 11:48:08 [3252] [6] DEBUG: addr_npi: 0 = 0x00000000
>>>>>> > 2009-07-01 11:48:08 [3252] [6] DEBUG: address_range: ""
>>>>>> > 2009-07-01 11:48:08 [3252] [6] DEBUG: SMPP PDU dump ends.
>>>>>> > 2009-07-01 11:48:08 [3252] [6] WARNING: SMPP: PDU NULL terminated
>>>>>> > string (system_id) has no NULL.
>>>>>> > 2009-07-01 11:48:08 [3252] [6] DEBUG: SMPP[safaricomT]: Got PDU:
>>>>>> > 2009-07-01 11:48:08 [3252] [6] DEBUG: SMPP PDU 0x9e955f8 dump:
>>>>>> > 2009-07-01 11:48:08 [3252] [6] DEBUG: type_name: >
>>>>>> > bind_transmitter_resp
>>>>>> > 2009-07-01 11:48:08 [3252] [6] DEBUG: command_id: 2147483650 =
>>>>>> > 0x80000002
>>>>>> > 2009-07-01 11:48:08 [3252] [6] DEBUG: command_status: 9 = 0x00000009
>>>>>> > 2009-07-01 11:48:08 [3252] [6] DEBUG: sequence_number: 2 = >
>>>>>> 0x00000002
>>>>>> > 2009-07-01 11:48:08 [3252] [6] DEBUG: system_id: NULL
>>>>>> > 2009-07-01 11:48:08 [3252] [6] DEBUG: SMPP PDU dump ends.
>>>>>> > 2009-07-01 11:48:08 [3252] [6] ERROR: SMPP[safaricomT]: SMSC >
>>>>>> rejected
>>>>>> > login to transmit, code 0x00000009 (Unknown/Reserved).
>>>>>> > 2009-07-01 11:48:08 [3252] [6] ERROR: SMPP[safaricomT]: I/O error or
>>>>>> > other error. Re-connecting.
>>>>>> > 2009-07-01 11:48:08 [3252] [6] ERROR: SMPP[safaricomT]: Couldn't
>>>>>> > connect to SMS center (retrying in 10 seconds).
>>>>>> > 2009-07-01 11:48:10 [3252] [7] DEBUG: SMPP[safaricomR]: Sending PDU:
>>>>>> > that is my log file maybe you can figure out why its not connecting,
>>>>>> > basically am trying to configure kannel as an sms gateway client not
>>>>>> > server, and connect to my providers server through smpp
>>>>>> >
>>>>>> >
>>>>>> >
>>>>>> > On 7/2/09, Henri Hovi <[email protected]> wrote:
>>>>>> >> Hi,
>>>>>> >>
>>>>>> >> I assume that this is Your host (192.168.9.43) and You just want to
>>>>>> >> test the connectivity?
>>>>>> >>
>>>>>> >> If so, what You try to do is to setup Kannel in server mode (like
>>>>>> >> SMSC) and that's not supported by the Kannel in it's default
>>>>>> >> configuration. You need to have SMPP server module in Kannel in >>
>>>>>> >> order
>>>>>> >> to do that.
>>>>>> >>
>>>>>> >> So Your current setup will not deliver any SMS messages from one to
>>>>>> >> "SMSC" to another.
>>>>>> >>
>>>>>> >>
>>>>>> >> --
>>>>>> >> Henri Hovi
>>>>>> >> http://www.patidure.com
>>>>>> >>
>>>>>> >>
>>>>>> >>
>>>>>> >> On Thu, Jul 2, 2009 at 9:10 AM, Yonny Owour<[email protected]>
>>>>>> >> wrote:
>>>>>> >>>
>>>>>> >>>
>>>>>> >>> ---------- Forwarded message ----------
>>>>>> >>> From: Yonny Owour <[email protected]>
>>>>>> >>> Date: Jul 1, 2009 2:44 PM
>>>>>> >>> Subject: connent to smpp
>>>>>> >>> To: [email protected]
>>>>>> >>>
>>>>>> >>> i have the same ip/host for both the trasmitter and the receiver,
>>>>>> >>> >>> >>>
>>>>>> >>> also
>>>>>> >>> the the port number are the same, but different username /system
>>>>>> >>> id
>>>>>> >>> for both the transmiter and the receiver, so on the transmitter
>>>>>> >>>  >>>
>>>>>> >>> i've
>>>>>> >>> set the port = xxxx, whille receive-port = 0, and vice versa for
>>>>>> >>> >>> the
>>>>>> >>> receiver, but i still cant connect to my smsc
>>>>>> >>> how do i go about this?
>>>>>> >>>
>>>>>> >>> i get the error message that smsc has rejected your login
>>>>>> >>>
>>>>>> >>> my configuration are as follows
>>>>>> >>>
>>>>>> >>> # transmitter
>>>>>> >>> group=smsc
>>>>>> >>> smsc=smpp
>>>>>> >>> smsc-id=safaricomT
>>>>>> >>> interface-version=34
>>>>>> >>> host=192.168.9.43
>>>>>> >>> port=6690
>>>>>> >>> receive-port = 0
>>>>>> >>> system-id=mimi
>>>>>> >>> smsc-password=strngpas
>>>>>> >>> system-type=default
>>>>>> >>> transceiver-mode=0
>>>>>> >>>
>>>>>> >>> # receiver
>>>>>> >>> group=smsc
>>>>>> >>> smsc=smpp
>>>>>> >>> smsc-id=safaricomR
>>>>>> >>> interface-version=34
>>>>>> >>> host=192.168.9.43
>>>>>> >>> port=0
>>>>>> >>> receive-port = 6690
>>>>>> >>> system-id=mimiT
>>>>>> >>> smsc-password=strngpas
>>>>>> >>> system-type=default
>>>>>> >>> transceiver-mode=0
>>>>>> >>>
>>>>>> >>> group = smsbox
>>>>>> >>> bearerbox-host = 127.0.0.1
>>>>>> >>> sendsms-port = 13013
>>>>>> >>> log-level = 0
>>>>>> >>>
>>>>>> >>
>>>>>> >>
>>>>>> >>
>>>>>> >> --
>>>>>> >> --
>>>>>> >> Henri Hovi
>>>>>> >> http://www.patidure.com
>>>>>> >>
>>>>>> >>
>>>>>> >
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> --
>>>>>> Henri Hovi
>>>>>> http://www.patidure.com
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> --
>>>> Henri Hovi
>>>> http://www.patidure.com
>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> --
>>> Henri Hovi
>>> http://www.patidure.com
>>>
>>>
>>
>>
>
>
> --
> --
> Henri Hovi
> http://www.patidure.com
>
>
>

Reply via email to