Hi all,
As I've mentioned previously that I'm trying to deploy 1 SER and multiple mediaproxies. Yet after reading the readme file from ag-projects (Thanks Greger, but I have read and tried this before) I'm still very confused in terms of configuration.
I've tried adding a dispatcher list as follow....
loadmodule "/usr/local/lib/ser/modules/mediaproxy.so" loadmodule "/usr/local/lib/ser/modules/dispatcher.so"
modparam("mediaproxy","natping_interval", 30) modparam("dispatcher", "list_file", "/etc/ser/dispatcher.list") modparam("dispatcher", "force_dst", 1) 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")
and the dispatcher list file as..... # $Id$ # dispatcher destination sets #
# proxies 2 sip:2xx.xx.xx.xx:5080 2 sip:6x.xx.xx.xx:5080 2 sip:8x.xx.xx.xx:5080
SER couldn't even start properly and displays errors with the dispatcher module (or something to that affect). Once I removed the dispatcher part of the config in the ser.cfg, everything works find again. Any help in pointing me to the right direction is greatly appreciated!!
Quoting "Greger V. Teigre" greger@teigre.com:
Hm, I think I'm the one who's confused. Have a misunderstood your setup? I thought you tried to loadbalance RTP across several mediaproxy servers (where you only need one SER, but multiple mediaproxies). When you talk about two SERs, do you want to load balance the messaging as well? In that case, there's a completely different complexity (check out carrier-grade/NAT/redundancy/scalability discussions on the list). But also (luckily) quite easy to set up two mediaproxies for two SERs (same setup on both), but you will then have four servers... g-)
peiyin wrote:
Sorry to ask this question again,a bit confused. but do I need a virtual IP to represent both SER? If not then which domain/IP will my sip phone register to?
Thanks, peiyin
On Tue, 2005-06-21 at 21:28, Greger V. Teigre wrote:
What about reading the mediaproxy README? ;-) And have a look at the ini example: http://mediaproxy.ag-projects.com/ g-)
smy@addm.com wrote:
Hi all,
I'm stuck with the same problem.... regarding proxydispathcher. I understand how to setup the DNS as mentioned by Greger, but how do I configure SER/proxydispatcher in terms of configuration file!?? I'm trying to deploy multple proxy servers in different geographical region, how should I go about doing so? Any help is really appriciated. PS: I can't seem to find much info regarding proxydispatcher, but I got mediaproxy working thanks to the getting started doc at www.onsip.org.