SMSC returned error code 0x00000407

2010-11-16 Thread I Gede Wijaya S

Halo list,

I'm using the newest svn version. in my log I got these:


2010-11-16 21:48:21 [20280] [13] DEBUG: boxc_receiver: sms received
2010-11-16 21:48:21 [20280] [13] DEBUG: send_msg: sending msg to box: 
127.0.0.1

2010-11-16 21:48:21 [20280] [6] DEBUG: SMPP[testop]: throughput (0.00,0.00)
2010-11-16 21:48:21 [20280] [6] DEBUG: SMPP[testop]: Manually forced 
source addr ton = 0, source add npi = 1
2010-11-16 21:48:21 [20280] [6] DEBUG: SMPP[testop]: Manually forced 
dest addr ton = 0, dest add npi = 1

2010-11-16 21:48:21 [20280] [6] DEBUG: new group created `smpp'
2010-11-16 21:48:21 [20280] [6] DEBUG: group=`smpp' key=`shortname' 
value=`'

2010-11-16 21:48:21 [20280] [6] DEBUG: SMPP[testop]: Sending PDU:
2010-11-16 21:48:21 [20280] [6] DEBUG: SMPP PDU 0x1356a680 dump:
2010-11-16 21:48:21 [20280] [6] DEBUG:   type_name: submit_sm
2010-11-16 21:48:21 [20280] [6] DEBUG:   command_id: 4 = 0x0004
2010-11-16 21:48:21 [20280] [6] DEBUG:   command_status: 0 = 0x
2010-11-16 21:48:21 [20280] [6] DEBUG:   sequence_number: 2 = 0x0002
2010-11-16 21:48:21 [20280] [6] DEBUG:   service_type: NULL
2010-11-16 21:48:21 [20280] [6] DEBUG:   source_addr_ton: 0 = 0x
2010-11-16 21:48:21 [20280] [6] DEBUG:   source_addr_npi: 1 = 0x0001
2010-11-16 21:48:21 [20280] [6] DEBUG:   source_addr: x
2010-11-16 21:48:21 [20280] [6] DEBUG:   dest_addr_ton: 0 = 0x
2010-11-16 21:48:21 [20280] [6] DEBUG:   dest_addr_npi: 1 = 0x0001
2010-11-16 21:48:21 [20280] [6] DEBUG:   destination_addr: xxx
2010-11-16 21:48:21 [20280] [6] DEBUG:   esm_class: 3 = 0x0003
2010-11-16 21:48:21 [20280] [6] DEBUG:   protocol_id: 0 = 0x
2010-11-16 21:48:21 [20280] [6] DEBUG:   priority_flag: 0 = 0x
2010-11-16 21:48:21 [20280] [6] DEBUG:   schedule_delivery_time: NULL
2010-11-16 21:48:21 [20280] [6] DEBUG:   validity_period: NULL
2010-11-16 21:48:21 [20280] [6] DEBUG:   registered_delivery: 1 = 0x0001
2010-11-16 21:48:21 [20280] [6] DEBUG:   replace_if_present_flag: 0 = 
0x

2010-11-16 21:48:21 [20280] [6] DEBUG:   data_coding: 8 = 0x0008
2010-11-16 21:48:21 [20280] [6] DEBUG:   sm_default_msg_id: 0 = 0x
2010-11-16 21:48:21 [20280] [6] DEBUG:   sm_length: 12 = 0x000c
2010-11-16 21:48:21 [20280] [6] DEBUG:   short_message:
2010-11-16 21:48:21 [20280] [6] DEBUG:Octet string at 0x2c0008e0:
2010-11-16 21:48:21 [20280] [6] DEBUG:  len:  12
2010-11-16 21:48:21 [20280] [6] DEBUG:  size: 13
2010-11-16 21:48:21 [20280] [6] DEBUG:  immutable: 0
2010-11-16 21:48:21 [20280] [6] DEBUG:  data: 00 6f 00 6b 00 20 00 
64 00 65 00 68   .o.k. .d.e.h

2010-11-16 21:48:21 [20280] [6] DEBUG:Octet string dump ends.
2010-11-16 21:48:21 [20280] [6] DEBUG:   shortname: 
2010-11-16 21:48:21 [20280] [6] DEBUG: SMPP PDU dump ends.
2010-11-16 21:48:21 [20280] [6] DEBUG: SMPP[testop]: throughput (1.00,0.00)
2010-11-16 21:48:21 [20280] [6] DEBUG: SMPP[testop]: throughput (1.00,0.00)
2010-11-16 21:48:21 [20280] [6] DEBUG: SMPP[testop]: Got PDU:
2010-11-16 21:48:21 [20280] [6] DEBUG: SMPP PDU 0x2c004a70 dump:
2010-11-16 21:48:21 [20280] [6] DEBUG:   type_name: submit_sm_resp
2010-11-16 21:48:21 [20280] [6] DEBUG:   command_id: 2147483652 = 0x8004
2010-11-16 21:48:21 [20280] [6] DEBUG:   command_status: 1031 = 0x0407
2010-11-16 21:48:21 [20280] [6] DEBUG:   sequence_number: 2 = 0x0002
2010-11-16 21:48:21 [20280] [6] DEBUG:   message_id: NULL
2010-11-16 21:48:21 [20280] [6] DEBUG: SMPP PDU dump ends.
2010-11-16 21:48:21 [20280] [6] ERROR: SMPP[testop]: SMSC returned error 
code 0x0407 (Vendor-specific error, please refer to your SMPP 
provider) in response to submit_sm.

2010-11-16 21:48:21 [20280] [6] DEBUG: SMSC[testop]: creating DLR message
2010-11-16 21:48:21 [20280] [6] DEBUG: SMSC[testop]: DLR =
2010-11-16 21:48:21 [20280] [6] DEBUG: SMPP[testop]: throughput (1.00,0.00)
2010-11-16 21:48:21 [20280] [14] DEBUG: send_msg: sending msg to box: 
127.0.0.1
2010-11-16 21:48:21 [20280] [14] DEBUG: boxc_sender: sent message to 
127.0.0.1

2010-11-16 21:48:21 [20280] [13] DEBUG: boxc_receiver: got ack
2010-11-16 21:48:25 [20280] [6] DEBUG: SMPP[testop]: throughput (0.00,0.00)
2010-11-16 21:48:25 [20280] [6] DEBUG: SMPP[testop]: Got PDU:


My vendor have give us some parameter, that I've define on smpp-tlv group:

group = smpp-tlv
name = shortname
tag = 0x1400
type = octetstring
length = 20
smsc-id = testop

group = smpp-tlv
name = TX_ID
tag = 0x1401
type = integer
length = 20
smsc-id = testop

group = smpp-tlv
name = Content-Type
tag = 0x1403
type = octetstring
length = 20
smsc-id = testop

And send script like this:
http://localhost:6013/cgi-bin/sendsms?username=xxpassword=xxto=xxcharset=UCS-2coding=2from=xxtext=o%00k%00+%00d%00e%00h%00smsc=testopdest_addr=xxapp_id=xxapp_pwd=xxdata=o%00k%00+%00d%00e%00h%00dlr-mask=31udhi=noalphabet_id=0msg_class=1protocol_id=0registered=yesmeta-data=%3Fsmpp%3Fshortname%3Dbola%26dlr-url%3Dhttp%3A%2F

Re: SMSC returned error code 0x00000407

2010-11-16 Thread Alejandro Guerrieri
That's a vendor-specific error, you need to check with the SMSC operator to
see what does it mean.

Regards,

Alex

On Tue, Nov 16, 2010 at 4:01 PM, I Gede Wijaya S gwij...@gmail.com wrote:

 Halo list,

 I'm using the newest svn version. in my log I got these:


 2010-11-16 21:48:21 [20280] [13] DEBUG: boxc_receiver: sms received
 2010-11-16 21:48:21 [20280] [13] DEBUG: send_msg: sending msg to box:
 127.0.0.1
 2010-11-16 21:48:21 [20280] [6] DEBUG: SMPP[testop]: throughput (0.00,0.00)
 2010-11-16 21:48:21 [20280] [6] DEBUG: SMPP[testop]: Manually forced source
 addr ton = 0, source add npi = 1
 2010-11-16 21:48:21 [20280] [6] DEBUG: SMPP[testop]: Manually forced dest
 addr ton = 0, dest add npi = 1
 2010-11-16 21:48:21 [20280] [6] DEBUG: new group created `smpp'
 2010-11-16 21:48:21 [20280] [6] DEBUG: group=`smpp' key=`shortname'
 value=`'
 2010-11-16 21:48:21 [20280] [6] DEBUG: SMPP[testop]: Sending PDU:
 2010-11-16 21:48:21 [20280] [6] DEBUG: SMPP PDU 0x1356a680 dump:
 2010-11-16 21:48:21 [20280] [6] DEBUG:   type_name: submit_sm
 2010-11-16 21:48:21 [20280] [6] DEBUG:   command_id: 4 = 0x0004
 2010-11-16 21:48:21 [20280] [6] DEBUG:   command_status: 0 = 0x
 2010-11-16 21:48:21 [20280] [6] DEBUG:   sequence_number: 2 = 0x0002
 2010-11-16 21:48:21 [20280] [6] DEBUG:   service_type: NULL
 2010-11-16 21:48:21 [20280] [6] DEBUG:   source_addr_ton: 0 = 0x
 2010-11-16 21:48:21 [20280] [6] DEBUG:   source_addr_npi: 1 = 0x0001
 2010-11-16 21:48:21 [20280] [6] DEBUG:   source_addr: x
 2010-11-16 21:48:21 [20280] [6] DEBUG:   dest_addr_ton: 0 = 0x
 2010-11-16 21:48:21 [20280] [6] DEBUG:   dest_addr_npi: 1 = 0x0001
 2010-11-16 21:48:21 [20280] [6] DEBUG:   destination_addr: xxx
 2010-11-16 21:48:21 [20280] [6] DEBUG:   esm_class: 3 = 0x0003
 2010-11-16 21:48:21 [20280] [6] DEBUG:   protocol_id: 0 = 0x
 2010-11-16 21:48:21 [20280] [6] DEBUG:   priority_flag: 0 = 0x
 2010-11-16 21:48:21 [20280] [6] DEBUG:   schedule_delivery_time: NULL
 2010-11-16 21:48:21 [20280] [6] DEBUG:   validity_period: NULL
 2010-11-16 21:48:21 [20280] [6] DEBUG:   registered_delivery: 1 =
 0x0001
 2010-11-16 21:48:21 [20280] [6] DEBUG:   replace_if_present_flag: 0 =
 0x
 2010-11-16 21:48:21 [20280] [6] DEBUG:   data_coding: 8 = 0x0008
 2010-11-16 21:48:21 [20280] [6] DEBUG:   sm_default_msg_id: 0 = 0x
 2010-11-16 21:48:21 [20280] [6] DEBUG:   sm_length: 12 = 0x000c
 2010-11-16 21:48:21 [20280] [6] DEBUG:   short_message:
 2010-11-16 21:48:21 [20280] [6] DEBUG:Octet string at 0x2c0008e0:
 2010-11-16 21:48:21 [20280] [6] DEBUG:  len:  12
 2010-11-16 21:48:21 [20280] [6] DEBUG:  size: 13
 2010-11-16 21:48:21 [20280] [6] DEBUG:  immutable: 0
 2010-11-16 21:48:21 [20280] [6] DEBUG:  data: 00 6f 00 6b 00 20 00 64
 00 65 00 68   .o.k. .d.e.h
 2010-11-16 21:48:21 [20280] [6] DEBUG:Octet string dump ends.
 2010-11-16 21:48:21 [20280] [6] DEBUG:   shortname: 
 2010-11-16 21:48:21 [20280] [6] DEBUG: SMPP PDU dump ends.
 2010-11-16 21:48:21 [20280] [6] DEBUG: SMPP[testop]: throughput (1.00,0.00)
 2010-11-16 21:48:21 [20280] [6] DEBUG: SMPP[testop]: throughput (1.00,0.00)
 2010-11-16 21:48:21 [20280] [6] DEBUG: SMPP[testop]: Got PDU:
 2010-11-16 21:48:21 [20280] [6] DEBUG: SMPP PDU 0x2c004a70 dump:
 2010-11-16 21:48:21 [20280] [6] DEBUG:   type_name: submit_sm_resp
 2010-11-16 21:48:21 [20280] [6] DEBUG:   command_id: 2147483652 =
 0x8004
 2010-11-16 21:48:21 [20280] [6] DEBUG:   command_status: 1031 = 0x0407
 2010-11-16 21:48:21 [20280] [6] DEBUG:   sequence_number: 2 = 0x0002
 2010-11-16 21:48:21 [20280] [6] DEBUG:   message_id: NULL
 2010-11-16 21:48:21 [20280] [6] DEBUG: SMPP PDU dump ends.
 2010-11-16 21:48:21 [20280] [6] ERROR: SMPP[testop]: SMSC returned error
 code 0x0407 (Vendor-specific error, please refer to your SMPP provider)
 in response to submit_sm.
 2010-11-16 21:48:21 [20280] [6] DEBUG: SMSC[testop]: creating DLR message
 2010-11-16 21:48:21 [20280] [6] DEBUG: SMSC[testop]: DLR =
 2010-11-16 21:48:21 [20280] [6] DEBUG: SMPP[testop]: throughput (1.00,0.00)
 2010-11-16 21:48:21 [20280] [14] DEBUG: send_msg: sending msg to box:
 127.0.0.1
 2010-11-16 21:48:21 [20280] [14] DEBUG: boxc_sender: sent message to
 127.0.0.1
 2010-11-16 21:48:21 [20280] [13] DEBUG: boxc_receiver: got ack
 2010-11-16 21:48:25 [20280] [6] DEBUG: SMPP[testop]: throughput (0.00,0.00)
 2010-11-16 21:48:25 [20280] [6] DEBUG: SMPP[testop]: Got PDU:


 My vendor have give us some parameter, that I've define on smpp-tlv group:

 group = smpp-tlv
 name = shortname
 tag = 0x1400
 type = octetstring
 length = 20
 smsc-id = testop

 group = smpp-tlv
 name = TX_ID
 tag = 0x1401
 type = integer
 length = 20
 smsc-id = testop

 group = smpp-tlv
 name = Content-Type
 tag = 0x1403
 type = octetstring
 length = 20
 smsc-id = testop

 And send script like this:

 http://localhost:6013/cgi-bin/sendsms?username

Re: SMSC returned error code 0x00000407

2010-11-16 Thread I Gede Wijaya S
After I check my verndor spec, It seem it is error code. i play around 
little, and I got another message in log:
2010-11-16 23:05:33 [29755] [6] ERROR: SMPP[testop]: SMSC returned error 
code 0x0403 (Vendor-specific error, please refer to your SMPP 
provider) in response to submit_sm.


in my vendor spec:

- 0x403 (Hex) ~ 1027(Dec)~Subscriber Not Found
- 0x407(Hex) ~ 1031(Dec)~Service Not Found

So, how could I add in kannel? I have tried add something like:

group = smpp-tlv
name = 1027
tag = 0x403
type = octetstring
length = 8
smsc-id = testop

but still got that message. 1027, just my made up, because the vendor 
spec just mention the error code (1027)


Thank you in advanced

On 11/16/2010 10:08 PM, Alejandro Guerrieri wrote:

That's a vendor-specific error, you need to check with the SMSC operator
to see what does it mean.

Regards,

Alex

On Tue, Nov 16, 2010 at 4:01 PM, I Gede Wijaya S gwij...@gmail.com
mailto:gwij...@gmail.com wrote:

Halo list,

I'm using the newest svn version. in my log I got these:


2010-11-16 21:48:21 [20280] [13] DEBUG: boxc_receiver: sms received
2010-11-16 21:48:21 [20280] [13] DEBUG: send_msg: sending msg to
box: 127.0.0.1
2010-11-16 21:48:21 [20280] [6] DEBUG: SMPP[testop]: throughput
(0.00,0.00)
2010-11-16 21:48:21 [20280] [6] DEBUG: SMPP[testop]: Manually forced
source addr ton = 0, source add npi = 1
2010-11-16 21:48:21 [20280] [6] DEBUG: SMPP[testop]: Manually forced
dest addr ton = 0, dest add npi = 1
2010-11-16 21:48:21 [20280] [6] DEBUG: new group created `smpp'
2010-11-16 21:48:21 [20280] [6] DEBUG: group=`smpp' key=`shortname'
value=`'
2010-11-16 21:48:21 [20280] [6] DEBUG: SMPP[testop]: Sending PDU:
2010-11-16 21:48:21 [20280] [6] DEBUG: SMPP PDU 0x1356a680 dump:
2010-11-16 21:48:21 [20280] [6] DEBUG:   type_name: submit_sm
2010-11-16 21:48:21 [20280] [6] DEBUG:   command_id: 4 = 0x0004
2010-11-16 21:48:21 [20280] [6] DEBUG:   command_status: 0 = 0x
2010-11-16 21:48:21 [20280] [6] DEBUG:   sequence_number: 2 = 0x0002
2010-11-16 21:48:21 [20280] [6] DEBUG:   service_type: NULL
2010-11-16 21:48:21 [20280] [6] DEBUG:   source_addr_ton: 0 = 0x
2010-11-16 21:48:21 [20280] [6] DEBUG:   source_addr_npi: 1 = 0x0001
2010-11-16 21:48:21 [20280] [6] DEBUG:   source_addr: x
2010-11-16 21:48:21 [20280] [6] DEBUG:   dest_addr_ton: 0 = 0x
2010-11-16 21:48:21 [20280] [6] DEBUG:   dest_addr_npi: 1 = 0x0001
2010-11-16 21:48:21 [20280] [6] DEBUG:   destination_addr: xxx
2010-11-16 21:48:21 [20280] [6] DEBUG:   esm_class: 3 = 0x0003
2010-11-16 21:48:21 [20280] [6] DEBUG:   protocol_id: 0 = 0x
2010-11-16 21:48:21 [20280] [6] DEBUG:   priority_flag: 0 = 0x
2010-11-16 21:48:21 [20280] [6] DEBUG:   schedule_delivery_time: NULL
2010-11-16 21:48:21 [20280] [6] DEBUG:   validity_period: NULL
2010-11-16 21:48:21 [20280] [6] DEBUG:   registered_delivery: 1 =
0x0001
2010-11-16 21:48:21 [20280] [6] DEBUG:   replace_if_present_flag: 0
= 0x
2010-11-16 21:48:21 [20280] [6] DEBUG:   data_coding: 8 = 0x0008
2010-11-16 21:48:21 [20280] [6] DEBUG:   sm_default_msg_id: 0 =
0x
2010-11-16 21:48:21 [20280] [6] DEBUG:   sm_length: 12 = 0x000c
2010-11-16 21:48:21 [20280] [6] DEBUG:   short_message:
2010-11-16 21:48:21 [20280] [6] DEBUG:Octet string at
0x2c0008e0:
2010-11-16 21:48:21 [20280] [6] DEBUG:  len:  12
2010-11-16 21:48:21 [20280] [6] DEBUG:  size: 13
2010-11-16 21:48:21 [20280] [6] DEBUG:  immutable: 0
2010-11-16 21:48:21 [20280] [6] DEBUG:  data: 00 6f 00 6b 00 20
00 64 00 65 00 68   .o.k. .d.e.h
2010-11-16 21:48:21 [20280] [6] DEBUG:Octet string dump ends.
2010-11-16 21:48:21 [20280] [6] DEBUG:   shortname: 
2010-11-16 21:48:21 [20280] [6] DEBUG: SMPP PDU dump ends.
2010-11-16 21:48:21 [20280] [6] DEBUG: SMPP[testop]: throughput
(1.00,0.00)
2010-11-16 21:48:21 [20280] [6] DEBUG: SMPP[testop]: throughput
(1.00,0.00)
2010-11-16 21:48:21 [20280] [6] DEBUG: SMPP[testop]: Got PDU:
2010-11-16 21:48:21 [20280] [6] DEBUG: SMPP PDU 0x2c004a70 dump:
2010-11-16 21:48:21 [20280] [6] DEBUG:   type_name: submit_sm_resp
2010-11-16 21:48:21 [20280] [6] DEBUG:   command_id: 2147483652 =
0x8004
2010-11-16 21:48:21 [20280] [6] DEBUG:   command_status: 1031 =
0x0407
2010-11-16 21:48:21 [20280] [6] DEBUG:   sequence_number: 2 = 0x0002
2010-11-16 21:48:21 [20280] [6] DEBUG:   message_id: NULL
2010-11-16 21:48:21 [20280] [6] DEBUG: SMPP PDU dump ends.
2010-11-16 21:48:21 [20280] [6] ERROR: SMPP[testop]: SMSC returned
error code 0x0407 (Vendor-specific error, please refer to your
SMPP provider) in response to submit_sm.
2010-11-16 21:48:21 [20280] [6] DEBUG: SMSC[testop

Re: SMSC returned error code 0x00000407

2010-11-16 Thread I Gede Wijaya S
Hmmm, It seem, I have to make patch to smpp_pdu.c and smpp_pdu.h, like 
mblox ones?


On 11/16/2010 11:17 PM, I Gede Wijaya S wrote:

After I check my verndor spec, It seem it is error code. i play around
little, and I got another message in log:
2010-11-16 23:05:33 [29755] [6] ERROR: SMPP[testop]: SMSC returned error
code 0x0403 (Vendor-specific error, please refer to your SMPP
provider) in response to submit_sm.

in my vendor spec:

- 0x403 (Hex) ~ 1027(Dec)~Subscriber Not Found
- 0x407(Hex) ~ 1031(Dec)~Service Not Found

So, how could I add in kannel? I have tried add something like:

group = smpp-tlv
name = 1027
tag = 0x403
type = octetstring
length = 8
smsc-id = testop

but still got that message. 1027, just my made up, because the vendor
spec just mention the error code (1027)

Thank you in advanced

On 11/16/2010 10:08 PM, Alejandro Guerrieri wrote:

That's a vendor-specific error, you need to check with the SMSC operator
to see what does it mean.

Regards,

Alex

On Tue, Nov 16, 2010 at 4:01 PM, I Gede Wijaya S gwij...@gmail.com
mailto:gwij...@gmail.com wrote:

Halo list,

I'm using the newest svn version. in my log I got these:


2010-11-16 21:48:21 [20280] [13] DEBUG: boxc_receiver: sms received
2010-11-16 21:48:21 [20280] [13] DEBUG: send_msg: sending msg to
box: 127.0.0.1
2010-11-16 21:48:21 [20280] [6] DEBUG: SMPP[testop]: throughput
(0.00,0.00)
2010-11-16 21:48:21 [20280] [6] DEBUG: SMPP[testop]: Manually forced
source addr ton = 0, source add npi = 1
2010-11-16 21:48:21 [20280] [6] DEBUG: SMPP[testop]: Manually forced
dest addr ton = 0, dest add npi = 1
2010-11-16 21:48:21 [20280] [6] DEBUG: new group created `smpp'
2010-11-16 21:48:21 [20280] [6] DEBUG: group=`smpp' key=`shortname'
value=`'
2010-11-16 21:48:21 [20280] [6] DEBUG: SMPP[testop]: Sending PDU:
2010-11-16 21:48:21 [20280] [6] DEBUG: SMPP PDU 0x1356a680 dump:
2010-11-16 21:48:21 [20280] [6] DEBUG: type_name: submit_sm
2010-11-16 21:48:21 [20280] [6] DEBUG: command_id: 4 = 0x0004
2010-11-16 21:48:21 [20280] [6] DEBUG: command_status: 0 = 0x
2010-11-16 21:48:21 [20280] [6] DEBUG: sequence_number: 2 = 0x0002
2010-11-16 21:48:21 [20280] [6] DEBUG: service_type: NULL
2010-11-16 21:48:21 [20280] [6] DEBUG: source_addr_ton: 0 = 0x
2010-11-16 21:48:21 [20280] [6] DEBUG: source_addr_npi: 1 = 0x0001
2010-11-16 21:48:21 [20280] [6] DEBUG: source_addr: x
2010-11-16 21:48:21 [20280] [6] DEBUG: dest_addr_ton: 0 = 0x
2010-11-16 21:48:21 [20280] [6] DEBUG: dest_addr_npi: 1 = 0x0001
2010-11-16 21:48:21 [20280] [6] DEBUG: destination_addr: xxx
2010-11-16 21:48:21 [20280] [6] DEBUG: esm_class: 3 = 0x0003
2010-11-16 21:48:21 [20280] [6] DEBUG: protocol_id: 0 = 0x
2010-11-16 21:48:21 [20280] [6] DEBUG: priority_flag: 0 = 0x
2010-11-16 21:48:21 [20280] [6] DEBUG: schedule_delivery_time: NULL
2010-11-16 21:48:21 [20280] [6] DEBUG: validity_period: NULL
2010-11-16 21:48:21 [20280] [6] DEBUG: registered_delivery: 1 =
0x0001
2010-11-16 21:48:21 [20280] [6] DEBUG: replace_if_present_flag: 0
= 0x
2010-11-16 21:48:21 [20280] [6] DEBUG: data_coding: 8 = 0x0008
2010-11-16 21:48:21 [20280] [6] DEBUG: sm_default_msg_id: 0 =
0x
2010-11-16 21:48:21 [20280] [6] DEBUG: sm_length: 12 = 0x000c
2010-11-16 21:48:21 [20280] [6] DEBUG: short_message:
2010-11-16 21:48:21 [20280] [6] DEBUG: Octet string at
0x2c0008e0:
2010-11-16 21:48:21 [20280] [6] DEBUG: len: 12
2010-11-16 21:48:21 [20280] [6] DEBUG: size: 13
2010-11-16 21:48:21 [20280] [6] DEBUG: immutable: 0
2010-11-16 21:48:21 [20280] [6] DEBUG: data: 00 6f 00 6b 00 20
00 64 00 65 00 68 .o.k. .d.e.h
2010-11-16 21:48:21 [20280] [6] DEBUG: Octet string dump ends.
2010-11-16 21:48:21 [20280] [6] DEBUG: shortname: 
2010-11-16 21:48:21 [20280] [6] DEBUG: SMPP PDU dump ends.
2010-11-16 21:48:21 [20280] [6] DEBUG: SMPP[testop]: throughput
(1.00,0.00)
2010-11-16 21:48:21 [20280] [6] DEBUG: SMPP[testop]: throughput
(1.00,0.00)
2010-11-16 21:48:21 [20280] [6] DEBUG: SMPP[testop]: Got PDU:
2010-11-16 21:48:21 [20280] [6] DEBUG: SMPP PDU 0x2c004a70 dump:
2010-11-16 21:48:21 [20280] [6] DEBUG: type_name: submit_sm_resp
2010-11-16 21:48:21 [20280] [6] DEBUG: command_id: 2147483652 =
0x8004
2010-11-16 21:48:21 [20280] [6] DEBUG: command_status: 1031 =
0x0407
2010-11-16 21:48:21 [20280] [6] DEBUG: sequence_number: 2 = 0x0002
2010-11-16 21:48:21 [20280] [6] DEBUG: message_id: NULL
2010-11-16 21:48:21 [20280] [6] DEBUG: SMPP PDU dump ends.
2010-11-16 21:48:21 [20280] [6] ERROR: SMPP[testop]: SMSC returned
error code 0x0407 (Vendor-specific error, please refer to your
SMPP provider) in response to submit_sm.
2010-11-16 21:48:21 [20280] [6] DEBUG: SMSC[testop]: creating DLR
message
2010-11-16 21:48:21 [20280] [6] DEBUG: SMSC[testop]: DLR =
2010-11-16 21:48:21 [20280] [6] DEBUG: SMPP[testop]: throughput
(1.00,0.00)
2010-11-16 21:48:21 [20280] [14] DEBUG: send_msg: sending msg to
box: 127.0.0.1
2010-11-16 21:48

Re: SMSC returned error code 0x00000407

2010-11-16 Thread Nikos Balkanas

Hi,

Subscriber not found, is an HLR status. It means that the destination 
doesn't exist, or better is unknown.


BR,
Nikos
- Original Message - 
From: I Gede Wijaya S gwij...@gmail.com

To: users@kannel.org
Sent: Tuesday, November 16, 2010 6:17 PM
Subject: Re: SMSC returned error code 0x0407


After I check my verndor spec, It seem it is error code. i play around 
little, and I got another message in log:
2010-11-16 23:05:33 [29755] [6] ERROR: SMPP[testop]: SMSC returned error 
code 0x0403 (Vendor-specific error, please refer to your SMPP 
provider) in response to submit_sm.


in my vendor spec:

- 0x403 (Hex) ~ 1027(Dec)~Subscriber Not Found
- 0x407(Hex) ~ 1031(Dec)~Service Not Found

So, how could I add in kannel? I have tried add something like:

group = smpp-tlv
name = 1027
tag = 0x403
type = octetstring
length = 8
smsc-id = testop

but still got that message. 1027, just my made up, because the vendor 
spec just mention the error code (1027)


Thank you in advanced

On 11/16/2010 10:08 PM, Alejandro Guerrieri wrote:

That's a vendor-specific error, you need to check with the SMSC operator
to see what does it mean.

Regards,

Alex

On Tue, Nov 16, 2010 at 4:01 PM, I Gede Wijaya S gwij...@gmail.com
mailto:gwij...@gmail.com wrote:

Halo list,

I'm using the newest svn version. in my log I got these:


2010-11-16 21:48:21 [20280] [13] DEBUG: boxc_receiver: sms received
2010-11-16 21:48:21 [20280] [13] DEBUG: send_msg: sending msg to
box: 127.0.0.1
2010-11-16 21:48:21 [20280] [6] DEBUG: SMPP[testop]: throughput
(0.00,0.00)
2010-11-16 21:48:21 [20280] [6] DEBUG: SMPP[testop]: Manually forced
source addr ton = 0, source add npi = 1
2010-11-16 21:48:21 [20280] [6] DEBUG: SMPP[testop]: Manually forced
dest addr ton = 0, dest add npi = 1
2010-11-16 21:48:21 [20280] [6] DEBUG: new group created `smpp'
2010-11-16 21:48:21 [20280] [6] DEBUG: group=`smpp' key=`shortname'
value=`'
2010-11-16 21:48:21 [20280] [6] DEBUG: SMPP[testop]: Sending PDU:
2010-11-16 21:48:21 [20280] [6] DEBUG: SMPP PDU 0x1356a680 dump:
2010-11-16 21:48:21 [20280] [6] DEBUG:   type_name: submit_sm
2010-11-16 21:48:21 [20280] [6] DEBUG:   command_id: 4 = 0x0004
2010-11-16 21:48:21 [20280] [6] DEBUG:   command_status: 0 = 
0x
2010-11-16 21:48:21 [20280] [6] DEBUG:   sequence_number: 2 = 
0x0002

2010-11-16 21:48:21 [20280] [6] DEBUG:   service_type: NULL
2010-11-16 21:48:21 [20280] [6] DEBUG:   source_addr_ton: 0 = 
0x
2010-11-16 21:48:21 [20280] [6] DEBUG:   source_addr_npi: 1 = 
0x0001

2010-11-16 21:48:21 [20280] [6] DEBUG:   source_addr: x
2010-11-16 21:48:21 [20280] [6] DEBUG:   dest_addr_ton: 0 = 
0x
2010-11-16 21:48:21 [20280] [6] DEBUG:   dest_addr_npi: 1 = 
0x0001

2010-11-16 21:48:21 [20280] [6] DEBUG:   destination_addr: xxx
2010-11-16 21:48:21 [20280] [6] DEBUG:   esm_class: 3 = 0x0003
2010-11-16 21:48:21 [20280] [6] DEBUG:   protocol_id: 0 = 0x
2010-11-16 21:48:21 [20280] [6] DEBUG:   priority_flag: 0 = 
0x

2010-11-16 21:48:21 [20280] [6] DEBUG:   schedule_delivery_time: NULL
2010-11-16 21:48:21 [20280] [6] DEBUG:   validity_period: NULL
2010-11-16 21:48:21 [20280] [6] DEBUG:   registered_delivery: 1 =
0x0001
2010-11-16 21:48:21 [20280] [6] DEBUG:   replace_if_present_flag: 0
= 0x
2010-11-16 21:48:21 [20280] [6] DEBUG:   data_coding: 8 = 0x0008
2010-11-16 21:48:21 [20280] [6] DEBUG:   sm_default_msg_id: 0 =
0x
2010-11-16 21:48:21 [20280] [6] DEBUG:   sm_length: 12 = 0x000c
2010-11-16 21:48:21 [20280] [6] DEBUG:   short_message:
2010-11-16 21:48:21 [20280] [6] DEBUG:Octet string at
0x2c0008e0:
2010-11-16 21:48:21 [20280] [6] DEBUG:  len:  12
2010-11-16 21:48:21 [20280] [6] DEBUG:  size: 13
2010-11-16 21:48:21 [20280] [6] DEBUG:  immutable: 0
2010-11-16 21:48:21 [20280] [6] DEBUG:  data: 00 6f 00 6b 00 20
00 64 00 65 00 68   .o.k. .d.e.h
2010-11-16 21:48:21 [20280] [6] DEBUG:Octet string dump ends.
2010-11-16 21:48:21 [20280] [6] DEBUG:   shortname: 
2010-11-16 21:48:21 [20280] [6] DEBUG: SMPP PDU dump ends.
2010-11-16 21:48:21 [20280] [6] DEBUG: SMPP[testop]: throughput
(1.00,0.00)
2010-11-16 21:48:21 [20280] [6] DEBUG: SMPP[testop]: throughput
(1.00,0.00)
2010-11-16 21:48:21 [20280] [6] DEBUG: SMPP[testop]: Got PDU:
2010-11-16 21:48:21 [20280] [6] DEBUG: SMPP PDU 0x2c004a70 dump:
2010-11-16 21:48:21 [20280] [6] DEBUG:   type_name: submit_sm_resp
2010-11-16 21:48:21 [20280] [6] DEBUG:   command_id: 2147483652 =
0x8004
2010-11-16 21:48:21 [20280] [6] DEBUG:   command_status: 1031 =
0x0407
2010-11-16 21:48:21 [20280] [6] DEBUG:   sequence_number: 2 = 
0x0002

2010-11-16 21:48:21 [20280] [6] DEBUG