Confusion with validity period

2014-07-28 Thread Rahul Chordiya
Hello,

I'm little bit confuse with validity of sms.

we have set validity of 1 minute for smsc MMTrans using sqlbox.

My question is:

when we have set validity timeout 1 minute why bearerbox reject this sms
before 1 minute?



Here is kannel access log:

2014-07-28 17:33:30 EXPIRED SMS [SMSC:MMTrans] [SVC:] [ACT:] [BINF:]
[FID:283013849] [META:] [from:MM-HNCMBA] [to:91X]
[flags:-1:0:-1:-1:31] [msg:147:] [udh:0:]

2014-07-28 17:33:30 Receive DLR [SMSC:MMTrans] [SVC:] [ACT:] [BINF:]
[FID:283013849] [META:] [from:MM-HNCMBA] [to:91X]
[flags:-1:-1:-1:-1:16] [msg:21:NACK/validity expired] [udh:0:]



at the same time bearerbox log is:

2014-07-28 17:33:30 [9596] [610] WARNING: Message rejected by bearerbox,
validity expired!
2014-07-28 17:33:30 [9596] [610] WARNING: Message rejected by bearerbox,
validity expired!
2014-07-28 17:33:30 [9596] [610] WARNING: Message rejected by bearerbox,
validity expired!
2014-07-28 17:33:30 [9596] [610] WARNING: Message rejected by bearerbox,
validity expired!
2014-07-28 17:33:30 [9596] [610] WARNING: Message rejected by bearerbox,
validity expired!
2014-07-28 17:33:30 [9596] [610] WARNING: Message rejected by bearerbox,
validity expired!
2014-07-28 17:33:30 [9596] [610] WARNING: Message rejected by bearerbox,
validity expired!
2014-07-28 17:33:30 [9596] [610] WARNING: Message rejected by bearerbox,
validity expired!
2014-07-28 17:33:30 [9596] [610] WARNING: Message rejected by bearerbox,
validity expired!
2014-07-28 17:33:30 [9596] [610] WARNING: Message rejected by bearerbox,
validity expired!
2014-07-28 17:33:30 [9596] [610] WARNING: Message rejected by bearerbox,
validity expired!
2014-07-28 17:33:30 [9596] [610] WARNING: Message rejected by bearerbox,
validity expired!
2014-07-28 17:33:30 [9596] [562] WARNING: SMPP: Unknown
TLV(0x0428,0x0001,00) for PDU type (submit_sm_resp) received!
2014-07-28 17:33:30 [9596] [562] WARNING: SMPP: Unknown
TLV(0x0428,0x0001,00) for PDU type (submit_sm_resp) received!
2014-07-28 17:33:30 [9596] [610] WARNING: Message rejected by bearerbox,
validity expired!
2014-07-28 17:33:30 [9596] [610] WARNING: Message rejected by bearerbox,
validity expired!
2014-07-28 17:33:30 [9596] [610] WARNING: Message rejected by bearerbox,
validity expired!
2014-07-28 17:33:30 [9596] [610] WARNING: Message rejected by bearerbox,
validity expired!
2014-07-28 17:33:30 [9596] [610] WARNING: Message rejected by bearerbox,
validity expired!
2014-07-28 17:33:30 [9596] [108] WARNING: SMPP: Unknown
TLV(0x0428,0x0001,00) for PDU type (submit_sm_resp) received!
2014-07-28 17:33:30 [9596] [610] WARNING: Message rejected by bearerbox,
validity expired!
2014-07-28 17:33:30 [9596] [610] WARNING: Message rejected by bearerbox,
validity expired!







-- 
Thanks & Regards

* Rahul ChordiyaWalkover Web Solutions | HOSTnSOFT*


Fwd: bearerbox crashing

2013-07-23 Thread Rahul Chordiya
Hello,

our kannel / bearerbox suddenly start crashing with this error:

