Max send messages and queue (SMPP)

2010-11-23 Thread I Gede Wijaya S

Halo again list,

How much max messages can kannel send per seconds?

My vendor give limitation on sending sms/seconds based on some category. 
Example:

- category A: 30/secs
- category B: 20/secs
- category C: 15/secs

on push sms system, not MO-MT system. On MO-MT, there are no limit 
we can send the MT/reply.


We can combined category at once on sending (A+B+C) but still, each 
category must follow the rule'. In our old system based on http, we 
will launch the sending messages based on rule above. So, there will be 
30 program send each 1 sms on A category, 20 program send each 1 sms on 
B category, and 15 program send each 1 sms on C category. When vendor 
got the problem(can not accept the incoming messages), there will be no 
additional program to launch on each category/sms, because the old 
program is still try to send/resend the earlier smses.


So, I think, only one kannel is not enough. So I have a plan to build 
like these:


SMSBOX-A --- Kannel-A -- OpenSMMPBox - Kannel-Main
SMSBOX-B --- Kannel-B -- OpenSMMPBox - Kannel-Main
SMSBOX-C --- Kannel-C -- OpenSMMPBox - Kannel-Main
SMSBOX-MO-MT --- Kannel Main

For now, only OpenSMPPBoxis on my mind. Maybe there are other type of 
proxy? HTTP Proxy?


I build the above based on my understanding on UG. So, could you give 
some advice for the build because I'm still not clear on kannel 
arsitecture/flow?:


example:

group = core (on Kannel-A)
sms-outgoing-queue-limit = 30 #(and 20 on Kannel B, and 15 on Kannel C)

