Re: How to Host Kannel On Remote Server (166.62.16.78)

2014-07-15 Thread sharkov...@gmail.com
Check the userguide for allow-ip configuration parameters.


On Tue, Jul 15, 2014 at 8:37 AM, Fakirchand Patidar 
bulk24sms.fcpati...@gmail.com wrote:

 Hi,

 When I'm hosting Kannel on IP 166.62.16.78 (Bearerbox at Port 13000 
 SMSBox at Port 13001) then bearerbox started but smsbox shows an error 
 *connecting
 to server `166.62.16.78' at port `13001'*.

 So, please suggest me that how to start kannel on above ip and ports.




 On Mon, Jul 14, 2014 at 5:16 PM, Antonis Spirou anto...@kapatel.gr
 wrote:

  You can host kannel wherever you like.
 All you have to do is allow from your firewall access to port 13131 and
 from kannel configuration.
 Check the userguide for allow-ip configuration parameters.

 BR
 * Antonis Spirou*
  Systems Administrator


  On 07/14/2014 02:30 PM, Fakirchand Patidar wrote:

  Hi Group,

  Is it possible to host from 127.0.0.1 (localhost) to 166.62.16.78 server?

  Because when I'm sending sms from 166.62.16.78 server then smsbox not
 accept my request.

  Please suggest me as soon as possible.



  -

 *Thanks  Regards, *
 *Fakirchand Patidar*





 --
 -

 *Thanks  Regards,*
 *Fakirchand Patidar*
 Software Developer
 Bulk24SMS Networks
 Cell: +919754178790



HTTP Not Hitting To SMSBox

2014-07-15 Thread Fakirchand Patidar
Hi,

I'm developing a SMS application and it is hosted on
http://educoordinator.com (166.62.16.78).

My Kannel Gateway is working on localhost (127.0.0.1) bearerbox at port
13000 and smsbox at port 13001.

When I'm sending SMS from send-url:
http://127.0.0.1:13013?username=testpassword=test..to=123456
from HTTP application that are hosted on 166.62.16.78 ip then it is not
hitting to send-url.

Please suggest me that how to solve this issue.

I'm facing a big trouble.

Please help me as soon as possible.

-

*Thanks  Regards,*
*Fakirchand Patidar*


Box is gone

2014-07-15 Thread Jose Figueroa
Hello everybody,

I'm using kannel as an SMS gateway, but I noticed something. 

This is my architecture:

SMPP Client  openSMPPBox  Kannel  SMPP Server

When I submit one SMS from my SMPP Client to the SMPPBox it connects to the 
bearerbox:

Box connections:
  smsbox:(none), IP 127.0.0.1 (0 queued), (on-line 2d 14h 17m 48s)
  smsbox:adrmzL19, IP 127.0.0.1 (0 queued), (on-line 0d 0h 3m 32s)

The thing is that when I'm waiting for the DLR, sometimes it has a delay for 
more than 1 min and the user disconnects, so, when the dlr is coming back it 
gives me one error that the box is gone:


2014-07-15 17:57:19 [20434] [6] DEBUG: SMPP PDU dump ends.
2014-07-15 17:57:19 [20434] [6] DEBUG: SMPP[provider]: throughput (0.00,0.00)
2014-07-15 17:57:19 [20434] [6] DEBUG: SMPP[provider]: throughput (0.00,0.00)
2014-07-15 17:57:19 [20434] [6] DEBUG: SMPP[provider]: Got PDU:
2014-07-15 17:57:19 [20434] [6] DEBUG: SMPP PDU 0x7fd79000f630 dump:
2014-07-15 17:57:19 [20434] [6] DEBUG:   type_name: enquire_link_resp
2014-07-15 17:57:19 [20434] [6] DEBUG:   command_id: 2147483669 = 0x8015
2014-07-15 17:57:19 [20434] [6] DEBUG:   command_status: 0 = 0x
2014-07-15 17:57:19 [20434] [6] DEBUG:   sequence_number: 7488 = 0x1d40
2014-07-15 17:57:19 [20434] [6] DEBUG: SMPP PDU dump ends.
2014-07-15 17:57:19 [20434] [6] DEBUG: SMPP[provider]: throughput (0.00,0.00)
2014-07-15 17:57:49 [20434] [6] DEBUG: SMPP[provider]: Sending enquire link:
2014-07-15 17:57:49 [20434] [6] DEBUG: SMPP PDU 0x7fd79000f630 dump:
2014-07-15 17:57:49 [20434] [6] DEBUG:   type_name: enquire_link
2014-07-15 17:57:49 [20434] [6] DEBUG:   command_id: 21 = 0x0015
2014-07-15 17:57:49 [20434] [6] DEBUG:   command_status: 0 = 0x
2014-07-15 17:57:49 [20434] [6] DEBUG:   sequence_number: 7489 = 0x1d41
2014-07-15 17:57:49 [20434] [6] DEBUG: SMPP PDU dump ends.
2014-07-15 17:57:49 [20434] [6] DEBUG: SMPP[provider]: throughput (0.00,0.00)
2014-07-15 17:57:50 [20434] [6] DEBUG: SMPP[provider]: throughput (0.00,0.00)
2014-07-15 17:57:50 [20434] [6] DEBUG: SMPP[provider]: Got PDU:
2014-07-15 17:57:50 [20434] [6] DEBUG: SMPP PDU 0x7fd79000f630 dump:
2014-07-15 17:57:50 [20434] [6] DEBUG:   type_name: enquire_link_resp
2014-07-15 17:57:50 [20434] [6] DEBUG:   command_id: 2147483669 = 0x8015
2014-07-15 17:57:50 [20434] [6] DEBUG:   command_status: 0 = 0x
2014-07-15 17:57:50 [20434] [6] DEBUG:   sequence_number: 7489 = 0x1d41
2014-07-15 17:57:50 [20434] [6] DEBUG: SMPP PDU dump ends.
2014-07-15 17:57:50 [20434] [6] DEBUG: SMPP[provider]: throughput (0.00,0.00)
2014-07-15 17:58:04 [20434] [4] WARNING: Could not route message to smsbox id 
adrmzL19, smsbox is gone!
2014-07-15 17:58:04 [20434] [4] WARNING: Could not route message to smsbox id 
adrmzL19, smsbox is gone!
---

