I have a SER Proxy that is routing calls to a SIP Redirector which then
informs SER as to which gateway to send call to.
GW1 GW2
| |
SERProxy------->SIP Redirector
|
IP Phone
I would like for SER to take a 302 redirect and then proxy the call to
the gateway per the redirect..however, SER is currently serving the
redirect to the IP Phone..which is unauthorized to access the gateway.
How do I configure SER to actually proxy the call per the redirect on
behalf of the IP Phone?
hi,
In case of MYSQL .. I am getting following ERROR when I try to open a SERWEB....
Warning: mysql_pconnect(): Access denied for user: 'ser@test' (Using password: YES) in /var/www/phplib/db_mysql.inc on line 73
Database error: pconnect(192.168.1.246, ser, $Password) failed.
MySQL Error: ()
Session halted.
ANY HELP ?
---------------------------------
Yahoo! Mail
Stay connected, organized, and protected. Take the tour
OS: Red Hat Enterprise Linux, Version 3
(Linux tsp500_d2.ct.ser.com 2.4.21-27.0.1.ELsmp #1 SMP
Mon Dec 20 18:47:45 EST 2004 i686 i686 i386 GNU/Linux)
SER Release: ser-0.8.14_linux_i386.tar.gz
SER Version: 0.8.14 (i386/linux)
SER Config:
<<ser.cfg>>
SER Debug 4:
<<ser.log>>
No additional information found /var/log/messages
MySQL Release: mysql-standard-4.1.11-pc-linux-gnu-i686.tar.gz
Problem:
Using MySQL for persistant data storage and receiving error when starting
SER:
"0(4099) ERROR: load_module: could not open module
</usr/local/lib/ser/modules/mysql.so>: libmysqlclient.so.10: cannot open
shared object file: No such file or directory"
MySQL contains the file "libmysqlclient.a" located in
/usr/local/mysql-standard-4.1.11-pc-linux-gnu-i686/lib.
Thanks,
Judy Banta
SER Solutions, Inc.
50 Washington St., 2nd Floor
Norwalk, CT 06854
203-854-8903
My questions is how can I trace the configure file error? When I loading a ser.cfg ,sometime tell me "ERROR: bad config file (2 errors)" ,But I don't know where is error line in configure file .How can I trace the error in the configure file?
Thanks advance
ZhaoMin
hi guys,
i read just "getting started" from onsip.org
i seach for infos about pstn-gw, bit they speak only about
cisco-hardware based solution. is the sems deprecated?
bg,
grigory fishilevich
ok. I got this working now..no core dumps.
But still having problems with dispatcher.
I have the following setup:
sip client 1 -> SER -> sip client2 & sip client3
when client1 makes a call, it seems like SER does not
receive the request. I don't see any logs written and
the call timesout. Seems like SER is not receiving the
requests but when I do a netstat, I see it listening
on 5060.
udp 0 0 castor:5060 *:*
Normal routing without dispatcher works fine {thru
client registrations}. Am I missing some configs here?
thank you
ac
ser.cfg file:
#
# $Id: ser.cfg,v 1.21.4.1 2003/11/10 15:35:15 andrei
Exp $
#
# simple quick-start config script
#
debug=9 # debug level (cmd line: -dddddddddd)
fork=no
log_stderror=yes # (cmd line: -E)
children=2
check_via=no # (cmd. line: -v)
dns=off # (cmd. line: -r)
rev_dns=off # (cmd. line: -R)
port=5060
# for more info: sip_router -h
# ------------------ module loading
----------------------------------
loadmodule "/usr/local/lib/ser/modules/maxfwd.so"
loadmodule "/usr/local/lib/ser/modules/sl.so"
#loadmodule "/usr/local/lib/ser/modules/tm.so"
loadmodule "/usr/local/lib/ser/modules/dispatcher.so"
# ----------------- setting module-specific parameters
---------------
# -- dispatcher params --
modparam("dispatcher", "list_file",
"/usr/local/etc/ser/dispatcher.list")
modparam("dispatcher", "force_dst", 1)
# main routing logic
route{
if ( !mf_process_maxfwd_header("10") )
{
sl_send_reply("483","To Many Hops");
drop();
};
ds_select_dst("1", "0");
forward(uri:host, uri:port);
# t_relay();
}
~
---dispatcher.list
# $Id$
# dispathcher destination sets
# gateways
1 sip:103@192.168.0.3:5060
1 sip:103@192.168.0.2:5060
from log :
0(0) DEBUG: init_mod: dispatcher
0(0) DISPATCHER: initializing ...
0(0) DISPATCHER:ds_load_list: dest [0/1/1]
<sip:103@192.168.0.3:5060>
0(0) DISPATCHER:ds_load_list: dest [0/1/2]
<sip:103@192.168.0.2:5060>
0(0) DISPATCHER:ds_load_list: found [1] dest sets
0(0) fixing /usr/local/lib/ser/modules/maxfwd.so
mf_process_maxfwd_header
0(0) fixing /usr/local/lib/ser/modules/sl.so
sl_send_reply
0(0) fixing /usr/local/lib/ser/modules/dispatcher.so
ds_select_dst
0(0) INFO: udp_init: SO_RCVBUF is initially 65535
0(0) DEBUG: udp_init: trying SO_RCVBUF: 131070
0(0) DEBUG: setting SO_RCVBUF;
set=131070,verify=131070
0(0) DEBUG: udp_init: trying SO_RCVBUF: 262140
0(0) DEBUG: setting SO_RCVBUF;
set=262140,verify=131070
0(0) DEBUG: setting SO_RCVBUF has no effect
0(0) DEBUG: udp_init: trying SO_RCVBUF: 133118
0(0) DEBUG: setting SO_RCVBUF;
set=133118,verify=131070
0(0) DEBUG: setting SO_RCVBUF has no effect
0(0) INFO: udp_init: SO_RCVBUF is finally 131070
0(0) WARNING: using only the first listen address (no
fork)
0(0) DBG: open_fifo_server: no fifo will be opened
0(0) init_unixsock_socket: No unix domain socket will
be opened
0(4567) DEBUG: init_mod_child (1): dispatcher
0(4567) DISPATCHER:init_child #1 / pid <4567>
1(4568) DEBUG: init_mod_child (-1): dispatcher
1(4568) DISPATCHER:init_child #-1 / pid <4568>
--- Andrei Pelinescu-Onciul <andrei(a)iptel.org> wrote:
> On May 11, 2005 at 20:18, a c <lra101(a)yahoo.com>
> wrote:
> > hello,
> >
> > I am getting a core dump when using the
> dispatcher
> > module..Could someone help? I am using
> >
>
http://lists.iptel.org/pipermail/serdev/2004-August/002592.html
> > to setup the config.
>
> Thanks, it's fixed on the latest cvs.
>
> (some minor on ser exit missing null pointer check)
>
> Andrei
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
I want to route RTP packets between 2 computers in the
same network through Mediaproxy. I know this may have
no sense, but it's just a test configuration.
The call use_media_proxy() seems to have no effect,
the RTP packets go directly from one computer to
another.
My guess is mediaproxy makes a test on the IPs (they
are 192.168.147.2 and 192.168.147.3) and refuses to
proxy the call.
Is mediaproxy working just between different networks
or it's an error in my configuration file?
Yahoo! Mail
Stay connected, organized, and protected. Take the tour:
http://tour.mail.yahoo.com/mailtour.html