summaryrefslogtreecommitdiffstats
path: root/src/router
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2021-08-22 18:27:33 +0200
committerAndreas Eversberg <jolly@eversberg.eu>2021-09-17 16:33:29 +0200
commit80d911e5a649b4c9cf3bb506c766b1611a8e95aa (patch)
treee8b1b1f772beb029a2e25c1da71f085fdb9505f9 /src/router
parent185db11ace44e70f93f3f27cfa439d984da17a01 (diff)
Updated libs
Diffstat (limited to 'src/router')
-rw-r--r--src/router/call.c2
-rw-r--r--src/router/main.c5
2 files changed, 2 insertions, 5 deletions
diff --git a/src/router/call.c b/src/router/call.c
index ae0303d..eca0f75 100644
--- a/src/router/call.c
+++ b/src/router/call.c
@@ -387,7 +387,7 @@ static void proxy_send_sdp_answer(call_relation_t *relation, osmo_cc_msg_t *msg)
// if (!relation->codec_negotiated || msg->type == OSMO_CC_MSG_SETUP_CNF) { gibt einen crash, da codec vor der antwort schon gesetzt ist. warum sollten wir nach einer antwort denn nochmal den codec schicken?
if (!relation->codec_negotiated) {
- sdp = osmo_cc_helper_audio_accept(relation, relation->orig_codecs, receive_originator, relation->call->setup_msg, &relation->cc_session, &relation->codec, 0);
+ sdp = osmo_cc_helper_audio_accept(&relation->cc_ep->session_config, relation, relation->orig_codecs, receive_originator, relation->call->setup_msg, &relation->cc_session, &relation->codec, 0);
if (sdp) {
relation->codec_negotiated = 1;
PDEBUG(DROUTER, DEBUG_DEBUG, "Sending SDP answer to originator with supported codecs.\n");
diff --git a/src/router/main.c b/src/router/main.c
index 64d7475..91bfdc6 100644
--- a/src/router/main.c
+++ b/src/router/main.c
@@ -54,10 +54,7 @@ static void print_help()
printf(" --config [~/]<path to config file>\n");
printf(" Give a config file to use. If it starts with '~/', path is at home dir.\n");
printf(" Each line in config file is one option, '-' or '--' must not be given!\n");
- printf(" -v --verbose <level> | <level>,<category>[,<category>[,...]] | list\n");
- printf(" Use 'list' to get a list of all levels and categories\n");
- printf(" Verbose level: digit of debug level (default = '%d')\n", debuglevel);
- printf(" Verbose level+category: level digit followed by one or more categories\n");
+ debug_print_help();
printf(" -r --routing-script <script>\n");
printf(" Define the script/executable that is executed to perform routing\n");
printf(" decision for each call. (default = %s)\n", routing_script);