[OpenSIPS-Users] CRITICAL:core:yyerror: parse error in config file
M.Abdulaziz
malduwais1 at ksu.edu.sa
Tue Nov 29 17:49:51 CET 2011
Hi Bogdan Thank you for helping.
*UAC* 192.168.1.69
*Opensips* 192.168.1.69:5060
When I run this sipp command
> sipp 192.168.1.69:5060 -sf uac-reg.xml -inf users.txt
* I got no reaction from opensips *
What is wrong? I follow every instruction that I know but with no success?
this is my configuration file
# ----------- global configuration parameters ------------------------
debug=3 # debug level (cmd line: -dddddddddd)
fork=yes log_stderror=no # (cmd line: -E)
children=8
# Uncomment these lines to enter debugging mode
#fork=no
#log_stderror=yes
#
listen=udp:192.168.1.69:5060
auto_aliases=no log_name="opensips-1.5.1-log" log_facility=LOG_LOCAL0
# ------------------ module loading ---------------------------------- #
set module path mpath="/usr/local/lib64/opensips/modules/"
# Uncomment this if you want to use SQL database
loadmodule "db_mysql.so"
loadmodule "sl.so"
loadmodule "usrloc.so"
loadmodule "registrar.so"
loadmodule "textops.so"
loadmodule "tm.so"
# ----------------- setting module-specific parameters ---------------
# -- usrloc params --
modparam("usrloc", "db_url",
"mysql://opensips:opensipsrw@localhost/opensips")
modparam("usrloc", "db_mode", 2)
modparam("usrloc", "hash_size", 12)
modparam("usrloc", "fetch_rows", 2500)
modparam("tm", "wt_timer", 2)
# ------------------------- request routing logic -------------------
# main routing logic //This is line number 54 that the error is referring to
route{
if(is_method("REGISTER")) {
save("location");
exit;
}
if(lookup("location"))
{
sl_send_reply("200", "ok");
}else {
sl_send_reply("404", "not found");
}
}
*& This is my
uac-reg.xml*******************************************************
-<scenario name="Basic Sipstone UAC">
-<send start_rtd="true" retrans="500">
</send>
<recv rtd="true" optional="true" response="400">
<action> <exec int_cmd="stop_call"/> </action>
</recv> <recv rtd="true" response="200" crlf="true"> </recv>
<ResponseTimeRepartition value="10, 50, 100, 150, 200, 500, 1000"/>
</scenario>
Hope someone can help I'm stuck without knowing where is the problem??
Thank you in advance
--
View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/CRITICAL-core-yyerror-parse-error-in-config-file-tp7037342p7043541.html
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
More information about the Users
mailing list