<html><body><div style="font-family: lucida console,sans-serif; font-size: 12pt; color: #000000"><div data-marker="__QUOTED_TEXT__"><div style="font-family: lucida console,sans-serif; font-size: 12pt; color: #000000"><div>Hello Razvan,</div><div>Here are log in pastebin.</div><br><div><a href="https://paste.fedoraproject.org/paste/Ss4jWHGb5bDjGyn8v4AEMw" target="_blank">https://paste.fedoraproject.org/paste/Ss4jWHGb5bDjGyn8v4AEMw</a></div><br><div>volga629</div><br><hr id="zwchr"><div><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>Wednesday, June 5, 2019 9:54:43 AM<br><b>Subject: </b>Re: [OpenSIPS-Users] proto_smpp<br></div><br><div>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>> > | id | name | ip | port | system_id | password | system_type<br>> > | src_ton | src_npi | dst_ton | dst_npi | session_type |<br>> > <br>> +----+-------+---------------+------+-----------+----------+-------------+---------+---------+---------+---------+--------------+<br>> > | 1 | SMS_C | provider_ip | 2775 | username | pass | smpp<br>> > | 2 | 1 | 2 | 1 | 1 |<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</div></div><br></div></div></body></html>