<html><body><div style="font-family: lucida console,sans-serif; font-size: 12pt; color: #000000"><div>Hello Razvan,</div><div>I catch in log, message from provider and after trunk when down.</div><div>I am not sure what is mean <span style="color: #000000; font-family: 'lucida console', sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;" data-mce-style="color: #000000; font-family: 'lucida console', sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;">00000006</span><div style="clear: both;" data-mce-style="clear: both;"><br></div></div><div><br data-mce-bogus="1"></div><div><div>Jun 7 10:02:34 smsc /usr/sbin/opensips[10821]: WARNING:proto_smpp:handle_smpp_msg: Unknown or unsupported command received 00000006</div><div>Jun 7 10:02:38 smsc /usr/sbin/opensips[10827]: ERROR:proto_smpp:smpp_send_msg: cannot fetch connection for SMS_C (0)</div><div>Jun 7 10:02:43 smsc /usr/sbin/opensips[10823]: ERROR:proto_smpp:smpp_send_msg: cannot fetch connection for SMS_C (0)</div><div>Jun 7 10:02:48 smsc /usr/sbin/opensips[10829]: ERROR:proto_smpp:smpp_send_msg: cannot fetch connection for SMS_C (0)</div><div>Jun 7 10:02:53 smsc /usr/sbin/opensips[10829]: ERROR:proto_smpp:smpp_send_msg: cannot fetch connection for SMS_C (0)</div></div><div><br></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>"Slava Bendersky" <volga629@networklab.ca><br><b>To: </b>"OpenSIPS users mailling list" <users@lists.opensips.org><br><b>Sent: </b>Thursday, June 6, 2019 4:06:41 PM<br><b>Subject: </b>Re: [OpenSIPS-Users] proto_smpp<br></div><div><br></div><div data-marker="__QUOTED_TEXT__"><div style="font-family: lucida console,sans-serif; font-size: 12pt; color: #000000"><div>Hello Razvan,</div><div>I sent you pcap and here are some debug log. </div><br><div><a href="https://paste.fedoraproject.org/paste/H8lLXP13otKdL1wDR0jBzA" target="_blank">https://paste.fedoraproject.org/paste/H8lLXP13otKdL1wDR0jBzA</a></div><br><div>Also interesting that I am trying use failure route, but it not working </div><br><div>Script example </div><br><div><a href="https://paste.fedoraproject.org/paste/6dHJ281iKU~BY7~~CAuC7w" target="_blank">https://paste.fedoraproject.org/paste/6dHJ281iKU~BY7~~CAuC7w</a></div><br><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>Thursday, June 6, 2019 11:47:09 AM<br><b>Subject: </b>Re: [OpenSIPS-Users] proto_smpp<br></div><br><div>Can you please make a pcap of the communication, and also run OpenSIPS <br>in debug mode, and send us the logs?<br><br>Thanks!<br><br>On 6/6/19 5:40 PM, Slava Bendersky wrote:<br>> Hello Razvan,<br>> Here tcp connection log<br>> <br>> https://paste.fedoraproject.org/paste/t-Ibs3BMVg7uPJqF1TCU7g<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: *Thursday, June 6, 2019 6:49:49 AM<br>> *Subject: *Re: [OpenSIPS-Users] proto_smpp<br>> <br>> 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 <br>> provider<br>> > > after that it start fill the log with bellow. Log level 4 is not <br>> 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>> ------------------------------------------------------------------------<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 <br>> 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: <br>> cannot fetch<br>> > > > connection for SMS_C (0)<br>> > > ><br>> > > > I checked mariadb and I don't think it even trying fetch it, <br>> because I<br>> > > > am logging all queries and nothing in logs or SHOW FULL <br>> PROCESSLIST;<br>> > > > MariaDB [opensips]> select * from smpp;<br>> > > ><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>> +----+-------+---------------+------+-----------+----------+-------------+---------+---------+---------+---------+--------------+<br>> > > > | 1 | SMS_C | provider_ip | 2775 | username | pass | smpp<br>> > > > | 2 | 1 | 2 | 1 | 1 |<br>> > > ><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>> <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><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>