Hello Rene,

It is Still not working.:( This time SMPP is giving error Code 14. I am
pasting below the result of my SMPP Aplication in PHP
================================================

Bind Transmitter PDU: 103 111 111 100 99 108 105 101 110 116 0 115 101
99 114 101 116 0 100 101 102 97 117 108 116 0 52 1 1 0
Sending PDU, len == 46
Sending PDU, header-len == 16
Sending PDU, command_id == 2
Sending PDU, sequence number == 1
Sending PDU, command status == 0


Trying to read PDU.
Reading PDU : 17 bytes.
Stream len : 13
Stream Hex : 80 00 00 02 00 00 00 0d 00 00 00 01 00

Command id : 2.
Command status : 13.
sequence_number : 1.
Got bind_transmitter_RESP.
system id : .

Received PDU:
€(0)(0)(2)(0)(0)(0)(13)(0)(0)(0)(1)(0)
Error binding to SMPP server. Invalid credentials?
Sending PDU, len == 16
Sending PDU, header-len == 16
Sending PDU, command_id == 21
Sending PDU, sequence number == 2
Sending PDU, command status == 0


Trying to read PDU.
Reading PDU : 16 bytes.
Stream len : 12
Stream Hex : 80 00 00 00 00 00 00 0e 00 00 00 02

Command id : 0.
Command status : 14.
sequence_number : 2.
Got unknow 0 SMPP pdu.

Received PDU:
€(0)(0)(0)(0)(0)(0)(14)(0)(0)(0)(2)


In split_message.
One message: 86
PDU spec: a1cca5cca13ccca1a1ccccca86.
Sending PDU, len == 135
Sending PDU, header-len == 16
Sending PDU, command_id == 4
Sending PDU, sequence number == 3
Sending PDU, command status == 0


Trying to read PDU.
Reading PDU : 16 bytes.
Stream len : 12
Stream Hex : 80 00 00 00 00 00 00 0e 00 00 00 03

Command id : 0.
Command status : 14.
sequence_number : 3.
Got unknow 0 SMPP pdu.

Received PDU:
€(0)(0)(0)(0)(0)(0)(14)(0)(0)(0)(3)
SMPP server returned error 14.
=====================================================



On Fri, Sep 3, 2010 at 5:04 PM, Rene Kluwen <[email protected]> wrote:

>  Try to add an ip-mask, like this:
>
>
>
> goodclient           secret   BOX1     *.*.*.*
>
>
>
> == Rene
>
>
>
>
>
> *From:* [email protected] [mailto:[email protected]] *On
> Behalf Of *Anshu Sah
> *Sent:* Friday, 03 September, 2010 13:02
> *To:* Rene Kluwen
> *Cc:* users
>
> *Subject:* Re: Invalid SMPP PDU received SMPPBOX
>
>
>
> Hello Rene,
>
> My SMPPLogin.txt looks like below.
> username <TAB>password<TAB>SMSBOX-ID
>
> Please let me know if it is correct?
>
> smpplogins.txt
> ==============================
>
> goodclient    secret    BOX1
>
> ==============================
>
> # this group defines your smppbox
> group = smppbox
> # our boxc type
> smppbox-id = ChimpMaster
> # the port to listen on for smpp connections
> smppbox-port = 2346
> # we connect to the following host as a box
> bearerbox-host = 127.0.0.1
> bearerbox-port = 13013
> log-level = 0
> use-systemid-as-smsboxid = false
> log-file = /projects/kannel/logs/
>
> ChimpMaster.log
> our-system-id = ChimpMaster
> route-to-smsc = SMSC1
> # see sample smpplogins.txt
> smpp-logins = "/projects/kannel/configs/smpplogins.txt"
>
> ================================================
>
>
>
>  On Fri, Sep 3, 2010 at 3:50 PM, Rene Kluwen <[email protected]>
> wrote:
>
> What is the PDU that gets sent just before that? A bind? Then it looks like
> the credentials are not correct.
>
>
>
> == Rene
>
>
>
> *From:* [email protected] [mailto:[email protected]] *On
> Behalf Of *Anshu Sah
> *Sent:* Friday, 03 September, 2010 04:24
> *To:* Rene Kluwen
> *Subject:* Re: Invalid SMPP PDU received SMPPBOX
>
>
>
> Hello Rene,
>
> Error is Invalid SMPP PDU received
>
> Logs are below
> =============================
>
> 2010-09-02 18:17:44 [1937] [2] DEBUG:    Octet string dump ends.
> 2010-09-02 18:17:44 [1937] [2] DEBUG: SMPP PDU dump ends.
> 2010-09-02 18:17:44 [1937] [2] DEBUG: SMPP[ChimpMaster]: Sending PDU:
> 2010-09-02 18:17:44 [1937] [2] DEBUG: SMPP PDU 0x96b3e68 dump:
> 2010-09-02 18:17:44 [1937] [2] DEBUG:   type_name: generic_nack
> 2010-09-02 18:17:44 [1937] [2] DEBUG:   command_id: 2147483648 = 0x80000000
> 2010-09-02 18:17:44 [1937] [2] DEBUG:   command_status: 14 = 0x0000000e
> 2010-09-02 18:17:44 [1937] [2] DEBUG:   sequence_number: 3 = 0x00000003
> 2010-09-02 18:17:44 [1937] [2] DEBUG: SMPP PDU dump ends.
> 2010-09-02 18:17:45 [1937] [2] ERROR: Invalid SMPP PDU received.
> 2010-09-02 18:17:45 [1937] [2] DEBUG: Thread 2
> (smppbox.c:smpp_to_bearerbox) terminates.
> 2010-09-02 18:17:46 [1937] [1] DEBUG: Thread 1 (smppbox.c:function)
> terminates.
>
>  On Fri, Sep 3, 2010 at 7:23 AM, Rene Kluwen <[email protected]>
> wrote:
>
> What error do you get?
>
>
>
> == Rene
>
>
>
> *From:* [email protected] [mailto:[email protected]] *On
> Behalf Of *Anshu Sah
> *Sent:* Friday, 03 September, 2010 02:44
> *To:* users
> *Cc:* Rene Kluwen; Nikos Balkanas
> *Subject:* Invalid SMPP PDU received SMPPBOX
>
>
>
> Hello Rene,
>
>
>
> After Updating Files from SVN Trunk I am able to install SMPPBOX
> But I am getting Some error. I am pasting my SMPPBOX config & Login file
> Text
> Also SMPP Group Content
>
>
> Please guide.
>
> Regards
> Anshu
>
> ===================================
> group=smsc
> smsc=smpp
> smsc-id=SMSC1
> host = xxxxxxxx
> port = 2345
> receive-port = 2345
> log-file = "/projects/kannel/logs/SMSC1.log"
> log-level = 0
> smsc-username = "xxxxxxxxx"
> smsc-password = "xxxxxxxx"
> msg-id-type = 0x01
> transceiver-mode=1
> system-type = 'default'
> interface-version = 34
>
> group = smsbox
> smsbox-id = BOX1
> bearerbox-host = 127.0.0.1
> sendsms-port = 13013
> log-file = "/projects/kannel/logs/BOX1.log"
> log-level = 0
>
> group = smsbox-route
> smsbox-id = BOX1
> smsc-id = "SMSC1"
> ===================================
>
> # this group defines your smppbox
> group = smppbox
> # our boxc type
> smppbox-id = ChimpMaster
> # the port to listen on for smpp connections
> smppbox-port = 2346
> # we connect to the following host as a box
> bearerbox-host = 127.0.0.1
> bearerbox-port = 13013
> log-level = 0
> use-systemid-as-smsboxid = false
> log-file = /projects/kannel/logs/ChimpMaster.log
> our-system-id = ChimpMaster
> route-to-smsc = SMSC1
> # see sample smpplogins.txt
> smpp-logins = "/projects/kannel/configs/smpplogins.txt"
>
> ================================================
> smpplogins.txt
> ================================================
> goodclient    secret    BOX1
> =============================================
>
>
>
>
>

Reply via email to