LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-04-2009, 01:31 AM   #1
rajesh84210
Member
 
Registered: Jul 2009
Posts: 53

Rep: Reputation: 15
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
 
Old 08-04-2009, 01:57 AM   #2
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
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.
 
Old 08-04-2009, 06:50 AM   #3
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594
// Also note OpenSER resulted in the Kamilio fork but now both point to OpenSIPS.
 
Old 08-04-2009, 11:22 PM   #4
rajesh84210
Member
 
Registered: Jul 2009
Posts: 53

Original Poster
Rep: Reputation: 15
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:corev_parse_spec: error searching pvar "fu"
Aug 5 09:49:07 [13991] ERROR:corev_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
 
Old 08-07-2009, 05:24 AM   #5
rajesh84210
Member
 
Registered: Jul 2009
Posts: 53

Original Poster
Rep: Reputation: 15
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:corev_parse_spec: error searching pvar "fu"
ERROR:corev_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://openserpenserrw@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();
};
}
 
Old 08-12-2009, 02:18 PM   #6
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
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.
 
Old 08-17-2009, 01:49 AM   #7
rajesh84210
Member
 
Registered: Jul 2009
Posts: 53

Original Poster
Rep: Reputation: 15
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:corev_parse_spec: error searching pvar "fu"
Aug 17 12:16:28 [3038] ERROR:corev_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:-)
 
Old 08-18-2009, 12:41 AM   #8
rajesh84210
Member
 
Registered: Jul 2009
Posts: 53

Original Poster
Rep: Reputation: 15
Dear Experts,
I would like to know the reason behind the errors, so that i can correct myself.iam getting the following error


ERROR:corev_parse_spec: error searching pvar "fu"
[12399] ERROR:corev_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;-)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
can i post questions about openser in this forum. rajesh84210 Linux - Server 1 08-04-2009 06:47 AM
LXer: Comparing Asterisk and OpenSER LXer Syndicated Linux News 0 06-11-2008 05:00 AM
No forum or support browser Linux - Distributions 3 09-04-2005 06:33 AM
forum support for agnula demudi g-string 3 LQ Suggestions & Feedback 2 11-23-2004 09:36 AM
SuSE Support Forum tetsuo Linux - Distributions 0 07-28-2003 12:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration