Hi everyone,
I'm currently stuck at load balancing 2 ser with mediaproxy. I've setup the 2 DNS record in my master db.abc with
............
ser1.abc.net.my. IN A yy.yy.yy ser2.abc.net.my. IN A zz.zz.zz
_mediaproxy._tcp.abc.net.my. ......... ser1.abc.net.my. _mediaproxy._tcp.abc.net.my. ......... ser2.abc.net.my.
Both domains are pingable.
What should be my next step? my present sip phones are all pointed directly to ser1.xx.xx.xx and ser1 is connected to remote db A.
Do i still need to setup a virtual IP with heartbeat? What will be my sip setting at my sip phone? Also, what will be in my /etc/profile (export SIP_DOMAIN=??)
Thanks in advance.
peiyin
You just make sure that you use proxydispatcher (and not mediaproxy directly from mediaproxy SER module). Then your users need to have @abc.net.my as their domain and proxydispatcher will use DNS to lookup the correct mediaproxy server. g-)
peiyin wrote:
Hi everyone,
I'm currently stuck at load balancing 2 ser with mediaproxy. I've setup the 2 DNS record in my master db.abc with
............
ser1.abc.net.my. IN A yy.yy.yy ser2.abc.net.my. IN A zz.zz.zz
_mediaproxy._tcp.abc.net.my. ......... ser1.abc.net.my. _mediaproxy._tcp.abc.net.my. ......... ser2.abc.net.my.
Both domains are pingable.
What should be my next step? my present sip phones are all pointed directly to ser1.xx.xx.xx and ser1 is connected to remote db A.
Do i still need to setup a virtual IP with heartbeat? What will be my sip setting at my sip phone? Also, what will be in my /etc/profile (export SIP_DOMAIN=??)
Thanks in advance.
peiyin
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
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.
Quoting "Greger V. Teigre" greger@teigre.com:
You just make sure that you use proxydispatcher (and not mediaproxy directly from mediaproxy SER module). Then your users need to have @abc.net.my as their domain and proxydispatcher will use DNS to lookup the correct mediaproxy server. g-)
peiyin wrote:
Hi everyone,
I'm currently stuck at load balancing 2 ser with mediaproxy. I've setup the 2 DNS record in my master db.abc with
............
ser1.abc.net.my. IN A yy.yy.yy ser2.abc.net.my. IN A zz.zz.zz
_mediaproxy._tcp.abc.net.my. ......... ser1.abc.net.my. _mediaproxy._tcp.abc.net.my. ......... ser2.abc.net.my.
Both domains are pingable.
What should be my next step? my present sip phones are all pointed directly to ser1.xx.xx.xx and ser1 is connected to remote db A.
Do i still need to setup a virtual IP with heartbeat? What will be my sip setting at my sip phone? Also, what will be in my /etc/profile (export SIP_DOMAIN=??)
Thanks in advance.
peiyin
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
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.
Quoting "Greger V. Teigre" greger@teigre.com:
You just make sure that you use proxydispatcher (and not mediaproxy directly from mediaproxy SER module). Then your users need to have @abc.net.my as their domain and proxydispatcher will use DNS to lookup the correct mediaproxy server. g-)
peiyin wrote:
Hi everyone,
I'm currently stuck at load balancing 2 ser with mediaproxy. I've setup the 2 DNS record in my master db.abc with
............
ser1.abc.net.my. IN A yy.yy.yy ser2.abc.net.my. IN A zz.zz.zz
_mediaproxy._tcp.abc.net.my. ......... ser1.abc.net.my. _mediaproxy._tcp.abc.net.my. ......... ser2.abc.net.my.
Both domains are pingable.
What should be my next step? my present sip phones are all pointed directly to ser1.xx.xx.xx and ser1 is connected to remote db A.
Do i still need to setup a virtual IP with heartbeat? What will be my sip setting at my sip phone? Also, what will be in my /etc/profile (export SIP_DOMAIN=??)
Thanks in advance.
peiyin
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
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.
Quoting "Greger V. Teigre" greger@teigre.com:
You just make sure that you use proxydispatcher (and not mediaproxy directly from mediaproxy SER module). Then your users need to have @abc.net.my as their domain and proxydispatcher will use DNS to lookup the correct mediaproxy server. g-)
peiyin wrote:
Hi everyone,
I'm currently stuck at load balancing 2 ser with mediaproxy. I've setup the 2 DNS record in my master db.abc with
............
ser1.abc.net.my. IN A yy.yy.yy ser2.abc.net.my. IN A zz.zz.zz
_mediaproxy._tcp.abc.net.my. ......... ser1.abc.net.my. _mediaproxy._tcp.abc.net.my. ......... ser2.abc.net.my.
Both domains are pingable.
What should be my next step? my present sip phones are all pointed directly to ser1.xx.xx.xx and ser1 is connected to remote db A.
Do i still need to setup a virtual IP with heartbeat? What will be my sip setting at my sip phone? Also, what will be in my /etc/profile (export SIP_DOMAIN=??)
Thanks in advance.
peiyin
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
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.
Quoting "Greger V. Teigre" greger@teigre.com:
You just make sure that you use proxydispatcher (and not mediaproxy directly from mediaproxy SER module). Then your users need to have @abc.net.my as their domain and proxydispatcher will use DNS to lookup the correct mediaproxy server. g-)
peiyin wrote:
Hi everyone,
I'm currently stuck at load balancing 2 ser with mediaproxy. I've setup the 2 DNS record in my master db.abc with
............
ser1.abc.net.my. IN A yy.yy.yy ser2.abc.net.my. IN A zz.zz.zz
_mediaproxy._tcp.abc.net.my. ......... ser1.abc.net.my. _mediaproxy._tcp.abc.net.my. ......... ser2.abc.net.my.
Both domains are pingable.
What should be my next step? my present sip phones are all pointed directly to ser1.xx.xx.xx and ser1 is connected to remote db A.
Do i still need to setup a virtual IP with heartbeat? What will be my sip setting at my sip phone? Also, what will be in my /etc/profile (export SIP_DOMAIN=??)
Thanks in advance.
peiyin
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
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.
I think you are confusing a couple of things here: - dispatcher.so is a SER module for load balancing SIP messages to multiple other SIP servers - mediaproxy.so is a SER module for load balancing RTP streams by manipulating the SDP payload in SIP messages - proxydispatcher is the python daemon that mediaproxy.so communicates with (so you should use proxydispatcher.sock as mediaproxy_socket) - proxydispatcher daemon will look up DNS and forward to mediaproxy python daemon (yes, same name, different thing)
Forget about dispatcher.so, set up SER and proxydispatcher daemon on same machine, set up one mediaproxy daemon on each RTP proxy server that proxydispatcher should load balance across (using DNS SRV).
Better? g-)
smy@addm.com wrote:
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.