aboutsummaryrefslogtreecommitdiff
path: root/src/mod_sip.erl
diff options
context:
space:
mode:
authorEvgeniy Khramtsov <ekhramtsov@process-one.net>2014-06-03 21:18:02 +0400
committerEvgeniy Khramtsov <ekhramtsov@process-one.net>2014-06-03 21:18:30 +0400
commitc546ce24399b8f4a552b80ca0b33c4d47a3fa8bf (patch)
treec23bce39a77a3b7211de2aaabd847f423f941775 /src/mod_sip.erl
parentAlways enable STUN at compile time (diff)
Reply to pings
Diffstat (limited to 'src/mod_sip.erl')
-rw-r--r--src/mod_sip.erl2
1 files changed, 2 insertions, 0 deletions
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.