Hello Everyone
Is it possible to have a OpenSER server in front of couple of Asterisk
servers, than all SIP connects to OpenSER than OpenSER sends it to Asterisk
boxes with load balancing?
Thank You
Hello,
I have downloaded and intalled ser v2 from http://www.iptel.org/ser_2_0_0_release_candidate_1
Followd all the instructions.
In Section Creating your first config.
Run /usr/local/sbin/sercmd and type ctl.listen to see if SER is running and listening. Type help to see other commands available.
I get an error.
[root@localhost serweb-0.9.6]# /usr/local/sbin/ser -f /usr/local/etc/ser/ser.cfg
Listening on
???????????? udp: 127.0.0.1 [127.0.0.1]:5060
???????????? udp: 192.168.1.117 [192.168.1.117]:5060
???????????? tcp: 127.0.0.1 [127.0.0.1]:5060
???????????? tcp: 192.168.1.117 [192.168.1.117]:5060
Aliases:
???????????? tcp: localhost:5060
???????????? tcp: localhost.localdomain:5060
???????????? udp: localhost:5060
???????????? udp: localhost.localdomain:5060
[root@localhost serweb-0.9.6]# /usr/local/sbin/sercmd
ERROR: connect_unix_sock: connect(/tmp/ser_ctl): No such file or directory [2]
can someone tell me why am i getting that error.
Roman
________________________________________________________________________
AOL now offers free email to everyone. Find out more about what's free from AOL at AOL.com.
Hi,
I have a problem with my SER. When the call is established an am
trying to disconnect the call, the second side doesn`t discoonect. The
call is still established. Does anybody know what is going on? Thanx.
cheers,
Daniel
hi all,
Currently i was trying to test SER under load conditions. At the load of
just 10 simultaneous calls, the following error occured.
"ERROR: forward_reply: no 2nd via found in reply"
Note: Sometimes the error occured after 100-110 call and sometime it goes
upto 1000 calls..
Can anybody help me in this issue....
regds,
Piyush Bansal
Guys,
Its stange, because I guess this module doesnt depend on anyone else. Am I
wrong? Im trying to run it in a i686 kernel. May this be the problem?
version: ser 0.8.11-r1 (i386/linux)
flags: STATS:Off, USE_IPV6, USE_TCP, DISABLE_NAGLE, DNS_IP_HACK, SHM_MEM,
SHM_MMAP, PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16,
MAX_URI_SIZE 1024, BUF_SIZE 65535
@(#) $Id: main.c,v 1.1 2006/11/22 15:56:27 malmeida Exp $
main.c compiled on 06:45:02 Aug 3 2007 with gcc-3.3 3.3
nocserver:/tools/ciscoenvcontrol# uname -a
Linux nocserver 2.6.15-23-686 #1 SMP PREEMPT Tue May 23 14:03:07 UTC 2006
i686 GNU/Linux
The ser.cfg file is the default, as you can see bellow:
# ----------- global configuration parameters ------------------------
debug=10 # debug level (cmd line: -dddddddddd)
fork=no
log_stderror=yes
check_via=no # (cmd. line: -v)
dns=no # (cmd. line: -r)
rev_dns=no # (cmd. line: -R)
port=5060
children=4
fifo="/tmp/ser_fifo"
listen=200.231.193.7
# ------------------ module loading ----------------------------------
# Uncomment this if you want to use SQL database
#loadmodule "/usr/local/lib/ser/modules/mysql.so"
loadmodule "/usr/local/lib/ser/modules/sl.so"
loadmodule "/usr/local/lib/ser/modules/tm.so"
loadmodule "/usr/local/lib/ser/modules/rr.so"
loadmodule "/usr/local/lib/ser/modules/maxfwd.so"
loadmodule "/usr/local/lib/ser/modules/usrloc.so"
loadmodule "/usr/local/lib/ser/modules/registrar.so"
loadmodule "/usr/local/lib/ser/modules/textops.so"
# Uncomment this if you want digest authentication
# mysql.so must be loaded !
#loadmodule "/usr/local/lib/ser/modules/auth.so"
#loadmodule "/usr/local/lib/ser/modules/auth_db.so"
# ----------------- setting module-specific parameters ---------------
# -- usrloc params --
modparam("usrloc", "db_mode", 0)
# -- rr params --
# add value to ;lr param to make some broken UAs happy
modparam("rr", "enable_full_lr", 1)
# ------------------------- request routing logic -------------------
# main routing logic
route{
# initial sanity checks -- messages with
# max_forwards==0, or excessively long requests
if (!mf_process_maxfwd_header("10")) {
sl_send_reply("483","Too Many Hops");
break;
};
if (len_gt( max_len )) {
sl_send_reply("513", "Message too big");
break;
};
# we record-route all messages -- to make sure that
# subsequent messages will go through our proxy; that's
# particularly good if upstream and downstream entities
# use different transport protocol
if (!method=="REGISTER") record_route();
# subsequent messages withing a dialog should take the
# path determined by record-routing
if (loose_route()) {
# mark routing logic in request
append_hf("P-hint: rr-enforced\r\n");
route(1);
break;
};
if (!uri==myself) {
# mark routing logic in request
append_hf("P-hint: outbound\r\n");
route(1);
break;
};
# if the request is for other domain use UsrLoc
# (in case, it does not work, use the following command
# with proper names and addresses in it)
if (uri==myself) {
if (method=="REGISTER") {
# Uncomment this if you want to use digest authentication
# if (!www_authorize("iptel.org", "subscriber")) {
# www_challenge("iptel.org", "0");
# break;
# };
save("location");
break;
};
lookup("aliases");
if (!uri==myself) {
append_hf("P-hint: outbound alias\r\n");
route(1);
break;
};
# native SIP destinations are handled using our USRLOC DB
if (!lookup("location")) {
sl_send_reply("404", "Not Found");
break;
};
};
append_hf("P-hint: usrloc applied\r\n");
route(1);
}
route[1]
{
# send it out now; use stateful forwarding as it works reliably
# even for UDP2TCP
if (!t_relay()) {
sl_reply_error();
};
}
Thanks in advance!
Fernando
________________________________________
From: serusers-bounces(a)lists.iptel.org
[mailto:serusers-bounces@lists.iptel.org] On Behalf Of Fernando Schmitt
Sent: Friday, August 03, 2007 9:17 PM
To: serusers(a)lists.iptel.org
Subject: [Serusers] Problem with TM initialialization
Guys,
Im receiving the following output when running ser:
0(5705) Aug 03 06:58:26 DEBUG: register_fifo_cmd: new command (sl_stats)
registered
0(5705) Aug 03 06:58:26 DEBUG: MD5 calculated:
103d8e7e9fc1a3538c1143a96b22bab4
0(5705) Aug 03 06:58:26 DEBUG: init_mod: tm
0(5705) Aug 03 06:58:26 TM - initializing...
0(5705) Aug 03 06:58:26 Call-ID initialization: '79dff3eb'
0(5705) Aug 03 06:58:26 DEBUG: register_fifo_cmd: new command (t_uac_dlg)
registered
0(5705) Aug 03 06:58:26 DEBUG: register_fifo_cmd: new command (t_hash)
registered
0(5705) Aug 03 06:58:26 DEBUG: lock_initialize: lock initialization started
0(5705) Aug 03 06:58:26 init_mod(): Error while initializing module tm
ERROR: error while initializing modules
Do you know why?
Thanks!
2007/8/6, Kirk McCalla <kirk.mccalla(a)gmail.com>:
>
> Hi Samuel this is what I did yesterday.
> I loaded media proxy on my ser server as well as my remote server.
> I commented the dispatcher part in the mediaproxy remote server ini file
> and I commented mediaproxy in the ini file that is loaded on the proxy
> server.
>
> I configiured the ini file in ser to look like this.
>
> ;start = yes
> ;socket = /var/run/proxydispatcher.sock
> ;listen=XX.XX.XX.XX PUBLIC IP ADDRESS
> ;group = ser
> ;defaultProxy =domain://domain.net
why do you have ; at the starting of these lines??
Try to remove and see if mediaproxydispather starts
#start = yes
> #socket = /var/run/mediaproxy.sock
> #group = openser
> #listen = None
> #allow = None
> #proxyIP = 10.0.0.1
> #portRange = 60000:65000
> #TOS = 0xb8
> #idleTimeout = 60
> #holdTimeout = 3600
> #forceClose = 0
>
> My DNS service records are set up to have
>
> _mediaproxy._UDP.domain.net 0 0 server.domain.com
I would use tcp as it is stated in the mediaproxy README file, it would
probably won't work if you setup DNS to redirect traffic to UDP transport...
I still cant connect behind a nat
>
> Am I supposed to see a dispatcher.sock file when media proxy is started on
> the ser server.
>
> Let me know if you can help please.
>
> Thanks.
>
>
>
> On 8/6/07, samuel <samu60(a)gmail.com> wrote:
> >
> > There's an init script in the mediaproxy sources (under boot directory)
> > which would launch mediaproxy dispatcher as stated in the config file.
> > Case you configure mediaproxy dispatcher to use domain names, be sure
> > DNS is properly configured.
> >
> > Hope it helps,
> > Samuel
> >
> > 2007/8/5, Kirk McCalla <kirk.mccalla(a)gmail.com >:
> > >
> > > One more thing how would I start the dispatcher. I am not sur that I
> > > have it started. I did a ps -ef|grep proxyldispatcher and ther ewas no Pid
> > > file.
> > >
> > > On 8/4/07, Kirk McCalla <kirk.mccalla(a)gmail.com> wrote:
> > > >
> > > > Hi I am trying to get media proxy to work with sip express router.
> > > >
> > > > I am using a pstn configuration that seems to work fine when I am
> > > > calling inside my network.
> > > > Now when I connect on e UA to an outside network and try to call
> > > > the inside network I get dead air.
> > > >
> > > > this is the error that I get
> > > > 6(21198) error: mediaproxy/sendMediaproxyCommand(): can't connect
> > > > to MediaProxy
> > > >
> > > > I have downloaded media proxy and set it up on ser as wekk as my
> > > > proxy server.
> > > > I have commented out the mediaproxy configs whenmedia server is
> > > > runninmg on ser and on the media server box I have commented out the
> > > > dispatched infrmation.
> > > >
> > > > I am using DSL so I have configiured them to listen on my public Ip
> > > > address.
> > > >
> > > > I have followed the install instructions and still cant get it to
> > > > work
> > > >
> > > > does any one have a working example of what the mediaproxy.ini file
> > > > should look like.
> > > >
> > > > ANd shed some light on where I mat be going wrong.
> > > >
> > > > Thanks
> > > >
> > >
> > >
> > > _______________________________________________
> > > Serusers mailing list
> > > Serusers(a)lists.iptel.org
> > > http://lists.iptel.org/mailman/listinfo/serusers
> > >
> > >
> >
>
Hi,
I was trying to get to the bug tracker (from www.iptel.org -> SER ...
bug tracker) ... but I get a "502 bad gateway" ... is it just me and
my shitty work internet connection or it is down? or what is the
correct link?
Cesc
Hi, everybody
I have a problem for installation of openseradmin. It must do: gem
install mysql
[root@opensersip openseradmin-0.3]# gem install mysql
Bulk updating Gem source index for: http://gems.rubyforge.org
Select which gem to install for your platform (i686-linux)
1. mysql 2.7.3 (mswin32)
2. mysql 2.7.1 (mswin32)
3. mysql 2.7 (ruby)
4. mysql 2.6 (ruby)
5. Skip this gem
6. Cancel installation
> 1
Successfully installed mysql-2.7.3-mswin32
Installing ri documentation for mysql-2.7.3-mswin32...
Installing RDoc documentation for mysql-2.7.3-mswin32...
While generating documentation for mysql-2.7.3-mswin32
... MESSAGE: Unhandled special: Special: type=17, text="<!-- $Id:
README.html,v 1.20 2006-12-20 05:31:52 tommy Exp $ -->"
... RDOC args: --op
/usr/local/lib/ruby/gems/1.8/doc/mysql-2.7.3-mswin32/rdoc --exclude ext
--main README --quiet ext README docs/README.html
(continuing with the rest of the installation)
[root@opensersip openseradmin-0.3]#
But I don't know which mysql I have to choose and I choose 1, but I
don't understand what means of this:
continuing with the rest of the installation
Do anybody know? Thank you very much!!!
Yin
Hi I am trying to get media proxy to work with sip express router.
I am using a pstn configuration that seems to work fine when I am calling
inside my network.
Now when I connect on e UA to an outside network and try to call the inside
network I get dead air.
this is the error that I get
6(21198) error: mediaproxy/sendMediaproxyCommand(): can't connect to
MediaProxy
I have downloaded media proxy and set it up on ser as wekk as my proxy
server.
I have commented out the mediaproxy configs whenmedia server is runninmg on
ser and on the media server box I have commented out the dispatched
infrmation.
I am using DSL so I have configiured them to listen on my public Ip address.
I have followed the install instructions and still cant get it to work
does any one have a working example of what the mediaproxy.ini file should
look like.
ANd shed some light on where I mat be going wrong.
Thanks