but I don't understand on Set maximum size of outgoing message queue. 
After number of messages has hit this value, Kannel began to discard 
them. The default value, 1 million, works for most installations.. So, 
if Kannel-A reach 30 outgoing sms, will be denied.is it right? sms push 
codes will give 4xx? how do Kannel-A should stop on 30? On my 
understanding, all incoming messages on Kannel-A will be delivered and 
queued on Kannel-Main. Or I will make sms-outgoing-queue-limit as 75 
(A+B+C+10 spare on MO-MT) on Kannel-Main?. So when vendor got troubled 
and can't accept our sms, the queue will be 75, and what next? Does sms 
will discarded(I don't know the meaning discarded here) by Kannel-Main? 
Or Kannel-Main will inform on Kannel A,B,C that the limit is queued, 
and Kannel A and B and C will queued too based on each rule? So if, for 
example, Kannel-A reach 30, how could our program know? Is it with 4xx 
on sms push reply codes on each smsbox (example, 30 on SMSBOX A)?


Thanks in advanced...



Re: Max send messages and queue (SMPP)

2010-11-23 Thread I Gede Wijaya S

Halo,

Thanks for the direction... I overlooked that variable...

So, I just need to put like 65(30+20+15) on throughput paramater on 
Kannel-Main, and 30 on Kannel-A, etc?


Somewhere in the list, said that 1.5.0 better in handling throughput 
than 1.4.3 svn (svn-4871 is 1.4.3 series right?) is it true so that I 
better used 1.5.0 instead?


Thanks for the help

On 11/24/2010 2:24 AM, Nikos Balkanas wrote:

Hi,

On a low-end system, kannel can easily handle ~650 MTs with DLRs, using
internal dlr storage, or ~350 MTs using DB dlr storage. To limit submit
rate, read UG about throughput parmeter.

BR,
Nikos
- Original Message - From: I Gede Wijaya S gwij...@gmail.com
To: users@kannel.org
Sent: Tuesday, November 23, 2010 7:31 PM
Subject: Max send messages and queue (SMPP)



Halo again list,

How much max messages can kannel send per seconds?

My vendor give limitation on sending sms/seconds based on some
category. Example:
- category A: 30/secs
- category B: 20/secs
- category C: 15/secs

on push sms system, not MO-MT system. On MO-MT, there are no limit
we can send the MT/reply.

We can combined category at once on sending (A+B+C) but still, each
category must follow the rule'. In our old system based on http, we
will launch the sending messages based on rule above. So, there will
be 30 program send each 1 sms on A category, 20 program send each 1
sms on B category, and 15 program send each 1 sms on C category. When
vendor got the problem(can not accept the incoming messages), there
will be no additional program to launch on each category/sms, because
the old program is still try to send/resend the earlier smses.

So, I think, only one kannel is not enough. So I have a plan to build
like these:

SMSBOX-A --- Kannel-A -- OpenSMMPBox - Kannel-Main
SMSBOX-B --- Kannel-B -- OpenSMMPBox - Kannel-Main
SMSBOX-C --- Kannel-C -- OpenSMMPBox - Kannel-Main
SMSBOX-MO-MT --- Kannel Main

For now, only OpenSMPPBoxis on my mind. Maybe there are other type of
proxy? HTTP Proxy?

I build the above based on my understanding on UG. So, could you give
some advice for the build because I'm still not clear on kannel
arsitecture/flow?:

example:

group = core (on Kannel-A)
sms-outgoing-queue-limit = 30 #(and 20 on Kannel B, and 15 on Kannel C)

but I don't understand on Set maximum size of outgoing message queue.
After number of messages has hit this value, Kannel began to discard
them. The default value, 1 million, works for most installations..
So, if Kannel-A reach 30 outgoing sms, will be denied.is it right? sms
push codes will give 4xx? how do Kannel-A should stop on 30? On my
understanding, all incoming messages on Kannel-A will be delivered and
queued on Kannel-Main. Or I will make sms-outgoing-queue-limit as 75
(A+B+C+10 spare on MO-MT) on Kannel-Main?. So when vendor got troubled
and can't accept our sms, the queue will be 75, and what next? Does
sms will discarded(I don't know the meaning discarded here) by
Kannel-Main? Or Kannel-Main will inform on Kannel A,B,C that the
limit is queued, and Kannel A and B and C will queued too based on
each rule? So if, for example, Kannel-A reach 30, how could our
program know? Is it with 4xx on sms push reply codes on each smsbox
(example, 30 on SMSBOX A)?

Thanks in advanced...








Re: could not fetch content, sorry

2010-11-20 Thread I Gede Wijaya S

Hallo,

HTTP: Status line: 500 Internal ServerHTTP/1.0 Error -- It is your 
web server error. Check your web server log


On 11/20/2010 9:12 PM, baunel wrote:


hi
nobody for help me, please


baunel wrote:


I have seen this error was found in the online smsBox
  HTTP: Status line: 500 Internal ServerHTTP/1.0 Error
Is this the problem?
I am joining my file and smsBox kannel.conf; my file script php and file
sql
I tested the service is weight (keyword: poids)
thank you

  http://old.nabble.com/file/p30247669/smsbox.log smsbox.log
  http://old.nabble.com/file/p30247669/kannel.conf kannel.conf
  http://old.nabble.com/file/p30247669/poids.php poids.php
  http://old.nabble.com/file/p30247669/services.sql services.sql


baunel wrote:


Hi,
I configured kannel 1.4.3 on fedora 13 and it works well.
I can send and receive text messages through the default service group.

Now, I have defined a new service with a student note in php script
whose keyword is note. However, when I send the keyword my phone
Within seconds I receive this message:
Could not fetch content, sorry
Can someone help me, please
thank you


  http://old.nabble.com/file/p30247669/smsbox.log smsbox.log
http://old.nabble.com/file/p30247669/kannel.conf kannel.conf
http://old.nabble.com/file/p30247669/poids.php poids.php








Re: DLR request is prohibited so...?

2010-11-20 Thread I Gede Wijaya S

Thanks Nikos, that do the trick!

I am new on C programming. I just edit gateway/gw/smsc/smpp_pdu.c and 
gateway/gw/smsc/smpp_pdu.h to make easier text in my dlr to parsing. 
But, in log level 4 (panic), the error like 2010-11-20 23:36:49 [4092] 
[6] ERROR: SMPP[testop]: SMSC returned error code 0x0408 (408 - 
1032) in response to submit_sm. still appeared. Well, I think there 
will be 500k lines of code in my bb log everyday :D


So, are there any guide how to change the behaviour of those error code 
from my vendor in order not to show in my bearerbox log? Because I have 
a plan to build log parsing system if there are any error on my kannel, 
but not from error code supplied by my vendor. For now, I just include 
the error code (like 0x0408)  on smpp_error_to_string function


thanks for the help

On 11/19/2010 6:25 PM, Nikos Balkanas wrote:

Hi,

You can get some info with respect to whether SMS was accepted or
rejected by the SMSc, using dlr-mask 24. But you can never know if the
SMS was actually delivered to the destination without DLRs. If your SMSc
prohibits DLRs you better change SMSc.

BR,
Nikos
- Original Message - From: I Gede Wijaya gwij...@gmail.com
To: users@kannel.org
Sent: Friday, November 19, 2010 11:05 AM
Subject: DLR request is prohibited so...?



Halo again list,

How could I get the sent sms status, if SMSC prohibited in using DLR
request? Like my thread before, the SMSC will send many error code based
on their spec. And those error will appear on bb log. And I only just
play around with gw/smsc/smpp_pdu.c and gw/smsc/smpp_pdu.h to make the
message more meaningful for me.

For now, I'm using php to send the sms to /cgi-bin/sendsms, but I still
don't know how to capture the sent status in script without using DLR
request (success or custom error code)

Thanks in advanced








Re: DLR request is prohibited so...?

2010-11-20 Thread I Gede Wijaya S
Sorry for double email on the list because error on my reply system on 
the first email. Just want to make thread neat.



Thanks Nikos, that do the trick! On my wireshark, I got Delivery 
Receipt: No SMSC delivery receipt requested (0x00).


I am new on C programming. I just edit gateway/gw/smsc/smpp_pdu.c and 
gateway/gw/smsc/smpp_pdu.h to make easier text in my dlr to parsing. 
But, in log level 4 (panic), the error like 2010-11-20 23:36:49 [4092] 
[6] ERROR: SMPP[testop]: SMSC returned error code 0x0408 (408 - 
1032) in response to submit_sm. still appeared. Well, I think there 
will be 500k lines of code in my bb log everyday :D


So, are there any guide how to change the behaviour of those error code 
from my vendor in order not to show in my bearerbox log? Because I have 
a plan to build log parsing system if there are any error on my kannel, 
but not from error code supplied by my vendor. For now, I just include 
the error code (like 0x0408)  on smpp_error_to_string function


thanks for the help
On 11/19/2010 6:25 PM, Nikos Balkanas wrote:

Hi,

You can get some info with respect to whether SMS was accepted or
rejected by the SMSc, using dlr-mask 24. But you can never know if the
SMS was actually delivered to the destination without DLRs. If your SMSc
prohibits DLRs you better change SMSc.

BR,
Nikos
- Original Message - From: I Gede Wijaya gwij...@gmail.com
To: users@kannel.org
Sent: Friday, November 19, 2010 11:05 AM
Subject: DLR request is prohibited so...?



Halo again list,

How could I get the sent sms status, if SMSC prohibited in using DLR
request? Like my thread before, the SMSC will send many error code based
on their spec. And those error will appear on bb log. And I only just
play around with gw/smsc/smpp_pdu.c and gw/smsc/smpp_pdu.h to make the
message more meaningful for me.

For now, I'm using php to send the sms to /cgi-bin/sendsms, but I still
don't know how to capture the sent status in script without using DLR
request (success or custom error code)

Thanks in advanced








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:

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