@@ -44,7 +44,7 @@ request_route {
if(is_present_hf("Expires")) {
xlog("Expires header field present\n");
if($(hdr(Expires){s.int}) > 0) {
- xlog("this is an registration\n");
+ xlog("this is a registration\n");
}
if($(hdr(Expires){s.int}) == 0) {
xlog("this is an unregistration\n");
@@ -53,7 +53,7 @@ request_route {
if(is_present_hf("Contact")) {
xlog("Contact header field present\n");
if ($(hdr(Contact){param.value,expires}{s.int}) > 0) {
if ($(ct{param.value,expires}{s.int}) == 0) {
@@ -75,7 +75,7 @@ if [ "$ret" -eq 0 ] ; then
grep "Contact header field present" $TMPFILE > /dev/null
ret=$?
if [ "$ret" -eq 0 ] ; then
- grep "this is an registration" $TMPFILE > /dev/null
+ grep "this is a registration" $TMPFILE > /dev/null
grep "this is an unregistration" $TMPFILE > /dev/null
@@ -33,7 +33,7 @@ UAS=5070
UAC=5080
-# add an registrar entry to the db;
+# add a registrar entry to the db;
$MYSQL "DELETE FROM location WHERE ruid=\"kamailio-unit-uid\""
$MYSQL "INSERT INTO location (ruid,username,contact,socket,user_agent,cseq,q) VALUES (\"kamailio-unit-uid\", \"foo\",\"sip:foo@localhost:$UAS\",\"udp:127.0.0.1:$UAS\",\"kamailio_test\",1,-1);"
@@ -30,7 +30,7 @@ fi ;
CFG="20.cfg"
TMPFILE=`mktemp -t kamailio-test.XXXXXXXXXX`
$MYSQL "INSERT INTO location (ruid, username,contact,socket,user_agent,cseq,q) VALUES (\"kamailio-test-uid\",\"foo\",\"sip:[email protected]\",\"udp:127.0.0.1:5060\",\"kamailio_test\",1,-1);"
sipp -sn uas -bg -i 127.0.0.1 -m 1 -f 10 -p 5060 > /dev/null 2>&1
@@ -1,7 +1,7 @@
#
# simple quick-start config script
# Please refer to the Core CookBook at http://www.kamailio.org/wiki/
-# for a explanation of possible statements, functions and parameters.
+# for an explanation of possible statements, functions and parameters.
# ----------- global configuration parameters ------------------------
CFG=21.cfg
$MYSQL "INSERT INTO subscriber (username, domain, password) VALUES (\"alice\",\"localhost\",\"alice\");"
$BIN -L $MOD_DIR -Y $RUN_DIR -P $PIDFILE -w . -f $CFG -E -e -dd > /dev/null 2>&1
@@ -46,7 +46,7 @@ fi ;
CFG=25.cfg
$MYSQL "insert into location (ruid,username,contact,socket,user_agent,cseq,q) values (\"ul-ruid-aa\",\"49721123456789\",\"sip:[email protected]\",\"udp:127.0.0.1:5060\",\"kamailio_test\",1,-1);"
$MYSQL "insert into location (ruid,username,contact,socket,user_agent,cseq,q) values (\"ul-ruid-bb\",\"49721123456788\",\"sip:[email protected]\",\"udp:127.0.0.1:5060\",\"kamailio_test\",1,-1);"
@@ -34,7 +34,7 @@ UAC=5080
IP="127.0.0.31"
MASK=27
$MYSQL "INSERT INTO location (username,contact,socket,user_agent,cseq,q) VALUES (\"foo\",\"sip:foo@localhost:$UAS\",\"udp:127.0.0.1:$UAS\",\"ser_test\",1,-1);"
$MYSQL "INSERT INTO trusted (src_ip, proto) VALUES (\"127.0.0.1\",\"any\");"
@@ -34,7 +34,7 @@ if ! (check_sipp && check_kamailio && check_module "db_mysql" && check_mysql); t
exit 0
fi ;
$MYSQL "INSERT INTO location (username,contact,socket,user_agent,cseq,q) VALUES (\"foo\",\"sip:[email protected]:$UAS\",\"udp:127.0.0.1:$UAS\",\"ser_test\",1,-1);"
# start
@@ -37,7 +37,7 @@ if ! (check_sipp && check_kamailio && check_module "db_mysql" && check_mysql); t
$MYSQL "INSERT INTO usr_preferences (uuid, attribute, type, value) VALUES (\"foobar\", \"679\", 0, \"foobar!!!!!\");"
$BIN -L $MOD_DIR -Y $RUN_DIR -P $PIDFILE -w . -f $CFG &> /dev/null
@@ -64,7 +64,7 @@ test_module_int()
return $ret
-# add an registrar entry to the db
+# add a registrar entry to the db
cp $CFG ${CFG}.bak
echo "loadmodule \"db_mysql/db_mysql.so\"" >>$CFG
@@ -5,7 +5,7 @@
# by Anca Vamanu <[email protected]>
# Please refer to the Core CookBook at http://www.kamailio.org/dokuwiki/doku.php