When I rebind manually:

--
2014-07-15 17:59:02 [20434] [65] DEBUG: boxc_receiver: got boxc_id adrmzL19 
from 127.0.0.1
2014-07-15 17:59:02 [20434] [65] DEBUG: boxc_receiver: got boxc_id adrmzL19 
from 127.0.0.1
2014-07-15 17:59:02 [20456] [54] DEBUG: SMPP[adrmzL19]: Sending PDU:
2014-07-15 17:59:02 [20456] [54] DEBUG: SMPP PDU 0x7f8c9c0013a0 dump:
2014-07-15 17:59:02 [20456] [54] DEBUG:   type_name: bind_transceiver_resp
2014-07-15 17:59:02 [20456] [54] DEBUG:   command_id: 2147483657 = 0x8009
2014-07-15 17:59:02 [20456] [54] DEBUG:   command_status: 0 = 0x
2014-07-15 17:59:02 [20456] [54] DEBUG:   sequence_number: 1 = 0x0001
2014-07-15 17:59:02 [20456] [54] DEBUG:   system_id: SMPP
2014-07-15 17:59:02 [20456] [54] DEBUG: SMPP PDU dump ends.
2014-07-15 17:59:02 [20434] [66] DEBUG: Thread 66 (gw/bb_boxc.c:boxc_sender) 
maps to pid 20434.
2014-07-15 17:59:02 [20434] [66] DEBUG: Thread 66 (gw/bb_boxc.c:boxc_sender) 
maps to pid 20434.
2014-07-15 17:59:02 [20434] [66] DEBUG: send_msg: sending msg to boxc: 
adrmzL19
2014-07-15 17:59:02 [20434] [66] DEBUG: send_msg: sending msg to boxc: 
adrmzL19
2014-07-15 17:59:02 [20456] [53] INFO: We received an SMS message.
2014-07-15 17:59:02 [20456] [53] DEBUG: DLR[mysql]: Looking for DLR 
smsc=adrmzL19, ts=3492b493-2f8a-4a35-87d9-598bb9ec332e, dst=XX, type=1
2014-07-15 17:59:02 [20456] [53] DEBUG: sql: SELECT `mask`, `service`, `url`, 
`source`, `destination`, `boxcid` FROM `dlr` WHERE `smsc`=? AND `ts`=? LIMIT 1
2014-07-15 17:59:02 [20456] [53] DEBUG: column=mask buffer_type=3 max_length=0 
length=10
2014-07-15 17:59:02 [20456] [53] DEBUG: column=service buffer_type=253 
max_length=0 length=40
2014-07-15 17:59:02 [20456] [53] DEBUG: column=url buffer_type=253 max_length=0 
length=255
2014-07-15 17:59:02 [20456] [53] DEBUG: column=source buffer_type=253 
max_length=0 length=40
2014-07-15 17:59:02 [20456] [53] DEBUG: column=destination buffer_type=253 
max_length=0 length=40
2014-07-15 17:59:02 [20456] [53] DEBUG: column=boxcid buffer_type=253 
max_length=0 length=40
2014-07-15 17:59:02 [20456] [53] DEBUG: DLR[mysql]: created DLR message for URL