mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
Move to new dependencies for SIP and STUN
This commit is contained in:
parent
99b5c5712c
commit
b137ee3beb
4
mix.exs
4
mix.exs
@ -45,8 +45,8 @@ defmodule Ejabberd.Mixfile do
|
||||
{:fast_yaml, "~> 1.0"},
|
||||
{:p1_tls, git: "https://github.com/processone/tls", tag: "1.0.0"},
|
||||
{:p1_xml, git: "https://github.com/processone/xml", tag: "1.1.2"},
|
||||
{:p1_stun, git: "https://github.com/processone/stun", tag: "0.9.1"},
|
||||
{:esip, git: "https://github.com/processone/p1_sip", tag: "1.0.1"},
|
||||
{:stun, "~> 1.0"},
|
||||
{:esip, "~> 1.0"},
|
||||
{:jiffy, "~> 0.14.7"},
|
||||
{:p1_oauth2, "~> 0.6.1"},
|
||||
{:p1_xmlrpc, "~> 1.15"},
|
||||
|
@ -13,8 +13,8 @@
|
||||
{p1_tls, ".*", {git, "https://github.com/processone/tls", {tag, "1.0.0"}}},
|
||||
{stringprep, ".*", {git, "https://github.com/processone/stringprep", {tag, "1.0.2"}}},
|
||||
{p1_xml, ".*", {git, "https://github.com/processone/xml", {tag, "1.1.2"}}},
|
||||
{p1_stun, ".*", {git, "https://github.com/processone/stun", {tag, "0.9.1"}}},
|
||||
{esip, ".*", {git, "https://github.com/processone/p1_sip", "1.0.1"}},
|
||||
{stun, ".*", {git, "https://github.com/processone/stun", {tag, "1.0.0"}}},
|
||||
{esip, ".*", {git, "https://github.com/processone/esip", "1.0.1"}},
|
||||
{fast_yaml, ".*", {git, "https://github.com/processone/fast_yaml", {tag, "1.0.2"}}},
|
||||
{jiffy, ".*", {git, "https://github.com/davisp/jiffy", {tag, "0.14.7"}}},
|
||||
{p1_oauth2, ".*", {git, "https://github.com/processone/p1_oauth2.git", {tag, "0.6.1"}}},
|
||||
|
@ -38,11 +38,11 @@
|
||||
%%% API
|
||||
%%%===================================================================
|
||||
tcp_init(Socket, Opts) ->
|
||||
ejabberd:start_app(p1_stun),
|
||||
ejabberd:start_app(stun),
|
||||
stun:tcp_init(Socket, prepare_turn_opts(Opts)).
|
||||
|
||||
udp_init(Socket, Opts) ->
|
||||
ejabberd:start_app(p1_stun),
|
||||
ejabberd:start_app(stun),
|
||||
stun:udp_init(Socket, prepare_turn_opts(Opts)).
|
||||
|
||||
udp_recv(Socket, Addr, Port, Packet, Opts) ->
|
||||
|
Loading…
Reference in New Issue
Block a user