[OpenSIPS-Users] MSILO Module can't work
tin
centos168 at 126.com
Tue Feb 3 07:40:20 CET 2015
hi,
Sometimes the messages can't store into DB,
And log has some error like this:
Feb 3 14:36:20 mySer /usr/sbin/opensips[24989]: ERROR:tm:msg_send: tcp_send failed
Feb 3 14:36:20 mySer /usr/sbin/opensips[24989]: ERROR:tm:t_forward_nonack: sending request failed
Feb 3 14:36:20 mySer /usr/sbin/opensips[24989]: ERROR:tm:w_t_relay: t_forward_nonack failed
Feb 3 14:36:20 mySer /usr/sbin/opensips[24989]: ERROR:tm:_reply_light: failed to generate 500 reply when a final 477 was sent out
Feb 3 14:36:20 mySer /usr/sbin/opensips[24989]: ERROR:signaling:sig_send_reply_mod: failed to send reply with tm module
Feb 3 14:36:31 mySer /usr/sbin/opensips[25000]: ERROR:core:tcp_blocking_connect: timeout 9 s elapsed from 10 s
Feb 3 14:36:31 mySer /usr/sbin/opensips[25000]: ERROR:core:tcpconn_connect: tcp_blocking_connect failed
Feb 3 14:36:31 mySer /usr/sbin/opensips[25000]: ERROR:core:tcp_send: connect failed
Feb 3 14:36:31 mySer /usr/sbin/opensips[25000]: ERROR:tm:msg_send: tcp_send failed
Feb 3 14:36:31 mySer /usr/sbin/opensips[25000]: ERROR:tm:t_forward_nonack: sending request failed
Feb 3 14:36:31 mySer /usr/sbin/opensips[25000]: INFO:core:probe_max_sock_buff: using snd buffer of 255 kb
Feb 3 14:36:31 mySer /usr/sbin/opensips[25000]: INFO:core:init_sock_keepalive: -- TCP keepalive enabled on socket
Feb 3 14:36:45 mySer /usr/sbin/opensips[25000]: ERROR:core:tcp_blocking_connect: timeout 9 s elapsed from 10 s
Feb 3 14:36:45 mySer /usr/sbin/opensips[25000]: ERROR:core:tcpconn_connect: tcp_blocking_connect failed
Feb 3 14:36:45 mySer /usr/sbin/opensips[25000]: ERROR:core:tcp_send: connect failed
Feb 3 14:36:45 mySer /usr/sbin/opensips[25000]: ERROR:tm:msg_send: tcp_send failed
Feb 3 14:36:45 mySer /usr/sbin/opensips[25000]: ERROR:tm:t_forward_nonack: sending request failed
Feb 3 14:36:45 mySer /usr/sbin/opensips[25000]: INFO:core:probe_max_sock_buff: using snd buffer of 255 kb
Feb 3 14:36:45 mySer /usr/sbin/opensips[25000]: INFO:core:init_sock_keepalive: -- TCP keepalive enabled on socket
Feb 3 14:36:59 mySer /usr/sbin/opensips[25000]: ERROR:core:tcp_blocking_connect: timeout 9 s elapsed from 10 s
Feb 3 14:36:59 mySer /usr/sbin/opensips[25000]: ERROR:core:tcpconn_connect: tcp_blocking_connect failed
Feb 3 14:36:59 mySer /usr/sbin/opensips[25000]: ERROR:core:tcp_send: connect failed
Feb 3 14:36:59 mySer /usr/sbin/opensips[25000]: ERROR:tm:msg_send: tcp_send failed
Feb 3 14:36:59 mySer /usr/sbin/opensips[25000]: ERROR:tm:t_forward_nonack: sending request failed
Feb 3 14:36:59 mySer /usr/sbin/opensips[25000]: ERROR:tm:w_t_relay: t_forward_nonack failed
Feb 3 14:36:59 mySer /usr/sbin/opensips[25000]: ERROR:tm:_reply_light: failed to generate 500 reply when a final 477 was sent out
Feb 3 14:36:59 mySer /usr/sbin/opensips[25000]: ERROR:signaling:sig_send_reply_mod: failed to send reply with tm module
At 2015-02-03 08:15:45, "tin" <centos168 at 126.com> wrote:
Hi:
The REGISTER look like normal;
Tow REGISTER can communicate with each other when they online;
Thanks
At 2015-02-02 17:36:42, "Bogdan-Andrei Iancu" <bogdan at opensips.org> wrote:
And how does the REGISTER look like ?
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
On 02.02.2015 11:33, tin wrote:
Hi,Bogdan:
yes,the DB has the record.
and the username match the AOR of the user that register later,
the record as below:
mysql> select * from silo where ctype = 'text/plain';
+------+-------------------------+-------------------------+----------+-----------------+------------+------------+----------+------------+-------+
| id | src_addr | dst_addr | username | domain | inc_time | exp_time | snd_time | ctype | body |
+------+-------------------------+-------------------------+----------+-----------------+------------+------------+----------+------------+-------+
| 3659 | sip:008 at 118.193.154.214 | sip:010 at 118.193.154.214 | 010 | 118.193.154.214 | 1422859611 | 1422895611 | 0 | text/plain | coi |
| 3667 | sip:008 at 118.193.154.214 | sip:010 at 118.193.154.214 | 010 | 118.193.154.214 | 1422860496 | 1423119696 | 0 | text/plain | ggg |
| 3669 | sip:008 at 118.193.154.214 | sip:010 at 118.193.154.214 | 010 | 118.193.154.214 | 1422860514 | 1423119714 | 0 | text/plain | qqq |
| 3671 | sip:008 at 118.193.154.214 | sip:010 at 118.193.154.214 | 010 | 118.193.154.214 | 1422860599 | 1423119799 | 0 | text/plain | bbbbb |
| 3719 | sip:003 at 118.193.154.214 | sip:010 at 118.193.154.214 | 010 | 118.193.154.214 | 1422868318 | 1423127518 | 0 | text/plain | 456 |
| 3718 | sip:003 at 118.193.154.214 | sip:010 at 118.193.154.214 | 010 | 118.193.154.214 | 1422868210 | 1423127410 | 0 | text/plain | 123 |
| 3717 | sip:003 at 118.193.154.214 | sip:010 at 118.193.154.214 | 010 | 118.193.154.214 | 1422867734 | 1423126934 | 0 | text/plain | 999 |
+------+-------------------------+-------------------------+----------+-----------------+------------+------------+----------+------------+-------+
7 rows in set (0.00 sec)
At 2015-02-02 17:17:51, "Bogdan-Andrei Iancu" <bogdan at opensips.org> wrote:
Hi,
Please keep the list at CC !
After you hit the m_store(), do you see the record in DB ? if yes, what are the username and domain values - do they match the AOR of the user that register later ?
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
On 02.02.2015 03:12, tin wrote:
Hi,Bogdan:
The two function(m_store(),m_dump()) was in script,
Although i have received the log for success:
log("MSILO: offline messages dumped - if they were\n");
the log:
[....]
At 2015-01-31 01:10:45, "Bogdan-Andrei Iancu" <bogdan at opensips.org> wrote:
Hello,
1) when B is offline, do you do m_store() in script ?
2) when you handled a registration of B, do you do m_dump() in script ?
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
On 30.01.2015 09:32, tin wrote:
Hi,
I am use opensips 1.11.3 on centos5.11,it's everything is ok .
I want to deploy the MSILO Module ,loadmodule、add route script in the "cfg"
the user A send message to B who was offline;the message save to the server;
when the user B online,the message didn't from server sent to B user,why?
thanks
_______________________________________________
Users mailing list
Users at lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20150203/eb7696de/attachment-0001.htm>
More information about the Users
mailing list