LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   does this forum support openser (https://www.linuxquestions.org/questions/linux-software-2/does-this-forum-support-openser-744929/)

rajesh84210 08-04-2009 01:31 AM

does this forum support openser
 
Dear Linux Experts,
I have a question about an opensource server,Openser(kamailio). I would like to know if i can post my questions on openser in this forum.As i see, this forum is very active, i would be glad if iam guided with the same.If you know any link regardin openser ,Kindly post it .

Thanks

lazlow 08-04-2009 01:57 AM

You can ask but you may be better served by going to the kamilio forums directly:

http://www.voipuser.org/forum_view_24.html


It also helps us a lot if you tell us what specific distro, arch, and version that you are running.

unSpawn 08-04-2009 06:50 AM

// Also note OpenSER resulted in the Kamilio fork but now both point to OpenSIPS.

rajesh84210 08-04-2009 11:22 PM

error while configuring imc for kamailio
 
Dear Experts,
Iam trying to comfigure imc(instant messsaging conference) in kamailio-1.5.On starting kamailio, i get the following error.I am posting the line in which the error is caused.I would also like to know how to create chat rooms, i.e. the procedure #create chatroom-0001..(iam not very clear on it). Any help is appreciated..


ERROR:core:pv_parse_spec: error searching pvar "fu"
Aug 5 09:49:07 [13991] ERROR:core:pv_parse_spec: wrong char [u/117] in [$fu] r-uri [$ru] msg [$rb]
] at [2 (0)]
Aug 5 09:49:07 [13991] ERROR:xlog:xdbg_fixup: wrong format[script: message from [$fu] r-uri [$ru] msg [$rb]
]
Aug 5 09:49:07 [13991] ERROR:core:fix_actions: fixing failed (code=-1) at cfg line 81
Aug 5 09:49:07 [13991] ERROR:core:main: failed to fix configuration with err code -1



Thanks

rajesh84210 08-07-2009 05:24 AM

error while configuring kamailio(openser) for imc
 
Dear Linux Experts,
I am in an attempt to configure imc(instant messaging conference) for kamailio. On starting kamailio, i get the following error.Kindly guide me through.
The error is "ERROR:core:pv_parse_spec: error searching pvar "fu"
ERROR:core:pv_parse_spec: wrong char [u/117] in [$fu] r-uri [$ru] msg [$rb]
] at [2 (0)]
ERROR:xlog:xdbg_fixup: wrong format[script: message from [$fu] r-uri [$ru] msg [$rb]
]
ERROR:core:fix_actions: fixing failed (code=-1) at cfg line 84
ERROR:core:main: failed to fix configuration with err code -1" . am postinf my config file below,

#
# IMCONF usage example
#
#


debug=5 # debug level (cmd line: -dddddddddd)
fork=no # don't fork
log_stderror=yes # log to stderr (cmd line: -E)


children=0 # number of children
check_via=no # (cmd. line: -v)
dns=off # (cmd. line: -r)
rev_dns=off # (cmd. line: -R)
port=5063

listen=192.168.64.75
alias="stefan.lo"

# ------------------ module loading ----------------------------------
mpath="/usr/local//lib/kamailio/modules/"

loadmodule "db_mysql.so"
loadmodule "textops.so"
loadmodule "usrloc.so"
loadmodule "maxfwd.so"
loadmodule "imc.so"
loadmodule "tm.so"
loadmodule "sl.so"
loadmodule "xlog.so"
loadmodule "mi_fifo.so"
loadmodule "registrar.so"


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

# -- mi_fifo params --

modparam("mi_fifo", "fifo_name", "/tmp/openser_fifo")

# -- usrloc params --

modparam("usrloc", "db_mode", 2)

# -- registrar params --

modparam("registrar", "default_expires", 120)

# -- registrar params --

modparam("usrloc", "db_mode", 0)

# -- imc params --
modparam("imc", "imc_cmd_start_char", "#")
modparam("imc|usrloc", "db_url", "mysql://openser:openserrw@192.168.64.75/openser")

# -- tm params --

modparam("tm", "fr_timer", 10 )
modparam("tm", "fr_inv_timer", 15 )
modparam("tm", "wt_timer", 10 )


route{
if ( !mf_process_maxfwd_header("10") )
{
sl_send_reply("483","To Many Hops");
drop();
};

# registrations -
if(is_method("REGISTER")) {
save("location");
exit;
}
##if(uri=~"sip:q*@")
if(uri=~"sip:chat-manager@192.168.64.75")

##the below line has been edited by Rajesh.
if(uri=~"sip:chat-manager@192.168.64.75")
{
# IMC - message
xdbg("script: message from [$fu ] r-uri [$ru ] msg [$rb]\n");
xdbg("script: message from [$fu ] r-uri [$ru ] msg [$rb]\n");

if(is_method("MESSAGE"))
{
log("MESSAGE received -> processing with imc\n");
sl_send_reply("200", "ok");
imc_manager();
exit;
} else {
sl_send_reply("404", "not found");
exit;
};
} else {
xdbg("script: message not for room, from [$fu ] r-uri [$ru] msg [$rb]\n");
if(!lookup("location"))
{
sl_send_reply("404", "not found");
exit;
}
t_relay();
#sl_send_reply("200", "ok");
exit();
};
}

pixellany 08-12-2009 02:18 PM

This looks like a duplicate, but I don't have time to check. I'm just going to merge it with your *very similar* previous thread.

Please don't start new threads when you already have on open on more or less the same topic.

rajesh84210 08-17-2009 01:49 AM

Dear All,

I would like to know the reason, due to which the following error is caused, so that i can r ectify my mistake.
Iam configuring IMC(Instant Messaging Conference) in kamailio.
The error messgae upon starting kamailio is


ERROR:core:pv_parse_spec: error searching pvar "fu"
Aug 17 12:16:28 [3038] ERROR:core:pv_parse_spec: wrong char [u/117] in [$fu ] chat0000 [$ru ] msg [$rb]
] at [2 (0)]
Aug 17 12:16:28 [3038] ERROR:xlog:xdbg_fixup: wrong format[script: message from [$fu ] chat0000 [$ru ] msg [$rb]
]


Thanks in advance:-)

rajesh84210 08-18-2009 12:41 AM

Dear Experts,
I would like to know the reason behind the errors, so that i can correct myself.iam getting the following error


ERROR:core:pv_parse_spec: error searching pvar "fu"
[12399] ERROR:core:pv_parse_spec: wrong char [u/117] in [$fu ] chat0000 [$ru ] msg [$rb]
at [2 (0)]
[12399] ERROR:xlog:xdbg_fixup: wrong format[script: message from [$fu ] chat0000 [$ru ] msg [$rb]
]
[12399] ERROR:core:fix_actions: fixing failed (code=-1) at cfg line 83
[12399] ERROR:core:main: failed to fix configuration with err code -1


Thnaks in advance;-)


All times are GMT -5. The time now is 02:25 AM.