I am new to SER. The configs were for load balancing across servers. I don't think it is hard to route between SERs...believe the documentation probably has some examples..check out http://www.iptel.org/ser/doc/seruser/seruser.html, the section on 'serving multiple domains'
ac
--- smy@addm.com wrote:
I've followed the example and started SER and proxydispatcher successfully, but when 2 IPphones are registered onto a SER server and 2 separate proxy server, the 2 phones can not call each other once this configuration is done. But the system works prior to my modification based on the information provided in the email, also, my configuration file is based on www.onsip.org
I only started to play around with Mediaproxy recently, thus require all the help I can get. Can someone teach me how to configure multiple proxy servers successfully?�I? Thanks.
Best Regards, Sam Yeung
Quoting a c lra101@yahoo.com:
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.
thank you ac
--config file-- # $Id$ # sample config file for dispatcher module #
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)
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
#servers 1 sip:192.168.0.2:5060 1 sip:192.168.0.3:5060
--error output--
ser -cf new2.cfg
0(7246) qm_malloc(0x812fc20, 128) called from cfg.lex: addstr(572) 0(7246) qm_malloc(0x812fc20, 128) returns
address
0x816402c frag. 0x8164014 (size=128) on 1 -th
hit
0(7246) loading module /usr/local/lib/ser/modules/maxfwd.so 0(7246) qm_malloc(0x812fc20, 16) called from sr_module.c: register_module(136) 0(7246) qm_malloc(0x812fc20, 16) returns
address
0x81640dc frag. 0x81640c4 (size=16) on 1 -th hit 0(7246) qm_malloc(0x812fc20, 128) called from cfg.lex: addstr(572) 0(7246) qm_malloc(0x812fc20, 128) returns
address
0x816411c frag. 0x8164104 (size=128) on 1 -th
hit
0(7246) loading module /usr/local/lib/ser/modules/sl.so 0(7246) qm_malloc(0x812fc20, 16) called from sr_module.c: register_module(136) 0(7246) qm_malloc(0x812fc20, 16) returns
address
0x81641cc frag. 0x81641b4 (size=16) on 1 -th hit 0(7246) qm_malloc(0x812fc20, 128) called from cfg.lex: addstr(572) 0(7246) qm_malloc(0x812fc20, 128) returns
address
0x816420c frag. 0x81641f4 (size=128) on 1 -th
hit
0(7246) loading module /usr/local/lib/ser/modules/dispatcher.so 0(7246) qm_malloc(0x812fc20, 16) called from sr_module.c: register_module(136) 0(7246) qm_malloc(0x812fc20, 16) returns
address
0x81642bc frag. 0x81642a4 (size=16) on 1 -th hit 0(7246) qm_malloc(0x812fc20, 128) called from cfg.lex: addstr(572) 0(7246) qm_malloc(0x812fc20, 128) returns
address
0x81642fc frag. 0x81642e4 (size=128) on 1 -th
hit
0(7246) qm_malloc(0x812fc20, 128) called from cfg.lex: addstr(572) 0(7246) qm_malloc(0x812fc20, 128) returns
address
0x81643ac frag. 0x8164394 (size=128) on 1 -th
hit
0(7246) qm_malloc(0x812fc20, 128) called from cfg.lex: addstr(572) 0(7246) qm_malloc(0x812fc20, 128) returns
address
0x816445c frag. 0x8164444 (size=128) on 1 -th
hit
0(7246) qm_malloc(0x812fc20, 13) called from modparam.c: set_mod_param_regex(88) 0(7246) qm_malloc(0x812fc20, 16) returns
address
0x816450c frag. 0x81644f4 (size=16) on 1 -th hit 0(7246) set_mod_param_regex: dispatcher matches module dispatcher 0(7246) set_mod_param_regex: found <list_file>
in
module dispatcher [/usr/local/lib/ser/modules/dispatcher.so] 0(7246) qm_free(0x812fc20, 0x816450c), called
from
modparam.c: set_mod_param_regex(154) 0(7246) qm_free: freeing frag. 0x81644f4
alloc'ed
from modparam.c: set_mod_param_regex(88) 0(7246) qm_malloc(0x812fc20, 128) called from cfg.lex: addstr(572) 0(7246) qm_malloc(0x812fc20, 128) returns
address
0x816454c frag. 0x8164534 (size=128) on 1 -th
hit
0(7246) qm_malloc(0x812fc20, 128) called from cfg.lex: addstr(572) 0(7246) qm_malloc(0x812fc20, 128) returns
address
0x81645fc frag. 0x81645e4 (size=128) on 1 -th
hit
0(7246) find_export: found <mf_process_maxfwd_header> in module maxfwd [/usr/local/lib/ser/modules/maxfwd.so] 0(7246) qm_malloc(0x812fc20, 32) called from route_struct.c: mk_action(89) 0(7246) qm_malloc(0x812fc20, 32) returns
address
0x81646ac frag. 0x8164694 (size=32) on 1 -th hit 0(7246) qm_malloc(0x812fc20, 20) called from route_struct.c: mk_elem(70) 0(7246) qm_malloc(0x812fc20, 20) returns
address
0x81646fc frag. 0x81646e4 (size=20) on 1 -th hit 0(7246) qm_malloc(0x812fc20, 20) called from route_struct.c: mk_exp(54)
=== message truncated ===
__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com