Skip to content

Commit

Permalink
test/unit: update unit test 27
Browse files Browse the repository at this point in the history
- change mi_fifo to jsonrpcs
- sh instead of bash
- reorder module load order to avoid sl error
  • Loading branch information
mslehto committed Jan 10, 2017
1 parent 25c4d4f commit ff6ce3b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion test/unit/27.sh
@@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh
# test publish and subscribe for presence

# Copyright (C) 2007 1&1 Internet AG
Expand Down
10 changes: 5 additions & 5 deletions test/unit/presence.cfg
@@ -1,6 +1,4 @@
#
# $Id$
#
# simple quick-start config script - Stand-alone presence server
#

Expand All @@ -20,15 +18,15 @@ rev_dns=no
# ------------------ module loading ----------------------------------

loadmodule "db_mysql/db_mysql.so"
loadmodule "sl/sl.so"
loadmodule "maxfwd/maxfwd.so"
loadmodule "textops/textops.so"
loadmodule "tm/tm.so"
loadmodule "sl/sl.so"
loadmodule "rr/rr.so"
loadmodule "presence/presence.so"
loadmodule "presence_xml/presence_xml.so"
loadmodule "avpops/avpops.so"
loadmodule "mi_fifo/mi_fifo.so"
loadmodule "jsonrpcs/jsonrpcs.so"

# ----------------- setting module-specific parameters ---------------

Expand All @@ -43,7 +41,9 @@ modparam("presence_xml", "force_active", 1)

modparam("presence", "server_address", "sip:10.10.10.10:5060")

modparam("mi_fifo", "fifo_name", "/tmp/kamailio_fifo_presence")
#odparam("mi_fifo", "fifo_name", "/tmp/kamailio_fifo_presence")
modparam("jsonrpcs", "transport", 2)
modparam("jsonrpcs", "fifo_name", "kamailio_rpc.fifo")

# ------------------------- request routing logic -------------------

Expand Down

0 comments on commit ff6ce3b

Please sign in to comment.