summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorAlfred E. Heggestad <alfred.heggestad@gmail.com>2018-03-11 21:19:33 +0100
committerAlfred E. Heggestad <alfred.heggestad@gmail.com>2018-03-11 21:19:33 +0100
commit57bd2be20bcc484499c5d57a96ebaa8a85787735 (patch)
treedbff52ce64b3b8dedec0d57b159ecc0225cb9276 /modules
parent2287918ed654045917e8c2a691669969cd62d80f (diff)
b2bua: add handling of all inbound SIP requests
Diffstat (limited to 'modules')
-rw-r--r--modules/b2bua/b2bua.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/b2bua/b2bua.c b/modules/b2bua/b2bua.c
index 7386a29..5e2bd1a 100644
--- a/modules/b2bua/b2bua.c
+++ b/modules/b2bua/b2bua.c
@@ -211,10 +211,13 @@ static int module_init(void)
if (err)
return err;
- err = uag_event_register(ua_event_handler, 0);
+ err = uag_event_register(ua_event_handler, NULL);
if (err)
return err;
+ /* The inbound UA will handle all non-matching requests */
+ ua_set_catchall(ua_in, true);
+
debug("b2bua: module loaded\n");
return 0;