<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix"><tt>Hello,<br>
<br>
Indeed, we had some discussions with Ken Rice about
interconnecting OpenSIPS and FreeSwitch. The main idea is to
make use of the Load-Balancer module in OpenSIPS (please note
this is not a simple dispatcher or probabilistic/hashing
routing, but actually a LOAD based routing engine) and have this
LB module connected into FreeSwitch to collect information about
real load on FS (currently, LB module in OpenSIPS counts as load
the number of ongoing calls). But as here suggested, the load on
FS can be evaluated based on CPU/memory usage or any other
internal FS parameters which may be relavant.<br>
<br>
The interconnection between OS and FS can be either via one of
the FS APIs (having the two software talking directly) or, as
Jay suggested, directly via SIP OPTIONS (when to add the load
info in replied can be determined based on the src IP of the
OPTIONS request).<br>
<br>
Regards,<br>
</tt>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
On 17.02.2014 17:40, Ali Pey wrote:<br>
</div>
<blockquote
cite="mid:CA+q4kRLF3FEy8ur1f9Czb_TW1MkoHraA8tepR7qrnatNUkmLjg@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>This would be a pretty cool feature and I know that
OpenSIPS guys have discussed such a feature with FreeSWITCH
dev. This would be a great addition for load balancing. <br>
</div>
<div><br>
<div class="gmail_extra">
Adding OpenSIPS user mailing list.</div>
<div class="gmail_extra"><br>
</div>
<div class="gmail_extra"><br>
</div>
<div class="gmail_extra">Regards,</div>
<div class="gmail_extra">Ali Pey</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">
On Mon, Feb 17, 2014 at 8:15 AM, Karsten Horsmann <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:khorsmann@gmail.com" target="_blank">khorsmann@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div dir="ltr">Hello List,
<div><br>
</div>
<div>i read too the nice <a moz-do-not-send="true"
href="http://wiki.freeswitch.org/wiki/Enterprise_deployment"
target="_blank">http://wiki.freeswitch.org/wiki/Enterprise_deployment</a>
Enterprise Deployment Setups.</div>
<div>Personaly i run FS 1.2.x as Session Border
Controller where sip clients could register and
internal (3rd party) IVRs could reachs the clients.<br>
</div>
<div><br>
</div>
<div>I plan to use DNS SRV on the to scale up the FS
Servers and have fault talerance.</div>
<div><br>
</div>
<div>For that i have to diffrent uplinks that i could
use for the DNS SRV Records and AFAIK i could use
track-calls=true in sofia profiles</div>
<div>to track the right incoming/outgoing profile.</div>
<div>
<br>
</div>
<div>The only thing i missed is that my 3rd party IVRs
used FS as outbound proxy and therefore only one IP
is spezified on the internal network.</div>
<div><br>
</div>
<div>With an virtual IP on the FS side i could solve
that but then the FS servers is IMHO limited to be a
active/passiv duo.</div>
<div><br>
</div>
<div>Any ideas how to handle that?</div>
<div><br>
</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">2014-02-17 2:45 GMT+01:00 jay
binks <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:jaybinks@gmail.com" target="_blank">jaybinks@gmail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0px
0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div>
<div class="h5">
<div dir="ltr">So I want to bash out a feature
I was thinking of, please can anyone chime
in some ideas on this.
<div>
<br>
</div>
<div>So its easy to have OpenSIP / Kamailio
( dispatcher ) send SIP Options to FS to
see if its responding .. this is great
...</div>
<div><br>
</div>
<div>My request would be to have some kind
of control over the response FS Sends
back.</div>
<div>What I would love is to respond with
idle CPU , current SPS / Max SPS or
channels / Max Channels.</div>
<div><br>
</div>
<div>This is only a high level "this would
be nice" , so I havnt totally thought this
through but...</div>
<div>we would have to provide an ACL for who
to provide this back to, coz I wouldnt
really want any old guy on the internet
sending me options and me respond going
... oh yea bro, Im at 90% ... dont have to
try hard to DDOS Me.. :)</div>
<div><br>
</div>
<div>but yea... if we could give this back
to the load balancers, then we could
easily instruct them to back traffic off
to this gateway. </div>
<div><br>
</div>
<div>the next part is , how do you back off
the traffic.</div>
<div>one option is to have FS respond
differently if any of these are close to
thresholds.</div>
<div>or to provide these values in custom
headers, but that would require changes in
dispatcher ( which is ok I Guess )</div>
<div><br>
</div>
<div>anyways... I wanted some input on
peoples thoughts here..</div>
<div>let me know what you think.</div>
<span><font color="#888888">
<div><br>
</div>
<div><br>
Jay
</div>
</font></span></div>
<br>
</div>
</div>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a moz-do-not-send="true"
href="mailto:consulting@freeswitch.org"
target="_blank">consulting@freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://www.freeswitchsolutions.com"
target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel
Communication Server<br>
<a moz-do-not-send="true"
href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a moz-do-not-send="true"
href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://wiki.freeswitch.org"
target="_blank">http://wiki.freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:FreeSWITCH-users@lists.freeswitch.org"
target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a moz-do-not-send="true"
href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br>
</blockquote>
</div>
<span class=""><font color="#888888"><br>
<br clear="all">
<div><br>
</div>
-- <br>
Mit freundlichen Grüßen<br>
*Karsten Horsmann*<br>
</font></span></div>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a moz-do-not-send="true"
href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://www.freeswitchsolutions.com"
target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication
Server<br>
<a moz-do-not-send="true" href="http://www.cudatel.com"
target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a moz-do-not-send="true"
href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a moz-do-not-send="true" href="http://www.cluecon.com"
target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a moz-do-not-send="true"
href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br>
</blockquote>
</div>
<br>
</div>
<img moz-do-not-send="true" class=""
src="mailbox:///home/bogdan/.thunderbird/22wfqw69.default/Mail/Local%20Folders/active_work.sbd/Drafts?number=6050753&cm_session=443b385f-6dd6-49b9-bf8b-a2420daf0025&cm_type=open&cm_user_email=alipey@gmail.com"
width="1px" height="1px"></div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>