If I understood ur question you might want to check %q or %Q in the get-url of the smsbox service
Hi, We have setup Kannel and its working fine when we send and recieve messages. But we have two short codes 16562 and 16563, we need to do some workflow based on which SC the message is sent. Both the SMS land in the same port for us, so we are not able to distinguish between the two.
I tried with %P option but its showing our port number (eg.9501), so can any one suggest the best way to find out which short code the SMS has been sent. I ran a tshark and i can see that the external smpp server is sending the short code.
Operation: Submit_sm - resp (0x80000004)
Result: Ok (0x00000000)
Sequence #: 2754
Message id.: 518df5cf
Short Message Peer to Peer, Command: Deliver_sm, Seq: 3942, Len: 187
Length: 187
Operation: Deliver_sm (0x00000005)
Sequence #: 3942
Service type: (Default)
Type of number (originator): International (0x01)
Numbering plan indicator (originator): ISDN (E163/E164) (0x01)
Originator address: xxxxx860052
Type of number (recipient): National (0x02)
Numbering plan indicator (recipient): ISDN (E163/E164) (0x01)
Recipient address: 16562
Messaging mode: Default SMSC mode (0x00)
..00 01.. = Message type: Short message contains SMSC Delivery Receipt (0x01)
00.. .... = GSM features: No specific features selected (0x00)
Protocol id.: 0x00
Priority level: GSM: None ANSI-136: Bulk IS-95: Normal (0x00)
Scheduled delivery time: Immediate delivery
Validity period: SMSC default validity period thank you MK |
- Find the SMS short code to which the SMS is sent. MK
- Re: Find the SMS short code to which the SMS is sent. GMail