Re: problem with reconnection to smsc emi

Pavel Bunko <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel,gmane.comp.mobile.kannel.user
Message-ID <[email protected]>
another problem

2014-06-25 17:29:27 [3818] [6] DEBUG: EMI2[SMSCOrange]: emi2 sending 
packet: <.61/00031/O/31/503444058/0539/CA.>
2014-06-25 17:29:27 [3818] [6] DEBUG: EMI2[SMSCOrange]: Got packet from 
the main socket
2014-06-25 17:29:27 [3818] [6] DEBUG: EMI2[SMSCOrange]: emi2 parsing 
packet: <.61/00056/R/31/N/02/503444058: UCPGW: EMI syntax error/08.>
2014-06-25 17:29:27 [3818] [6] ERROR: EMI2[SMSCOrange]: Got negative 
ack. op:31, trn:61, error:2 (Syntax error), message:503444058: UCPGW: 
EMI syntax error

2014-06-25 17:32:59 [3818] [6] DEBUG: EMI2[SMSCOrange]: emi2 sending 
packet: 
<.79/00396/O/51/0048601/503444058//1//7///////2606141732//////3//00000000000000/////////////CC.>
2014-06-25 17:34:05 [3818] [6] WARNING: EMI2[SMSCOrange]: received 
neither ACK nor NACK for message 79 in 60 seconds, disconnecting and 
reconnection
2014-06-25 17:34:05 [3818] [6] INFO: EMI2[SMSCOrange]: closing connection.
2014-06-25 17:34:10 [3818] [6] DEBUG: EMI2[SMSCOrange]: clear_sent called
2014-06-25 17:34:10 [3818] [6] INFO: EMI2[SMSCOrange]: connecting to 
Primary SMSC

and after that smsc is only receiving sms and all send sms are queued in 
SMSCOrange
even keep alive messages do not sent to smsc

W dniu 2014-06-12 15:58, Pavel Bunko pisze:
>
>
> any help?
>
> the smsc state is online and all messages are queued in this smsc but
> not routed to other smsc (modems in this case)
>
> Hello,
>
> I'm using  Kannel bearerbox II version 1.4.3
>
> emi smsc configuration:
>
> group = smsc
> smsc = emi
> smsc-id = SMSCOrange
> host =  some ip
> port =  some port
> keepalive = 60
> flow-control = 1
> my-number = 503444058
> log-file = "/home/ac2/ac2/ac2CommunicationServer/kannel/SMSCOrange.log"
> log-level = 0
> preferred-smsc-id="SMSCOrange"
> allowed-smsc-id="SMSCOrange"
>
> after some problems with connection to smsc kannel doesn't regain the
> connection
>
> 1)
> 2014-05-27 07:54:32 [21872] [6] INFO: EMI2[SMSCOrange]: connecting to
> Primary SMSC
> 2014-05-27 07:54:32 [21872] [6] ERROR: connect failed
> 2014-05-27 07:54:32 [21872] [6] ERROR: System error 111: Connection 
> refused
> 2014-05-27 07:54:32 [21872] [6] ERROR: error connecting to server `' at
> port `'
> 2014-05-27 07:54:32 [21872] [6] ERROR: EMI2[SMSCOrange]: opening TCP
> connection to  failed
> 2014-05-27 07:54:32 [21872] [6] ERROR: EMI2[SMSCOrange]: Couldn't
> connect to SMS center (retrying in 10 seconds).
> 2014-05-27 07:54:42 [21872] [6] INFO: EMI2[SMSCOrange]: connecting to
> Primary SMSC
> 2014-05-27 07:54:42 [21872] [6] ERROR: connect failed
> 2014-05-27 07:54:42 [21872] [6] ERROR: System error 111: Connection 
> refused
> 2014-05-27 07:54:42 [21872] [6] ERROR: error connecting to server `' at
> port `'
> 2014-05-27 07:54:42 [21872] [6] ERROR: EMI2[SMSCOrange]: opening TCP
> connection to  failed
> 2014-05-27 07:54:42 [21872] [6] ERROR: EMI2[SMSCOrange]: Couldn't
> connect to SMS center (retrying in 10 seconds).
> 2014-05-27 07:54:52 [21872] [6] INFO: EMI2[SMSCOrange]: connecting to
> Primary SMSC
>
> and after last log nothing happend. no more messages in log file of this
> smsc. other smsc (3 modems) working fine
>
> 2)
> 2014-05-28 07:57:48 [4323] [6] DEBUG: EMI2[SMSCOrange]: emi2 sending
> packet: <.89/00031/O/31/503444058/0539/D4.>
> 2014-05-28 07:57:48 [4323] [6] DEBUG: EMI2[SMSCOrange]: Got packet from
> the main socket
> 2014-05-28 07:57:48 [4323] [6] DEBUG: EMI2[SMSCOrange]: emi2 parsing
> packet: <.89/00056/R/31/N/02/503444058: UCPGW: EMI syntax error/12.>
> 2014-05-28 07:57:48 [4323] [6] ERROR: EMI2[SMSCOrange]: Got negative
> ack. op:31, trn:89, error:2 (Syntax error), message:503444058: UCPGW:
> EMI syntax error
> 2014-05-28 07:58:08 [4323] [6] INFO: EMI2[SMSCOrange]: Main connection
> closed by SMSC
> 2014-05-28 07:58:08 [4323] [6] DEBUG: EMI2[SMSCOrange]: clear_sent called
> 2014-05-28 07:58:08 [4323] [6] INFO: EMI2[SMSCOrange]: connecting to
> Primary SMSC
> 2014-05-28 07:59:09 [4323] [6] DEBUG: EMI2[SMSCOrange]: emi2 sending
> packet: <.90/00031/O/31/503444058/0539/CC.>
> 2014-05-28 07:59:09 [4323] [6] ERROR: Error reading from fd 36:
> 2014-05-28 07:59:09 [4323] [6] ERROR: System error 104: Connection reset
> by peer
> 2014-05-28 07:59:09 [4323] [6] DEBUG: EMI2[SMSCOrange]: clear_sent called
> 2014-05-28 07:59:09 [4323] [6] INFO: EMI2[SMSCOrange]: connecting to
> Primary SMSC
>
> the same situation after last log nothing happend. no more messages in
> log file of this smsc. other smsc (3 modems) working fine
>
> after restart kannel connect to smsc
>
> any ideas? what is going on? and how to fix this situation
>
>


-- 
Pavel Bunko
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.