From b137ee3beb014e6b0cd4815624c1a0351a12ea36 Mon Sep 17 00:00:00 2001 From: Mickael Remond Date: Wed, 3 Feb 2016 11:26:14 +0100 Subject: [PATCH] Move to new dependencies for SIP and STUN --- mix.exs | 4 ++-- rebar.config | 4 ++-- src/ejabberd_stun.erl | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/mix.exs b/mix.exs index 668773333..1052e4c28 100644 --- a/mix.exs +++ b/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"}, diff --git a/rebar.config b/rebar.config index 0d413d249..ef89077f5 100644 --- a/rebar.config +++ b/rebar.config @@ -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"}}}, diff --git a/src/ejabberd_stun.erl b/src/ejabberd_stun.erl index f7ae19cd4..3c91117d1 100644 --- a/src/ejabberd_stun.erl +++ b/src/ejabberd_stun.erl @@ -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) ->