[OpenSIPS-Users] proto_smpp
Slava Bendersky
volga629 at skillsearch.ca
Wed Jun 5 21:45:03 EDT 2019
Hello Razvan,
Here are log in pastebin.
[ https://paste.fedoraproject.org/paste/Ss4jWHGb5bDjGyn8v4AEMw | https://paste.fedoraproject.org/paste/Ss4jWHGb5bDjGyn8v4AEMw ]
volga629
From: "Răzvan Crainea" <razvan at opensips.org>
To: "OpenSIPS users mailling list" <users at lists.opensips.org>
Sent: Wednesday, June 5, 2019 9:54:43 AM
Subject: Re: [OpenSIPS-Users] proto_smpp
Could you post all logs, including init and error on pastebin?
On 6/5/19 3:18 PM, Slava Bendersky wrote:
>
> Hello Razvan,
> After restart of opensips it shows in log that it connected to provider
> after that it start fill the log with bellow. Log level 4 is not helping
> no additional info in log.
>
> Jun 5 04:15:40 smsc /usr/sbin/opensips[13975]:
> INFO:proto_smpp:load_smpp_sessions_from_db: Loaded 1 SMSc servers
> Jun 5 04:15:40 smsc /usr/sbin/opensips[13975]:
> INFO:proto_smpp:send_bind: binding session with system_id "username"
> Jun 5 04:15:40 smsc /usr/sbin/opensips[13975]:
> INFO:core:probe_max_sock_buff: using snd buffer of 416 kb
> Jun 5 04:15:40 smsc /usr/sbin/opensips[13975]:
> INFO:core:init_sock_keepalive: TCP keepalive enabled on socket 5
> Jun 5 04:15:40 smsc /usr/sbin/opensips[13977]:
> INFO:proto_smpp:child_init: initializing child #3
> Jun 5 04:15:40 smsc /usr/sbin/opensips[13978]:
> INFO:proto_smpp:child_init: initializing child #4
> Jun 5 04:15:40 smsc /usr/sbin/opensips[13979]:
> INFO:proto_smpp:child_init: initializing child #5
> Jun 5 04:15:40 smsc /usr/sbin/opensips[13980]:
> INFO:proto_smpp:child_init: initializing child #6
> Jun 5 04:15:40 smsc /usr/sbin/opensips[13981]:
> INFO:proto_smpp:child_init: initializing child #7
> Jun 5 04:15:40 smsc /usr/sbin/opensips[13982]:
> INFO:proto_smpp:child_init: initializing child #8
> Jun 5 04:15:40 smsc /usr/sbin/opensips[13975]:
> INFO:proto_smpp:smpp_conn_init: smpp_conn_init called
> Jun 5 04:15:40 smsc /usr/sbin/opensips[13983]:
> INFO:proto_smpp:child_init: initializing child #9
> Jun 5 04:15:40 smsc /usr/sbin/opensips[13984]:
> INFO:proto_smpp:child_init: initializing child #10
> Jun 5 04:15:40 smsc /usr/sbin/opensips[13985]:
> INFO:proto_smpp:child_init: initializing child #11
> Jun 5 04:15:40 smsc /usr/sbin/opensips[13968]:
> INFO:proto_smpp:child_init: initializing child #0
> Jun 5 04:15:40 smsc /usr/sbin/opensips[13986]:
> INFO:proto_smpp:child_init: initializing child #12
> Jun 5 04:15:40 smsc /usr/sbin/opensips[13987]:
> INFO:proto_smpp:child_init: initializing child #13
> Jun 5 04:15:40 smsc opensips[13966]: INFO:core:daemonize: pre-daemon
> process exiting with 0
> Jun 5 04:15:40 smsc /usr/sbin/opensips[13979]:
> INFO:proto_smpp:handle_bind_transceiver_resp_cmd: Successfully bound
> transceiver "ISPT_SMPP03"
>
> volga629
> ------------------------------------------------------------------------
> *From: *"Răzvan Crainea" <razvan at opensips.org>
> *To: *"OpenSIPS users mailling list" <users at lists.opensips.org>
> *Sent: *Wednesday, June 5, 2019 5:02:25 AM
> *Subject: *Re: [OpenSIPS-Users] proto_smpp
>
> 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
> > Users at lists.opensips.org
> > 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
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> 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
Users at lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20190605/d1cd0faa/attachment.html>
More information about the Users
mailing list