2013-07-23 13:26:05 [31373] [20] PANIC:* gwlib/octstr.c:2549:
seems_valid_real: Assertion `ostr != NULL' failed. (Called from
gwlib/octstr.c:818:octstr_check_range.)*
2013-07-23 13:26:05 [31373] [18] DEBUG: SMPP PDU 0x2b2eb400ea00 dump:
2013-07-23 13:26:05 [31373] [14] DEBUG:   command_status: 0 = 0x
2013-07-23 13:26:05 [31373] [22] DEBUG:   sm_length: 76 = 0x004c
2013-07-23 13:26:05 [31373] [14] DEBUG:   sequence_number: 352985103 =
0x150a200f
2013-07-23 13:26:05 [31373] [14] DEBUG:   service_type: NULL
2013-07-23 13:26:05 [31373] [14] DEBUG:   source_addr_ton: 1 = 0x0001
2013-07-23 13:26:05 [31373] [246] DEBUG: send_msg: sending msg to boxc:

2013-07-23 13:26:05 [31373] [246] DEBUG: boxc_sender: sent message to
<127.0.0.1>
2013-07-23 13:26:05 [31373] [15] DEBUG:   dest_addr_ton: 5 = 0x0005
2013-07-23 13:26:05 [31373] [245] DEBUG: boxc_receiver: got ack
2013-07-23 13:26:05 [31373] [18] DEBUG:   type_name: submit_sm
2013-07-23 13:26:05 [31373] [18] DEBUG:   command_id: 4 = 0x0004
2013-07-23 13:26:05 [31373] [22] DEBUG:   short_message:
2013-07-23 13:26:05 [31373] [22] DEBUG:Octet string at 0x2b2e3002e4d0:
2013-07-23 13:26:05 [31373] [246] DEBUG: send_msg: sending msg to boxc:

2013-07-23 13:26:05 [31373] [98] DEBUG:   sequence_number: 23 = 0x0017
2013-07-23 13:26:05 [31373] [247] DEBUG: boxc_receiver: sms received
2013-07-23 13:26:05 [31373] [14] DEBUG:   source_addr_npi: 1 = 0x0001
2013-07-23 13:26:05 [31373] [15] DEBUG:   dest_addr_npi: 0 = 0x
2013-07-23 13:26:05 [31373] [14] DEBUG:   source_addr: "919982212757"
2013-07-23 13:26:05 [31373] [14] DEBUG:   dest_addr_ton: 5 = 0x0005
2013-07-23 13:26:05 [31373] [183] DEBUG:   source_addr_npi: 1 = 0x0001
2013-07-23 13:26:05 [31373] [19] DEBUG: SMSC[loopromo]: creating DLR message
2013-07-23 13:26:05 [31373] [246] DEBUG: boxc_sender: sent message to
<127.0.0.1>
2013-07-23 13:26:05 [31373] [19] DEBUG: SMSC[loopromo]: DLR =
http://localhost:7007/mongo_status_update.php?status=%d&report=%A&dest=%p&time=%t&text=%a&prvider_id=%F&smsc=%i&Db=1&smsid=51ee1e6446923e385b19
2013-07-23 13:26:05 [31373] [246] DEBUG: send_msg: sending msg to boxc:

2013-07-23 13:26:05 [31373] [246] DEBUG: boxc_sender: sent message to
<127.0.0.1>
2013-07-23 13:26:05 [31373] [20] PANIC: bearerbox(gw_backtrace+0x9e)
[0x49685e]
2013-07-23 13:26:05 [31373] [246] DEBUG: send_msg: sending msg to boxc:

2013-07-23 13:26:05 [31373] [245] DEBUG: boxc_receiver: got ack
2013-07-23 13:26:05 [31373] [98] DEBUG:   system_id: NULL
2013-07-23 13:26:05 [31373] [18] DEBUG:   command_status: 0 = 0x
2013-07-23 13:26:05 [31373] [98] DEBUG: SMPP PDU dump ends.




we have updated our gcc 1 day before this error.


and now we have tried all version of bearerbox (stable, development, svn)

but when ever we put some load/traffic of 1000 sms is got crashed with this
error.

*gwlib/octstr.c:2549: seems_valid_real: Assertion `ostr != NULL' failed.
(Called from gwlib/octstr.c:818:octstr_check_range.)*
*
*
*
*
*
*



-- 
Thanks & Regards*
Rahul Chordiya
Walkover Web Solutions | HOSTnSOFT**

*