From: Evgeniy Khramtsov Date: Tue, 3 Jun 2014 17:18:02 +0000 (+0400) Subject: Reply to pings X-Git-Tag: 14.07~80 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c546ce24399b8f4a552b80ca0b33c4d47a3fa8bf;p=ejabberd Reply to pings --- diff --git a/src/mod_sip.erl b/src/mod_sip.erl index 9c50c3241..8f7dba9cb 100644 --- a/src/mod_sip.erl +++ b/src/mod_sip.erl @@ -68,6 +68,8 @@ message_in(#sip{type = request, method = M} = Req, SIPSock) Action -> request(Req, SIPSock, undefined, Action) end; +message_in(ping, _SIPSock) -> + pong; message_in(_, _) -> ok.