[asterisk-bugs] [JIRA] (ASTERISK-28880) res_xmpp: Does not support urn:xmpp:ping causing session termination

Dmitry Melekhov (JIRA) noreply at issues.asterisk.org
Mon May 11 23:25:25 CDT 2020


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

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

Well, I think changing subject in this way "causing session termination" is wrong, this is not default ejabberd behavior.

Anyway, problem exists https://xmpp.org/extensions/xep-0199.html
If the pinged entity does not support the ping namespace, it MUST return a <service-unavailable/> error

Thank you!


> res_xmpp: Does not support urn:xmpp:ping causing session termination
> --------------------------------------------------------------------
>
>                 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: Unassigned
>            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