From c546ce24399b8f4a552b80ca0b33c4d47a3fa8bf Mon Sep 17 00:00:00 2001 From: Evgeniy Khramtsov Date: Tue, 3 Jun 2014 21:18:02 +0400 Subject: Reply to pings --- src/mod_sip.erl | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/mod_sip.erl') 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. -- cgit v1.2.3