[asterisk-bugs] [JIRA] (ASTERISK-28880) res_xmpp does not support ping

Dmitry Melekhov (JIRA) noreply at issues.asterisk.org
Sun May 10 05:49:25 CDT 2020


    [ https://issues.asterisk.org/jira/browse/ASTERISK-28880?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=250680#comment-250680 ] 

Dmitry Melekhov commented on ASTERISK-28880:
--------------------------------------------

Hello!

Here it is:

<--- XMPP received from 'jabber' --->
<iq to='asterisk at jabber/asterisk-xmpp' from='asterisk at jabber' type='get' id='rr-1589107363992-1445152047091157490-AMuS5sApk0vNaatZlV51XCssOjo=-42937410'><p
ing xmlns='urn:xmpp:ping'/></iq>
<------------->

Then :

[May 10 14:42:33] WARNING[9239] res_xmpp.c: [jabber] Socket read error

Because I have  timeout_action: kill  and there is no reply from res_xmpp...

Thank you!



> res_xmpp does not support ping
> ------------------------------
>
>                 Key: ASTERISK-28880
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28880
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_xmpp
>    Affects Versions: 13.33.0
>         Environment: Centos 6
>            Reporter: Dmitry Melekhov
>            Assignee: Dmitry Melekhov
>            Severity: Trivial
>
> We use ejabberd as server and I decided to try configure mod_ping as
>  mod_ping:
>     send_pings: true
>      ping_interval: 10
>      ping_ack_timeout: 15
>      timeout_action: kill
> And got these in logs:
> 2020-05-09 14:37:44.049 [info] <0.642.0>@ejabberd_c2s:process_terminated:294 (tls|<0.642.0>) Closing c2s session for asterisk at jabber/asterisk-xmpp: Connection failed: ping_timeout
> I also see that asterisk connection is lost, then it reconnects again and again.
> I guess that res_xmpp does not support ping, which , I think , have to fixed. 
> Other clients, for instance, psi, supports this.
> Thank you!



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list