<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hello,<br>
<br>
You can fetch a shell variable in OpenSIPS by using the $env pvar in
the cfgutils module ( see
<a class="moz-txt-link-freetext" href="http://www.opensips.org/html/docs/modules/2.1.x/cfgutils#id294802">http://www.opensips.org/html/docs/modules/2.1.x/cfgutils#id294802</a> )<br>
<br>
After that, routing to the actual nodes can be done by using the
module of your choice ( dispatcher, stateless in terms of dialog
counting, or load_balancer which takes into consideration the number
of calls in each node )<br>
<br>
Best Regards,<br>
<pre class="moz-signature" cols="72">Vlad Paiu
OpenSIPS Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a> </pre>
<div class="moz-cite-prefix">On 01.05.2015 00:38, Kaan Dandin wrote:<br>
</div>
<blockquote
cite="mid:1415369244.8041.1430429917733.JavaMail.yahoo@mail.yahoo.com"
type="cite">
<div style="color:#000; background-color:#fff;
font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial,
Lucida Grande, sans-serif;font-size:16px">
<div id="yui_3_16_0_1_1430429136708_2791">Dear all,</div>
<div id="yui_3_16_0_1_1430429136708_2791"><br>
</div>
<div id="yui_3_16_0_1_1430429136708_2791"><br>
</div>
<div id="yui_3_16_0_1_1430429136708_2791" dir="ltr">I would like
to consult to you if it is possible to make SIP routing( for
my case to different IMS nodes) according to a shell variable
. For example is the variable is 1 make the routing to IMS
node1 , if 2 make the routing to IMS node2 ....</div>
<div id="yui_3_16_0_1_1430429136708_2791" dir="ltr"><br>
</div>
<div id="yui_3_16_0_1_1430429136708_2791" dir="ltr">What is the
correct way to implement this scenario? Which module need to
be used? Dispatcher module? Load Balancer Module or Dynamic
Routing Module?</div>
<div id="yui_3_16_0_1_1430429136708_2791" dir="ltr"><br>
</div>
<div id="yui_3_16_0_1_1430429136708_2791" dir="ltr">Thanks for
your kind support</div>
<div id="yui_3_16_0_1_1430429136708_2791" dir="ltr"><br>
</div>
<div id="yui_3_16_0_1_1430429136708_2791" dir="ltr">BR,</div>
<div id="yui_3_16_0_1_1430429136708_2791" dir="ltr">Kaan</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>