-
-
Save slyoldfox/e2c17fa8f4daf2900c9e0cef0341922f to your computer and use it in GitHub Desktop.
bticino patch for baresip
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/call.c b/src/call.c | |
index befc9f73..0d820dc3 100644 | |
--- a/src/call.c | |
+++ b/src/call.c | |
@@ -1138,8 +1140,12 @@ int call_connect(struct call *call, const struct pl *paddr) | |
/* If we are using asyncronous medianat like STUN/TURN, then | |
* wait until completed before sending the INVITE */ | |
- if (!call->acc->mnat) | |
+ if (!call->acc->mnat){ | |
+ struct sdp_session *sdp = call->sdp; | |
+ sdp_session_set_lattr(sdp, true, "DEVADDR", "20"); | |
+ printf("================ adding DEVADDR to outgoing call ===============\n"); | |
err = send_invite(call); | |
+ } | |
else | |
err = call_streams_alloc(call); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment