<html><body><div style="font-family: lucida console,sans-serif; font-size: 12pt; color: #000000"><div>Hello Razvan,</div><div>Here tcp connection log </div><div><br data-mce-bogus="1"></div><div><a href="https://paste.fedoraproject.org/paste/t-Ibs3BMVg7uPJqF1TCU7g" data-mce-href="https://paste.fedoraproject.org/paste/t-Ibs3BMVg7uPJqF1TCU7g">https://paste.fedoraproject.org/paste/t-Ibs3BMVg7uPJqF1TCU7g</a></div><div><br data-mce-bogus="1"></div><div>volga629</div><div><br></div><hr id="zwchr" data-marker="__DIVIDER__"><div data-marker="__HEADERS__"><b>From: </b>"Răzvan Crainea" <razvan@opensips.org><br><b>To: </b>"OpenSIPS users mailling list" <users@lists.opensips.org><br><b>Sent: </b>Thursday, June 6, 2019 6:49:49 AM<br><b>Subject: </b>Re: [OpenSIPS-Users] proto_smpp<br></div><div><br></div><div data-marker="__QUOTED_TEXT__">Hi, Slava!<br><br>Can you run `opensips-cli -x mi list_tcp_conns` immediately after <br>OpenSIPS starts, and then when errors start appearing, then send us the <br>output?<br><br>Thanks,<br>Răzvan<br><br>On 6/6/19 5:28 AM, Slava Bendersky wrote:<br>> Hello Razvan,<br>> <br>> Here are more logs might be more detailed.<br>> <br>> https://paste.fedoraproject.org/paste/HXTHepUYsIF2Z9yjCmRR8w<br>> <br>> volga629<br>> <br>> <br>> ------------------------------------------------------------------------<br>> *From: *"Slava Bendersky" <volga629@networklab.ca><br>> *To: *"OpenSIPS users mailling list" <users@lists.opensips.org><br>> *Sent: *Wednesday, June 5, 2019 10:46:37 PM<br>> *Subject: *Re: [OpenSIPS-Users] proto_smpp<br>> <br>> Hello Razvan,<br>> Here are log in pastebin.<br>> <br>> https://paste.fedoraproject.org/paste/Ss4jWHGb5bDjGyn8v4AEMw<br>> <br>> volga629<br>> <br>> ------------------------------------------------------------------------<br>> *From: *"Răzvan Crainea" <razvan@opensips.org><br>> *To: *"OpenSIPS users mailling list" <users@lists.opensips.org><br>> *Sent: *Wednesday, June 5, 2019 9:54:43 AM<br>> *Subject: *Re: [OpenSIPS-Users] proto_smpp<br>> <br>> Could you post all logs, including init and error on pastebin?<br>> <br>> On 6/5/19 3:18 PM, Slava Bendersky wrote:<br>> ><br>> > Hello Razvan,<br>> > After restart of opensips it shows in log that it connected to provider<br>> > after that it start fill the log with bellow. Log level 4 is not helping<br>> > no additional info in log.<br>> ><br>> > Jun 5 04:15:40 smsc /usr/sbin/opensips[13975]:<br>> > INFO:proto_smpp:load_smpp_sessions_from_db: Loaded 1 SMSc servers<br>> > Jun 5 04:15:40 smsc /usr/sbin/opensips[13975]:<br>> > INFO:proto_smpp:send_bind: binding session with system_id "username"<br>> > Jun 5 04:15:40 smsc /usr/sbin/opensips[13975]:<br>> > INFO:core:probe_max_sock_buff: using snd buffer of 416 kb<br>> > Jun 5 04:15:40 smsc /usr/sbin/opensips[13975]:<br>> > INFO:core:init_sock_keepalive: TCP keepalive enabled on socket 5<br>> > Jun 5 04:15:40 smsc /usr/sbin/opensips[13977]:<br>> > INFO:proto_smpp:child_init: initializing child #3<br>> > Jun 5 04:15:40 smsc /usr/sbin/opensips[13978]:<br>> > INFO:proto_smpp:child_init: initializing child #4<br>> > Jun 5 04:15:40 smsc /usr/sbin/opensips[13979]:<br>> > INFO:proto_smpp:child_init: initializing child #5<br>> > Jun 5 04:15:40 smsc /usr/sbin/opensips[13980]:<br>> > INFO:proto_smpp:child_init: initializing child #6<br>> > Jun 5 04:15:40 smsc /usr/sbin/opensips[13981]:<br>> > INFO:proto_smpp:child_init: initializing child #7<br>> > Jun 5 04:15:40 smsc /usr/sbin/opensips[13982]:<br>> > INFO:proto_smpp:child_init: initializing child #8<br>> > Jun 5 04:15:40 smsc /usr/sbin/opensips[13975]:<br>> > INFO:proto_smpp:smpp_conn_init: smpp_conn_init called<br>> > Jun 5 04:15:40 smsc /usr/sbin/opensips[13983]:<br>> > INFO:proto_smpp:child_init: initializing child #9<br>> > Jun 5 04:15:40 smsc /usr/sbin/opensips[13984]:<br>> > INFO:proto_smpp:child_init: initializing child #10<br>> > Jun 5 04:15:40 smsc /usr/sbin/opensips[13985]:<br>> > INFO:proto_smpp:child_init: initializing child #11<br>> > Jun 5 04:15:40 smsc /usr/sbin/opensips[13968]:<br>> > INFO:proto_smpp:child_init: initializing child #0<br>> > Jun 5 04:15:40 smsc /usr/sbin/opensips[13986]:<br>> > INFO:proto_smpp:child_init: initializing child #12<br>> > Jun 5 04:15:40 smsc /usr/sbin/opensips[13987]:<br>> > INFO:proto_smpp:child_init: initializing child #13<br>> > Jun 5 04:15:40 smsc opensips[13966]: INFO:core:daemonize: pre-daemon<br>> > process exiting with 0<br>> > Jun 5 04:15:40 smsc /usr/sbin/opensips[13979]:<br>> > INFO:proto_smpp:handle_bind_transceiver_resp_cmd: Successfully bound<br>> > transceiver "ISPT_SMPP03"<br>> ><br>> > volga629<br>> > ------------------------------------------------------------------------<br>> > *From: *"Răzvan Crainea" <razvan@opensips.org><br>> > *To: *"OpenSIPS users mailling list" <users@lists.opensips.org><br>> > *Sent: *Wednesday, June 5, 2019 5:02:25 AM<br>> > *Subject: *Re: [OpenSIPS-Users] proto_smpp<br>> ><br>> > Hi, Slava!<br>> ><br>> > That error is logged when OpenSIPS tries to send a SMPP mode, but<br>> > there's no available connection for it. I suspect OpenSIPS was not able<br>> > to properly connect to the SMSC.<br>> > Is this the only error you are seeing? Is this triggered periodically?<br>> ><br>> > Best regards,<br>> > Răzvan<br>> ><br>> > On 6/5/19 5:16 AM, Slava Bendersky wrote:<br>> > > Hello Everyone,<br>> > > I am trying use proto_smpp and module produce errors in log.<br>> > ><br>> > > /usr/sbin/opensips[8876]: ERROR:proto_smpp:smpp_send_msg: cannot fetch<br>> > > connection for SMS_C (0)<br>> > ><br>> > > I checked mariadb and I don't think it even trying fetch it, because I<br>> > > am logging all queries and nothing in logs or SHOW FULL PROCESSLIST;<br>> > > MariaDB [opensips]> select * from smpp;<br>> > ><br>> > <br>> +----+-------+---------------+------+-----------+----------+-------------+---------+---------+---------+---------+--------------+<br>> > > | id | name | ip | port | system_id | password | <br>> system_type<br>> > > | src_ton | src_npi | dst_ton | dst_npi | session_type |<br>> > ><br>> > <br>> +----+-------+---------------+------+-----------+----------+-------------+---------+---------+---------+---------+--------------+<br>> > > | 1 | SMS_C | provider_ip | 2775 | username | pass | smpp<br>> > > | 2 | 1 | 2 | 1 | 1 |<br>> > ><br>> > <br>> +----+-------+---------------+------+-----------+----------+-------------+---------+---------+---------+---------+--------------+<br>> > > 1 row in set (0.001 sec)<br>> > ><br>> > > Any help thank you<br>> > > volga629<br>> > > Sent from Mailspring<br>> > ><br>> > > _______________________________________________<br>> > > Users mailing list<br>> > > Users@lists.opensips.org<br>> > > http://lists.opensips.org/cgi-bin/mailman/listinfo/users<br>> > ><br>> ><br>> > --<br>> > Răzvan Crainea<br>> > OpenSIPS Core Developer<br>> > http://www.opensips-solutions.com<br>> > Meet the OpenSIPS team at the next OpenSIPS Summit:<br>> > https://www.opensips.org/events<br>> ><br>> > _______________________________________________<br>> > Users mailing list<br>> > Users@lists.opensips.org<br>> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users<br>> ><br>> > _______________________________________________<br>> > Users mailing list<br>> > Users@lists.opensips.org<br>> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users<br>> ><br>> <br>> -- <br>> Răzvan Crainea<br>> OpenSIPS Core Developer<br>> http://www.opensips-solutions.com<br>> Meet the OpenSIPS team at the next OpenSIPS Summit:<br>> https://www.opensips.org/events<br>> <br>> _______________________________________________<br>> Users mailing list<br>> Users@lists.opensips.org<br>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users<br>> <br>> <br>> _______________________________________________<br>> Users mailing list<br>> Users@lists.opensips.org<br>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users<br>> <br>> _______________________________________________<br>> Users mailing list<br>> Users@lists.opensips.org<br>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users<br>> <br><br>-- <br>Răzvan Crainea<br>OpenSIPS Core Developer<br> http://www.opensips-solutions.com<br>Meet the OpenSIPS team at the next OpenSIPS Summit:<br> https://www.opensips.org/events<br><br>_______________________________________________<br>Users mailing list<br>Users@lists.opensips.org<br>http://lists.opensips.org/cgi-bin/mailman/listinfo/users<br></div></div></body></html>