Hi, Slava!

That error is logged when OpenSIPS tries to send a SMPP mode, but there's no available connection for it. I suspect OpenSIPS was not able to properly connect to the SMSC.
Is this the only error you are seeing? Is this triggered periodically?

Best regards,
Răzvan

On 6/5/19 5:16 AM, Slava Bendersky wrote:
Hello Everyone,
I am trying use proto_smpp and  module produce errors in log.

/usr/sbin/opensips[8876]: ERROR:proto_smpp:smpp_send_msg: cannot fetch connection for SMS_C (0)

I checked mariadb and I don't think it even trying fetch it, because I am logging all queries and nothing in logs or SHOW FULL PROCESSLIST;
MariaDB [opensips]> select * from smpp;
+----+-------+---------------+------+-----------+----------+-------------+---------+---------+---------+---------+--------------+
| id | name  | ip            | port | system_id | password | system_type | src_ton | src_npi | dst_ton | dst_npi | session_type |
+----+-------+---------------+------+-----------+----------+-------------+---------+---------+---------+---------+--------------+
|  1 | SMS_C | provider_ip | 2775 | username   | pass | smpp |       2 |       1 |       2 |       1 |            1 |
+----+-------+---------------+------+-----------+----------+-------------+---------+---------+---------+---------+--------------+
1 row in set (0.001 sec)

Any help thank you
volga629
Sent from Mailspring

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


--
Răzvan Crainea
OpenSIPS Core Developer
  http://www.opensips-solutions.com
Meet the OpenSIPS team at the next OpenSIPS Summit:
  https://www.opensips.org/events

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to