sip-bridge-mx

A WIP Bridge between SIP over Websocket+Webrtc and MatrixRTC (Webrtc via Matrix signaling)
git clone git://archive.git.mtrnord.blog/MTRNord/sip-bridge-mx.git
Log | Files | Refs | README | LICENSE

commit b80061199d2c39c1c57323705c507682f5dc0a50
parent 56da664266cd655931bf8297ca934a951de3da5f
Author: MTRNord <mtrnord1@gmail.com>
Date:   Sun, 20 Aug 2023 23:21:35 +0200

Pin serde due to https://github.com/serde-rs/serde/issues/2538

Diffstat:
MCargo.lock | 55++++++++++++++++++++++++++++---------------------------
MCargo.toml | 2++
2 files changed, 30 insertions(+), 27 deletions(-)

diff --git a/Cargo.lock b/Cargo.lock @@ -664,9 +664,9 @@ dependencies = [ [[package]] name = "cc" -version = "1.0.82" +version = "1.0.83" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "305fe645edc1442a0fa8b6726ba61d422798d37a52e12eaecf4b022ebbb88f01" +checksum = "f1174fb0b6ec23863f8b971027804a42614e347eafb0a95bf0b12cdae21fc4d0" dependencies = [ "libc", ] @@ -1164,9 +1164,9 @@ dependencies = [ [[package]] name = "deranged" -version = "0.3.7" +version = "0.3.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7684a49fb1af197853ef7b2ee694bc1f5b4179556f1e5710e1760c5db6f5e929" +checksum = "f2696e8a945f658fd14dc3b87242e6b80cd0f36ff04ea560fa39082368847946" [[package]] name = "digest" @@ -1857,7 +1857,7 @@ dependencies = [ [[package]] name = "interceptor" version = "0.9.0" -source = "git+https://github.com/MTRNord/webrtc.git?branch=MTRNord/sip-asterisk#d71322d44cff4478ff753fb920554f8dad93308f" +source = "git+https://github.com/MTRNord/webrtc.git?branch=MTRNord/sip-asterisk#7e0635af877db94f69b7b192d8ac508bfb37c463" dependencies = [ "async-trait", "bytes", @@ -3011,7 +3011,7 @@ dependencies = [ [[package]] name = "rtcp" version = "0.9.0" -source = "git+https://github.com/MTRNord/webrtc.git?branch=MTRNord/sip-asterisk#d71322d44cff4478ff753fb920554f8dad93308f" +source = "git+https://github.com/MTRNord/webrtc.git?branch=MTRNord/sip-asterisk#7e0635af877db94f69b7b192d8ac508bfb37c463" dependencies = [ "bytes", "thiserror", @@ -3021,7 +3021,7 @@ dependencies = [ [[package]] name = "rtp" version = "0.8.0" -source = "git+https://github.com/MTRNord/webrtc.git?branch=MTRNord/sip-asterisk#d71322d44cff4478ff753fb920554f8dad93308f" +source = "git+https://github.com/MTRNord/webrtc.git?branch=MTRNord/sip-asterisk#7e0635af877db94f69b7b192d8ac508bfb37c463" dependencies = [ "bytes", "rand", @@ -3290,7 +3290,7 @@ dependencies = [ [[package]] name = "sdp" version = "0.5.3" -source = "git+https://github.com/MTRNord/webrtc.git?branch=MTRNord/sip-asterisk#d71322d44cff4478ff753fb920554f8dad93308f" +source = "git+https://github.com/MTRNord/webrtc.git?branch=MTRNord/sip-asterisk#7e0635af877db94f69b7b192d8ac508bfb37c463" dependencies = [ "rand", "substring", @@ -3353,9 +3353,9 @@ checksum = "b0293b4b29daaf487284529cc2f5675b8e57c61f70167ba415a463651fd6a918" [[package]] name = "serde" -version = "1.0.183" +version = "1.0.171" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32ac8da02677876d532745a130fc9d8e6edfa81a269b107c5b00829b91d8eb3c" +checksum = "30e27d1e4fd7659406c492fd6cfaf2066ba8773de45ca75e855590f856dc34a9" dependencies = [ "serde_derive", ] @@ -3371,9 +3371,9 @@ dependencies = [ [[package]] name = "serde_derive" -version = "1.0.183" +version = "1.0.171" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aafe972d60b0b9bee71a91b92fee2d4fb3c9d7e8f6b179aa99f27203d99a4816" +checksum = "389894603bd18c46fa56231694f8d827779c0951a667087194cf9de94ed24682" dependencies = [ "proc-macro2", "quote", @@ -3526,6 +3526,7 @@ dependencies = [ "matrix-sdk", "rsip", "secrecy", + "serde", "serde_json", "tokio", "tokio-rustls", @@ -3621,7 +3622,7 @@ checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" [[package]] name = "stun" version = "0.4.4" -source = "git+https://github.com/MTRNord/webrtc.git?branch=MTRNord/sip-asterisk#d71322d44cff4478ff753fb920554f8dad93308f" +source = "git+https://github.com/MTRNord/webrtc.git?branch=MTRNord/sip-asterisk#7e0635af877db94f69b7b192d8ac508bfb37c463" dependencies = [ "base64 0.21.2", "crc", @@ -3730,9 +3731,9 @@ dependencies = [ [[package]] name = "time" -version = "0.3.25" +version = "0.3.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b0fdd63d58b18d663fbdf70e049f00a22c8e42be082203be7f26589213cd75ea" +checksum = "a79d09ac6b08c1ab3906a2f7cc2e81a0e27c7ae89c63812df75e52bef0751e07" dependencies = [ "deranged", "itoa", @@ -3749,9 +3750,9 @@ checksum = "7300fbefb4dadc1af235a9cef3737cea692a9d97e1b9cbcd4ebdae6f8868e6fb" [[package]] name = "time-macros" -version = "0.2.11" +version = "0.2.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eb71511c991639bb078fd5bf97757e03914361c48100d52878b8e52b46fb92cd" +checksum = "75c65469ed6b3a4809d987a41eb1dc918e9bc1d92211cbad7ae82931846f7451" dependencies = [ "time-core", ] @@ -3954,7 +3955,7 @@ checksum = "3528ecfd12c466c6f163363caf2d02a71161dd5e1cc6ae7b34207ea2d42d81ed" [[package]] name = "turn" version = "0.6.1" -source = "git+https://github.com/MTRNord/webrtc.git?branch=MTRNord/sip-asterisk#d71322d44cff4478ff753fb920554f8dad93308f" +source = "git+https://github.com/MTRNord/webrtc.git?branch=MTRNord/sip-asterisk#7e0635af877db94f69b7b192d8ac508bfb37c463" dependencies = [ "async-trait", "base64 0.21.2", @@ -4294,7 +4295,7 @@ checksum = "14247bb57be4f377dfb94c72830b8ce8fc6beac03cf4bf7b9732eadd414123fc" [[package]] name = "webrtc" version = "0.8.0" -source = "git+https://github.com/MTRNord/webrtc.git?branch=MTRNord/sip-asterisk#d71322d44cff4478ff753fb920554f8dad93308f" +source = "git+https://github.com/MTRNord/webrtc.git?branch=MTRNord/sip-asterisk#7e0635af877db94f69b7b192d8ac508bfb37c463" dependencies = [ "arc-swap", "async-trait", @@ -4336,7 +4337,7 @@ dependencies = [ [[package]] name = "webrtc-data" version = "0.7.0" -source = "git+https://github.com/MTRNord/webrtc.git?branch=MTRNord/sip-asterisk#d71322d44cff4478ff753fb920554f8dad93308f" +source = "git+https://github.com/MTRNord/webrtc.git?branch=MTRNord/sip-asterisk#7e0635af877db94f69b7b192d8ac508bfb37c463" dependencies = [ "bytes", "log", @@ -4349,7 +4350,7 @@ dependencies = [ [[package]] name = "webrtc-dtls" version = "0.7.2" -source = "git+https://github.com/MTRNord/webrtc.git?branch=MTRNord/sip-asterisk#d71322d44cff4478ff753fb920554f8dad93308f" +source = "git+https://github.com/MTRNord/webrtc.git?branch=MTRNord/sip-asterisk#7e0635af877db94f69b7b192d8ac508bfb37c463" dependencies = [ "aes 0.6.0", "aes-gcm", @@ -4385,7 +4386,7 @@ dependencies = [ [[package]] name = "webrtc-ice" version = "0.9.1" -source = "git+https://github.com/MTRNord/webrtc.git?branch=MTRNord/sip-asterisk#d71322d44cff4478ff753fb920554f8dad93308f" +source = "git+https://github.com/MTRNord/webrtc.git?branch=MTRNord/sip-asterisk#7e0635af877db94f69b7b192d8ac508bfb37c463" dependencies = [ "arc-swap", "async-trait", @@ -4408,7 +4409,7 @@ dependencies = [ [[package]] name = "webrtc-mdns" version = "0.5.2" -source = "git+https://github.com/MTRNord/webrtc.git?branch=MTRNord/sip-asterisk#d71322d44cff4478ff753fb920554f8dad93308f" +source = "git+https://github.com/MTRNord/webrtc.git?branch=MTRNord/sip-asterisk#7e0635af877db94f69b7b192d8ac508bfb37c463" dependencies = [ "log", "socket2 0.4.9", @@ -4420,7 +4421,7 @@ dependencies = [ [[package]] name = "webrtc-media" version = "0.6.1" -source = "git+https://github.com/MTRNord/webrtc.git?branch=MTRNord/sip-asterisk#d71322d44cff4478ff753fb920554f8dad93308f" +source = "git+https://github.com/MTRNord/webrtc.git?branch=MTRNord/sip-asterisk#7e0635af877db94f69b7b192d8ac508bfb37c463" dependencies = [ "byteorder", "bytes", @@ -4432,7 +4433,7 @@ dependencies = [ [[package]] name = "webrtc-sctp" version = "0.8.0" -source = "git+https://github.com/MTRNord/webrtc.git?branch=MTRNord/sip-asterisk#d71322d44cff4478ff753fb920554f8dad93308f" +source = "git+https://github.com/MTRNord/webrtc.git?branch=MTRNord/sip-asterisk#7e0635af877db94f69b7b192d8ac508bfb37c463" dependencies = [ "arc-swap", "async-trait", @@ -4448,7 +4449,7 @@ dependencies = [ [[package]] name = "webrtc-srtp" version = "0.10.0" -source = "git+https://github.com/MTRNord/webrtc.git?branch=MTRNord/sip-asterisk#d71322d44cff4478ff753fb920554f8dad93308f" +source = "git+https://github.com/MTRNord/webrtc.git?branch=MTRNord/sip-asterisk#7e0635af877db94f69b7b192d8ac508bfb37c463" dependencies = [ "aead 0.4.3", "aes 0.7.5", @@ -4470,7 +4471,7 @@ dependencies = [ [[package]] name = "webrtc-util" version = "0.7.0" -source = "git+https://github.com/MTRNord/webrtc.git?branch=MTRNord/sip-asterisk#d71322d44cff4478ff753fb920554f8dad93308f" +source = "git+https://github.com/MTRNord/webrtc.git?branch=MTRNord/sip-asterisk#7e0635af877db94f69b7b192d8ac508bfb37c463" dependencies = [ "async-trait", "bitflags 1.3.2", diff --git a/Cargo.toml b/Cargo.toml @@ -32,3 +32,5 @@ tracing-subscriber = "0.3.17" uuid = { version = "1.4.1", features = ["v4"] } webpki-roots = "0.25.2" webrtc = { git = "https://github.com/MTRNord/webrtc.git", branch = "MTRNord/sip-asterisk" } +# https://github.com/serde-rs/serde/issues/2538 +serde = { version = "=1.0.171" }