Hi!
I try the new perl module, but openser does not start:
openser[28662]: perl: Setting lib path:
'/home/darilion/software/openser-cvs/sip-server/modules/perl/lib/perl/OpenSER.pm'
openser[28662]: Error loading perl file "/etc/openser/myperl.pl".
openser[28662]: init_mod(): Error while initializing module perl
my perl related config:
loadmodule "/usr/lib/openser/modules/sl.so"
loadmodule "/usr/lib/openser/modules/tm.so"
loadmodule "/usr/lib/openser/modules/rr.so"
loadmodule "/usr/lib/openser/modules/maxfwd.so"
loadmodule "/usr/lib/openser/modules/usrloc.so"
loadmodule "/usr/lib/openser/modules/registrar.so"
loadmodule "/usr/lib/openser/modules/textops.so"
loadmodule "/usr/lib/openser/modules/perl.so"
...
modparam("perl", "filename", "/etc/openser/myperl.pl")
modparam("perl", "modpath",
"/home/darilion/software/openser-cvs/sip-server/modules/perl/lib/perl/OpenSER.pm")
/etc/openser/myperl.pl is identical to
modules/perl/doc/samples/messagedump.pl
Any hints what the problem is?
thanks
klaus
--
Klaus Darilion
nic.at
Hi all,
I am struggling with xmlrpc module. It is loaded already but ser reports
that do not know create_via() during parsing ser.cfg.
Could anybody show me the right way to configure xmlrpc.so properly?
BR,
Libor
Hi
I have a field called "phone_number" in subscriber,and would append to rewriteuser().
But rewriteuser() type is string. So have a problem.
problem:
I used AVpops.
modparam("avpops","avp_aliases","phone=i:660")
modparam("avpops","db_scheme","phone_scheme:table=subscriber;value_col=phone_number;value_type=string")
avp_db_load("$ruri","$phone/$phone_scheme");
rewriteuser("$phone");
result is error. because rewriteuser(string).
and i want if value of "$phone" is 4761
the result is 4761@domain
How should I use rewriteuser()
Thank you!!
Chungyu
2006/12/13
Hi!
I wonder how the OpenSER.pm is handled during installation. Is it copied
into a certain directory (e.g. /usr/lib/openser/modules/) or do I have
to do it manually?
regards
klaus
--
Klaus Darilion
nic.at
Hello,
see is_avp_set() from avpops modules:
http://www.openser.org/docs/modules/1.2.x/avpops.html#AEN594
Cheers,
Daniel
PS. please start a new thread on mailing list if you have questions not
related to the subject of the message you reply
On 12/13/06 14:29, Fernando Freitas(Brastel.com.br) wrote:
> Hi,
>
> I need to check if an AVP is blank, how can I do it?
>
> This is what I have in my script:
>
> avp_write("tU","$avp(tmp)");
>
>
> I need to check if the content of this tmp AVP is blank, how to check this??
>
> What I need is to check if the TO Username from SIP URI is blank if so, I
> need to push the To URI into the To URI Username.
>
> Thanks,
>
> Fernando
>
>
> _______________________________________________
> Users mailing list
> Users(a)openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
>
>
Hello,
this might be useful for many people around, and the input from others
would improve the content ... On the OpenSER Web Forum was posted a
small tutorial about OpenSER modular installation, courtesy of Alistair
Doswald:
http://www.voipuser.org/forum_topic_8040.html
Cheers,
Daniel
Hi, I try to configure openser with the dispatcher module like only ponit of contact and load balancer, it is:
Register
UAC ---Register--> LB ---Register--> proxy
UAC <--200 ok----- LB <--200 ok----- proxy
INVITE
UAC1 ---Invite--> LB ---Invite--> proxy
UAC2 <--Invite--- LB <--Invite--- proxy
My load balancer works ok, my question is: May I have a problem with the transactions in the load balacer?
In my proxy i use openser, then in my openser.cfg I make t_relay("IPLoadBalancer:5060")
and the openser.cfg in LB:
if ( !is_method("REGISTER") ){
record_route();
};
if (loose_route()) {
if (search("Path")) {
route(1);
};
if (!add_path_received()) {
sl_send_reply("503", "Internal Path Error");
exit;
};
route(1);
};
if (!uri==myself) {
route(1);
}
if ( !is_method("REGISTER") ){
if (search("Path")) {
route(1);
};
if (!add_path_received()) {
sl_send_reply("503", "Internal Path Error");
};
};
ds_select_domain("2", "0");
t_on_failure("1");
route(1);
}
route[1] {
# send it out now; use stateful forwarding as it works reliably
# even for UDP2TCP
if (!t_relay()) {
sl_reply_error();
};
exit;
}
Thanks in advance.
---------------------------------
Do You Yahoo!? La mejor conexión a Internet y 2GB extra a tu correo por $100 al mes. http://net.yahoo.com.mx
Hi,
I try to build a presence infrastructure based on OpenSER. Do you know
any free RLS and XCAP Clients I can use for this purpose?
I hope this is not too much off-topic.
Thanks in advance!
regards,
Reinhold
HI,
I've running ser with mysql and radius. My user are stored in mysql db. my
users are able to do the auth againg radius. I'm looking how to setup ip
based auth. any kind of doc or link.
thanks
arun