---------- Forwarded message ----------
From: Marcio <mrgalhan(a)gmail.com>
Date: 23/04/2008 21:06
Subject: Re: [OpenSER-Users] Install Perl Module
To: Mik Cheez <michael_bulk(a)wildgate.com>
Thanks Mik....
Actually....I had not tried....was following the step-by-step module
Perl....
But you don't set environment vars? PERLLDOPTS:, PERLCCOPTS: and
TYPEMAP:....
Marcio
2008/4/23, Mik Cheez <michael_bulk(a)wildgate.com>:
>
> All I've ever had to do is add the following in 'Makefile':
>
> include_modules?= perl
>
> I also take out the 'perl' entry from 'exclude_modules?= ...'
>
> Will that work, or is that part of what you've been doing?
>
> Mik
>
> Marcio wrote:
>
> > Hi...
> > Anybody could me help, to install perl module as is explained in 1.2
> > item of the variables enviroments would have put the output this
> > cmds....into " Makefile.deps -> CROSS_COMPILE ?=" <output cmd "perl
> > -MExtUtils::Embed -e ldopts">, <"perl -MExtUtils::Embed -e ccopts"> and
> > <"echo "`perl -MConfig -e 'print
> > $Config{installprivlib}'`/ExtUtils/typemap"> ???
> > or just put the output of these cmds into environments variables :
> > PERLLDOPTS:, PERLCCOPTS: and TYPEMAP: and run the Makefile.....???
> > Does anyone know how...?
> > Any hints.....??
> > thx...
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Users mailing list
> > Users(a)lists.openser.org
> > http://lists.openser.org/cgi-bin/mailman/listinfo/users
> >
>
Hi,
Does anybody have a new VMWare Image of OpenIMSCore server where OpenSER is also installed? At present I am using the new VMWare image provided by Dragos Vingarzan. I have tried to install OpenSER on top of that image, but unfortunately I failed.
If anybody has a working VMWare Image with OpenSER server then it will be highly appreciable if I get the link for it.
Best regards
Yeasin Habib
So.. I've been using OpenSER for about 2 years now and it's stillmostly a mystery to me. Just about everything I have done with it hasbeen my observation and reverse engineering.
Apart from the API specs on openser.org, which are NOT documentation, does any good documentation exist?
Are there any books on SER/OpenSER?
Where can I find good documentation with examples on the use of avpops? Why append_branch is required, and other mysteries?
Doug.
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
Dear All:
I have a question about parallel forking ,
In generally, UA send a INVITE message to Poxy server(openser), and build a "early dialog" when receives a 180 ring response from proxy,
Now, if UA receives two 180 ringing from Proxy Server that uses parallel foring , that means UA has two early dialogs in itself , is it right ?
thanks,
allan
DISCLAIMER:
Sample Disclaimer added in a VBScript.
Hello All,
I setup my Openser 1.3 and mysql. Authentication seems to work for only the
first phone that registers. I did a tcpdump from the server and the rest of
the phones get a 401 unauthorized. I can go into mysql and actually see the
correct username password in the database. I also double checked it on the
phones. Like I said... all three of the phones will register but only if
they are the first. Is it something obvious that I'm missing? Anyone else
run into this? If I do a "openserctl ul show" (with debug on) I get the
following output....
database engine 'MYSQL' loaded
Control engine 'FIFO' loaded
entering fifo_cmd ul_dump
Domain:: location table=512 records=1 max_slot=1
AOR:: 1024
Contact:: sip:1024@172.17.5.118:5060 Q=
Expires:: 2657
Callid:: d35614ae-9db18357-7bd13fe4(a)172.17.5.118
Cseq:: 2
User-agent:: PolycomSoundPointIP-SPIP_550-UA/3.0.0.0258
State:: CS_NEW
Flags:: 0
Cflag:: 0
Socket:: udp:198.236.66.129:5060
Methods:: 8063
FIFO command was:
:ul_dump:openser_receiver_22488
Is the "max_sot=1" a concern? If so I am at a loss for where to change it.
Thanks for any help,
Dave
--
David Poirier
Hello
Could you guys please give some help?
I've just compiled and installed OpenSER 1.3.1 with tls in a Debian 4.0 R3. The modules mysql and snmpstats are included but not used yet.
The openserctl commands is working smoothly in order to start, monitoring and stop.
But I still can't start openser on boot.
I have coppied the openser.init and openser.default files from source packaging directory to /etc/init.d/openser and /etc/default/openser respectively.
Then, after configuring /etc/default/openser file, I configured /etc/init.d/openser as executable.
So, when i call "/etc/init.d/openser start", got the output:
grep: /etc/openser/openser.cfg: No such file or directory
Starting openser: openser already running.
But, after type "/etc/init.d/openser status", I got:
Status of openser: openser is not running
And really it is not working.
So, how to get openser starting on boot? Is there another way?
---------------------------------
Abra sua conta no Yahoo! Mail, o único sem limite de espaço para armazenamento!
Hi all,
thanks to Iouri Kharon a new database access module was included in the trunk:
db_oracle - Database access for Oracle database
So if you use at the moment the db_unixodbc module via ODBC to access your
Oracle database, now is a good time to try this new one if the code and SQL
scheme work for you.
You find the documentation of the module at the usual place:
http://www.openser.org/docs/modules/devel/db_oracle.html
Best regards,
Henning Westerholt
--
Henning Westerholt - Development Consumer Products / DSL Core
1&1 Internet AG, Ernst-Frey-Str. 9, 76135 Karlsruhe, Germany
Hello,
Sorry for a novice question and equally sorry if it is already answered
elsewhere.
I have an OpenSER setup with Mediaproxy in same box. I am including the
configuration at the bottom. My question is does ALL media traffic (even
the media traffic between non NAT'ed clinets, and media traffic between
NAT'ed clients where both-way media traffic works perfectly fine without
a media proxy) passes through Mediaproxy dispatcher/server? Or only the
media traffic between (troubled) NAT'ed clients are passed through
MediaProxy server?
My goal is to have the OpenSER to provide registration where the actual
calls will be routed through an external Asterisk server. I do not want
media traffic passing through Mediaproxy unless I have a NAT related
media problems with a certain client. But apparently current set up is
forcing all media traffic to pass through the Mediaproxy server.
Any advise or suggestion will be greatly appreciated.
modparam("nathelper", "natping_interval", 0)
modparam("mediaproxy","natping_interval", 30
modparam("mediaproxy","mediaproxy_socket", "/var/run/mediaproxy.sock"
modparam("mediaproxy","sip_asymmetrics","/usr/local/etc/ser/sip-clients")
modparam("mediaproxy","rtp_asymmetrics","/usr/local/etc/ser/rtp-clients")
modparam("registrar", "nat_flag", 6)
route {
# -----------------------------------------------------------------
# Record Route Section
# -----------------------------------------------------------------
if (method=="INVITE" && client_nat_test("3")) {
# INSERT YOUR IP ADDRESS HERE
record_route_preset("192.0.2.13:5060;nat=yes");
} else if (method!="REGISTER") {
record_route();
};
# -----------------------------------------------------------------
# Call Tear Down Section
# -----------------------------------------------------------------
if (method=="BYE" || method=="CANCEL") {
end_media_session();
};
# -----------------------------------------------------------------
# Loose Route Section
# -----------------------------------------------------------------
if (loose_route()) {
if ((method=="INVITE" || method=="REFER") && !has_totag()) {
sl_send_reply("403", "Forbidden");
break;
};
if (method=="INVITE") {
if (!proxy_authorize("","subscriber")) {
proxy_challenge("","0");
break;
} else if (!check_from()) {
sl_send_reply("403", "Use From=ID");
break;
};
consume_credentials();
if (client_nat_test("3") || search("^Route:.*;nat=yes")) {
setflag(6)
use_media_proxy();
};
};
route(1);
break;
};
# -----------------------------------------------------------------
# Call Type Processing Section
# -----------------------------------------------------------------
if (uri!=myself) {
route(4);
route(1);
break;
};
if (method=="ACK") {
route(1);
break;
else if (method=="CANCEL") {
route(1);
break;
} else if (method=="INVITE") {
route(3);
break;
} else if (method=="REGISTER") {
route(2);
break;
};
lookup("aliases");
if (uri!=myself) {
route(4);
route(1);
break;
};
if (!lookup("location")) {
sl_send_reply("404", "User Not Found");
break;
};
route(1);
}
route[1] {
# -----------------------------------------------------------------
# Default Message Handler
# -----------------------------------------------------------------
t_on_reply("1");
if (!t_relay()) {
if (method="INVITE" || method=="ACK") {
end_media_session();
};
sl_reply_error();
};
}
route[2] {
# -----------------------------------------------------------------
# REGISTER Message Handler
# ----------------------------------------------------------------
sl_send_reply("100", "Trying");
if (!search("^Contact:[ ]*\*") && client_nat_test("7")) {
setflag(6);
fix_nated_register();
force_rport();
};
if (!www_authorize("","subscriber")) {
www_challenge("","0");
break;
};
if (!check_to()) {
sl_send_reply("401", "Unauthorized");
break;
};
consume_credentials();
if (!save("location")) {
sl_reply_error();
};
}
route[3] {
# -----------------------------------------------------------------
# INVITE Message Handler
# -----------------------------------------------------------------
if (client_nat_test("3")) {
setflag(7);
force_rport();
fix_nated_contact();
};
if (!proxy_authorize("","subscriber")) {
proxy_challenge("","0");
break;
} else if (!check_from()) {
sl_send_reply("403", "Use From=ID");
break;
};
consume_credentials();
lookup("aliases");
if (uri!=myself) {
route(4);
route(1);
break;
};
if (!lookup("location")) {
sl_send_reply("404", "User Not Found");
break;
};
route(4);
route(1);
}
route[4] {
# -----------------------------------------------------------------
# NAT Traversal Section
# -----------------------------------------------------------------
if (isflagset(6) || isflagset(7)) {
if (!isflagset(8)) {
setflag(8);
use_media_proxy();
};
};
}
onreply_route[1] {
if ((isflagset(6) || isflagset(7)) && (status=~"(180)|(183)|2[0-9][0-9]")) {
if (!search("^Content-Length:[ ]*0")) {
use_media_proxy();
};
};
if (client_nat_test("1")) {
fix_nated_contact();
};
}
Hello.
I'm getting weird memory problems with my SER distribution. I'm using a ser 0.9.7 with a Fedora Core release 6. I'm also using the LCR module to do some routing logics.
Since a few months i'm getting Memory errors, like these :
Apr 5 22:00:50 ser[21996]: ERROR: build_req_buf_from_sip_req: out of memory
Apr 5 22:00:50 ser[21996]: ERROR: forward_request: building failed
Apr 5 22:00:58 ser[21996]: ERROR: build_req_buf_from_sip_req: out of memory
Apr 5 22:00:58 ser[21996]: ERROR: print_uac_request: no pkg_mem
Apr 5 22:00:58 ser[21996]: ERROR: t_forward_nonack: failure to add branches
Apr 5 22:01:00 ser[22000]: ERROR: do_action: memory allocation failure
Apr 5 22:01:00 ser[22000]: ERROR:avpops:pushto_avp: SET_XXXX_T action failed
Apr 5 22:01:00 ser[22000]: ERROR: do_action: memory allocation failure
Apr 5 22:01:00 ser[22000]: next_gw(): ERROR: do_action failed with return value <-2>
Apr 5 22:01:10 ser[21996]: ERROR: do_action: memory allocation failure
Apr 5 22:01:10 ser[21996]: next_gw(): ERROR: do_action failed with return value <-2>
Apr 5 22:02:04 ser[22000]: ERROR: build_req_buf_from_sip_req: out of memory
Apr 5 22:02:04 ser[22000]: ERROR: print_uac_request: no pkg_mem
Apr 5 22:02:04 ser[22000]: ERROR: t_forward_nonack: failure to add branches
Apr 5 22:02:04 ser[22000]: ERROR: w_t_relay (failure mode): forwarding failed
Apr 5 22:07:23 ser[22000]: ERROR: build_res_buf_from_sip_res: out of mem
Apr 5 22:07:23 ser[22000]: ERROR: relay_reply: no mem for outbound reply buffer
Apr 5 22:07:23 ser[22000]: ERROR: build_res_buf_from_sip_req: out of memory ; needs 1105
It start to fail with a few calls to finally drop all calls with a total colapse of resources.
I'm not sure where the problem could be located. Can someone help me here ?
Among other things i do several AVP operations with the RURI to make some checks.
Thanks
Ricardo Martinez.-
Hi,
i want to change request type in openser
how i can do this??
i want to change REFER method to INFO
i can identified by this
is_method("REFER")
but how i can change it
Thanks & Regards,
Amit