Hey Peter, and other list members

Do you still use Mobileway, and get proper DLR? I set up Kannel (v.
1.3.1) to use 2 smsc groups, for Alacre and Mobileway. I can send SMS
through both gateways, but only receive proper DLR (e.g. type 1 and 2)
from Alacre. When sending through Mobileway, I only get DLR with
type=8. So, I don't know whether this is a Kannel (configuration)
problem, or Mobileway doesn't send the proper DLR. Here is my relevant
section from kannel.conf:

# Alacre
group = smsc
smsc = smpp
smsc-id = alac
host = xxx.xxx.xxx.xxx
port = 800 
smsc-username = xxxxxxxxxx
smsc-password = xxxxxxxxxx
system-type = TCP
interface-version = 34
source-addr-ton = 1
source-addr-npi = 1
allowed-smsc-id = alac

# Mobileway
group = smsc
smsc = smpp
smsc-id = mw
host = xxx.xxx.xxx.xxx
port = 7901
receive-port = 7901
smsc-username = xxxxxxxxx
smsc-password = xxxxxxxxx
system-type = TCP
address-range = ""
my-number = 3445
interface-version = 34
source-addr-ton = 1
source-addr-npi = 1
allowed-smsc-id = mw


After contacting Mobileway support, they suggested a few configuration
changes, so my Mobileway section looks like this now:

# Mobileway
group = smsc
smsc = smpp
smsc-id = mw
host = xxx.xxx.xxx.xxx
port = 7901
#receive-port = 7901
smsc-username = xxxxxxxxxx
smsc-password = xxxxxxxxxx
address-range = ""
system-type = "VMA"
enquire-link-interval = 120
reconnect-delay = 30
connect-allow-ip = "*.*.*.*"
allowed-smsc-id = mw
 

But still, I only get type=8 DLR (checked the smsbox log). Anybody
knows what may cause this?

Peter, would you be so kind, and share your conf file?

Thank you
Robert


> Hey folks -- having a bit of trouble with my DLR reports.

> I'm using Mobileway.  I submitted this information to sendsms cgi:

> This is the data I got back from the DLR URL (at least I know the dlrcgi
> var I passed was properly encoded):

> [6] DEBUG: created DLR message for URL
> <http://xxx.xx.xxx.xxx/dlr.php?type=%d&to=%P&time=%t&msg=%b&smscreply=%A>
>     [type] => 12
>     [to] => +1571xxxxxxx
>     [time] => 2004-05-08 15:14:52
>     [msg] => 0x00000000/
>     [smscreply] => 0x00000000/

>     (also, what %? gives me the message_id returned by Mobileway?)

> With type 12, I would assume that means Message Buffered, SMSC Submit.  Is
> that correct for what message I got from Mobileway?

>     id:1203199459 sub:001 dlvrd:001 submit date:0405081717
>     done date:0405081717 stat:DELIVRD err:000 Text:450A DLVRD TO SMSC.

> I'm trying to keep track of the success or failure of mobileway accepting
> and/or delivering the message.

> It looks like it was successfully delivered to the SMSC (which is all I
> need to know).  Did kannel not recognize it correctly (is 12, 4+8 what I'm
> going to get?)?  Did I not set up kannel to recognize the DLR report?  I'm
> kinda new to all this, so please treat me like a complete bonehead about
> all this.

> Thanks!

> Beckman

> Here's my log:

> 2004-05-08 11:14:52 [8] DEBUG: boxc_receiver: sms received
> 2004-05-08 11:14:52 [6] DEBUG:
> SMPP[SMPP:xx.xx.xx.xx:xx/xx:username:VMA]: Manually forced source
> addr ton = 5, source add npi = 0
> 2004-05-08 11:14:52 [6] DEBUG:
> SMPP[SMPP:xx.xx.xx.xx:xx/xx:username:VMA]: Sending PDU:
> 2004-05-08 11:14:52 [6] DEBUG: SMPP PDU 0xb18006a8 dump:
> 2004-05-08 11:14:52 [6] DEBUG:   type_name: submit_sm
> 2004-05-08 11:14:52 [6] DEBUG:   command_id: 4 = 0x00000004
> 2004-05-08 11:14:52 [6] DEBUG:   command_status: 0 = 0x00000000
> 2004-05-08 11:14:52 [6] DEBUG:   sequence_number: 1336 = 0x00000538
> 2004-05-08 11:14:52 [6] DEBUG:   service_type: NULL
> 2004-05-08 11:14:52 [6] DEBUG:   source_addr_ton: 5 = 0x00000005
> 2004-05-08 11:14:52 [6] DEBUG:   source_addr_npi: 0 = 0x00000000
> 2004-05-08 11:14:52 [6] DEBUG:   source_addr: "25378"
> 2004-05-08 11:14:52 [6] DEBUG:   dest_addr_ton: 1 = 0x00000001
> 2004-05-08 11:14:52 [6] DEBUG:   dest_addr_npi: 1 = 0x00000001
> 2004-05-08 11:14:52 [6] DEBUG:   destination_addr: "15713310674"
> 2004-05-08 11:14:52 [6] DEBUG:   esm_class: 3 = 0x00000003
> 2004-05-08 11:14:52 [6] DEBUG:   protocol_id: 0 = 0x00000000
> 2004-05-08 11:14:52 [6] DEBUG:   priority_flag: 0 = 0x00000000
> 2004-05-08 11:14:52 [6] DEBUG:   schedule_delivery_time: NULL
> 2004-05-08 11:14:52 [6] DEBUG:   validity_period: NULL
> 2004-05-08 11:14:52 [6] DEBUG:   registered_delivery: 1 = 0x00000001
> 2004-05-08 11:14:52 [6] DEBUG:   replace_if_present_flag: 0 = 0x00000000
> 2004-05-08 11:14:52 [6] DEBUG:   data_coding: 0 = 0x00000000
> 2004-05-08 11:14:52 [6] DEBUG:   sm_default_msg_id: 0 = 0x00000000
> 2004-05-08 11:14:52 [6] DEBUG:   sm_length: 7 = 0x00000007
> 2004-05-08 11:14:52 [6] DEBUG:   short_message: "testing"
> 2004-05-08 11:14:52 [6] DEBUG: SMPP PDU dump ends.
> 2004-05-08 11:14:52 [6] DEBUG:
> SMPP[SMPP:xx.xx.xx.xx:xx/xx:username:VMA]: Got PDU:
> 2004-05-08 11:14:52 [6] DEBUG: SMPP PDU 0xb18006a8 dump:
> 2004-05-08 11:14:52 [6] DEBUG:   type_name: submit_sm_resp
> 2004-05-08 11:14:52 [6] DEBUG:   command_id: 2147483652 = 0x80000004
> 2004-05-08 11:14:52 [6] DEBUG:   command_status: 0 = 0x00000000
> 2004-05-08 11:14:52 [6] DEBUG:   sequence_number: 1336 = 0x00000538
> 2004-05-08 11:14:52 [6] DEBUG:   message_id: "47B75DE3"
> 2004-05-08 11:14:52 [6] DEBUG: SMPP PDU dump ends.
> 2004-05-08 11:14:52 [6] DEBUG: Adding DLR
> smsc=SMPP:xx.xx.xx.xx:xx/xx:username:VMA, ts=47B75DE3, src=25378,
> dst=+15713310674, mask=31, boxc=default
> 2004-05-08 11:14:52 [6] DEBUG: Looking for DLR
> smsc=SMPP:xx.xx.xx.xx:xx/xx:username:VMA, ts=47B75DE3,
> dst=+15713310674, type=12
> 2004-05-08 11:14:52 [6] DEBUG: created DLR message for URL
> <http://216.52.122.199/dlr.php?type=%d&to=%P&time=%t&msg=%b&smscreply=%A>
> 2004-05-08 11:14:52 [6] INFO: dlr not destroyed, still waiting for other delivery 
> report
> 2004-05-08 11:14:52 [9] DEBUG: send_msg: sending msg to boxc: <default>
> 2004-05-08 11:14:52 [1] DEBUG: Dumping 10 messages and 0 acks to store
> 2004-05-08 11:14:52 [9] DEBUG: boxc_sender: sent message to <127.0.0.1>
> 2004-05-08 11:14:52 [8] DEBUG: boxc_receiver: got ack
> 2004-05-08 11:15:00 [6] DEBUG: Optional parameter tag (0x0427)
> 2004-05-08 11:15:00 [6] DEBUG: Optional parameter length read as 1
> 2004-05-08 11:15:00 [6] DEBUG: Optional parameter value (^B)
> 2004-05-08 11:15:00 [6] DEBUG: Optional parameter tag (0x001e)
> 2004-05-08 11:15:00 [6] DEBUG: Optional parameter length read as 9
> 2004-05-08 11:15:00 [6] DEBUG: Optional parameter value (47B75DE3)
> 2004-05-08 11:15:00 [6] DEBUG:
> SMPP[SMPP:xx.xx.xx.xx:xx/xx:username:VMA]: Got PDU:
> 2004-05-08 11:15:00 [6] DEBUG: SMPP PDU 0xb18006a8 dump:
> 2004-05-08 11:15:00 [6] DEBUG:   type_name: deliver_sm
> 2004-05-08 11:15:00 [6] DEBUG:   command_id: 5 = 0x00000005
> 2004-05-08 11:15:00 [6] DEBUG:   command_status: 0 = 0x00000000
> 2004-05-08 11:15:00 [6] DEBUG:   sequence_number: 1 = 0x00000001
> 2004-05-08 11:15:00 [6] DEBUG:   service_type: "CMT"
> 2004-05-08 11:15:00 [6] DEBUG:   source_addr_ton: 1 = 0x00000001
> 2004-05-08 11:15:00 [6] DEBUG:   source_addr_npi: 0 = 0x00000000
> 2004-05-08 11:15:00 [6] DEBUG:   source_addr: "1571xxxxxxx"
> 2004-05-08 11:15:00 [6] DEBUG:   dest_addr_ton: 1 = 0x00000001
> 2004-05-08 11:15:00 [6] DEBUG:   dest_addr_npi: 0 = 0x00000000
> 2004-05-08 11:15:00 [6] DEBUG:   destination_addr: "xxxxx"
> 2004-05-08 11:15:00 [6] DEBUG:   esm_class: 4 = 0x00000004
> 2004-05-08 11:15:00 [6] DEBUG:   protocol_id: 0 = 0x00000000
> 2004-05-08 11:15:00 [6] DEBUG:   priority_flag: 0 = 0x00000000
> 2004-05-08 11:15:00 [6] DEBUG:   schedule_delivery_time: NULL
> 2004-05-08 11:15:00 [6] DEBUG:   validity_period: NULL
> 2004-05-08 11:15:00 [6] DEBUG:   registered_delivery: 0 = 0x00000000
> 2004-05-08 11:15:00 [6] DEBUG:   replace_if_present_flag: 0 = 0x00000000
> 2004-05-08 11:15:00 [6] DEBUG:   data_coding: 0 = 0x00000000
> 2004-05-08 11:15:00 [6] DEBUG:   sm_default_msg_id: 0 = 0x00000000
> 2004-05-08 11:15:00 [6] DEBUG:   sm_length: 121 = 0x00000079
> 2004-05-08 11:15:00 [6] DEBUG:   short_message:
> 2004-05-08 11:15:00 [6] DEBUG:    Octet string at 0xb1801168:
> 2004-05-08 11:15:00 [6] DEBUG:      len:  121
> 2004-05-08 11:15:00 [6] DEBUG:      size: 122
> 2004-05-08 11:15:00 [6] DEBUG:      immutable: 0
> 2004-05-08 11:15:00 [6] DEBUG:      data: 69 64 3a 31 32 30 33 31 id:12031
> 2004-05-08 11:15:00 [6] DEBUG:      data: 39 39 34 35 39 20 73 75 99459 su
> 2004-05-08 11:15:00 [6] DEBUG:      data: 62 3a 30 30 31 20 64 6c b:001 dl
> 2004-05-08 11:15:00 [6] DEBUG:      data: 76 72 64 3a 30 30 31 20 vrd:001
> 2004-05-08 11:15:00 [6] DEBUG:      data: 73 75 62 6d 69 74 20 64 submit d
> 2004-05-08 11:15:00 [6] DEBUG:      data: 61 74 65 3a 30 34 30 35 ate:0405
> 2004-05-08 11:15:00 [6] DEBUG:      data: 30 38 31 37 31 37 20 64 081717 d
> 2004-05-08 11:15:00 [6] DEBUG:      data: 6f 6e 65 20 64 61 74 65 one date
> 2004-05-08 11:15:00 [6] DEBUG:      data: 3a 30 34 30 35 30 38 31 :0405081
> 2004-05-08 11:15:00 [6] DEBUG:      data: 37 31 37 20 73 74 61 74 717 stat
> 2004-05-08 11:15:00 [6] DEBUG:      data: 3a 44 45 4c 49 56 52 44 :DELIVRD
> 2004-05-08 11:15:00 [6] DEBUG:      data: 20 65 72 72 3a 30 30 30 err:000
> 2004-05-08 11:15:00 [6] DEBUG:      data: 20 54 65 78 74 3a 34 35 Text:45
> 2004-05-08 11:15:00 [6] DEBUG:      data: 30 41 20 44 4c 56 52 44 0A DLVRD
> 2004-05-08 11:15:00 [6] DEBUG:      data: 20 54 4f 20 53 4d 53 43 TO SMSC
> 2004-05-08 11:15:00 [6] DEBUG:      data: 00                     
> 2004-05-08 11:15:00 [6] DEBUG:    Octet string dump ends.
> 2004-05-08 11:15:00 [6] DEBUG:   SMPP_message_state:
> 2004-05-08 11:15:00 [6] DEBUG:    Octet string at 0xb1800e88:
> 2004-05-08 11:15:00 [6] DEBUG:      len:  1
> 2004-05-08 11:15:00 [6] DEBUG:      size: 2
> 2004-05-08 11:15:00 [6] DEBUG:      immutable: 0
> 2004-05-08 11:15:00 [6] DEBUG:      data: 02                     
> 2004-05-08 11:15:00 [6] DEBUG:    Octet string dump ends.
> 2004-05-08 11:15:00 [6] DEBUG:   SMPP_receipted_message_id:
> 2004-05-08 11:15:00 [6] DEBUG:    Octet string at 0xb1801150:
> 2004-05-08 11:15:00 [6] DEBUG:      len:  9
> 2004-05-08 11:15:00 [6] DEBUG:      size: 10
> 2004-05-08 11:15:00 [6] DEBUG:      immutable: 0
> 2004-05-08 11:15:00 [6] DEBUG:      data: 34 37 42 37 35 44 45 33 47B75DE3
> 2004-05-08 11:15:00 [6] DEBUG:      data: 00                     
> 2004-05-08 11:15:00 [6] DEBUG:    Octet string dump ends.
> 2004-05-08 11:15:00 [6] DEBUG: SMPP PDU dump ends.
> 2004-05-08 11:15:00 [6] DEBUG:
> SMPP[SMPP:xx.xx.xx.xx:xx/xx:username:VMA] handle_pdu, got DLR
> 2004-05-08 11:15:00 [6] DEBUG: Looking for DLR
> smsc=SMPP:xx.xx.xx.xx:xx/xx:username:VMA, ts=1203199459, dst=25378,
> type=1
> 2004-05-08 11:15:00 [6] DEBUG: DLR not found!
> 2004-05-08 11:15:00 [6] ERROR:
> SMPP[SMPP:xx.xx.xx.xx:xx/xx:username:VMA]: got DLR but could not
> find message or was not interested in it
> 2004-05-08 11:15:00 [6] DEBUG:
> SMPP[SMPP:xx.xx.xx.xx:xx/xx:username:VMA]: Sending PDU:
> 2004-05-08 11:15:00 [6] DEBUG: SMPP PDU 0xb1800ed8 dump:
> 2004-05-08 11:15:00 [6] DEBUG:   type_name: deliver_sm_resp
> 2004-05-08 11:15:00 [6] DEBUG:   command_id: 2147483653 = 0x80000005
> 2004-05-08 11:15:00 [6] DEBUG:   command_status: 0 = 0x00000000
> 2004-05-08 11:15:00 [6] DEBUG:   sequence_number: 1 = 0x00000001
> 2004-05-08 11:15:00 [6] DEBUG:   message_id: NULL
> 2004-05-08 11:15:00 [6] DEBUG: SMPP PDU dump ends.

> ---------------------------------------------------------------------------
> Peter Beckman                                                  Internet Guy
> [EMAIL PROTECTED]                             http://www.purplecow.com/
> ---------------------------------------------------------------------------




Reply via email to