<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p><br>
</p>
<br>
<br>
<div style="color: rgb(0, 0, 0);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Ryan Holbein <rtholbein@hotmail.com><br>
<b>Sent:</b> Wednesday, November 18, 2015 8:07 AM<br>
<b>To:</b> miconda@gmail.com<br>
<b>Subject:</b> Re: [SR-Users] Kamailio with Siremis</font>
<div> </div>
</div>
<div>
<div id="divtagdefaultwrapper" style="font-size:12pt; color:#000000; background-color:#FFFFFF; font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Hello,</p>
<p><br>
</p>
<p>This is what I have setup so far I know it is not much but looking for help this is my very first Proxy. If you look at my Attachments I am trying to do IP auth. I have 2 Asterisk Boxs with 192.168.89.2 and .3.. The Proxy has 2 nics the outside and the 192.168.89.0/24
 ... How do I setup the LCR rule if you look at the LCR Attachment? Also is my trusted permissions setup correct(Those IPs you see are correct)?</p>
<p><br>
</p>
<p>If you are willing to help Thank you in Adv.</p>
<br>
<br>
<div style="color:rgb(0,0,0)">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Daniel-Constantin Mierla <miconda@gmail.com><br>
<b>Sent:</b> Thursday, November 12, 2015 12:05 PM<br>
<b>To:</b> Ryan Holbein; Kamailio (SER) - Users Mailing List<br>
<b>Subject:</b> Re: [SR-Users] Kamailio with Siremis</font>
<div> </div>
</div>
<div>If you have a single Asterisk box, then you can simply forward using kamailio.cfg only. Look at route[PSTN] in default configuration file for an example.<br>
<br>
If you have more Asterisk boxes, then depends on what you need/want to do:<br>
<br>
  - for load balancing look at dispatcher module - it has a complete sample config in the docs<br>
<br>
  - for least cost routing, then lcr module is indeed an option<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<div class="moz-cite-prefix">On 12/11/15 17:56, Ryan Holbein wrote:<br>
</div>
<blockquote type="cite">
<div id="divtagdefaultwrapper" style="font-size:12pt; color:#000000; background-color:#FFFFFF; font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Now I assume in LCR I will add the Asterisk boxs so it can route? Does that sound correct? Anyone able to provide an example?</p>
<p><br>
</p>
<pre style="font-family:courier,'courier new',monospace; font-size:14px; white-space:pre-wrap; word-wrap:break-word; margin-top:0px; margin-bottom:0px; line-height:19.6px"></pre>
<br>
<p><br>
</p>
<p>Thank you</p>
<br>
<br>
<div style="color:rgb(0,0,0)">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> sr-users
<a class="moz-txt-link-rfc2396E" href="mailto:sr-users-bounces@lists.sip-router.org">
<sr-users-bounces@lists.sip-router.org></a> on behalf of Daniel-Constantin Mierla
<a class="moz-txt-link-rfc2396E" href="mailto:miconda@gmail.com"><miconda@gmail.com></a><br>
<b>Sent:</b> Thursday, November 12, 2015 3:01 AM<br>
<b>To:</b> Kamailio (SER) - Users Mailing List<br>
<b>Subject:</b> Re: [SR-Users] Kamailio with Siremis</font>
<div> </div>
</div>
<div>Hello,<br>
<br>
look at permissions module. Default kamailio can do IP auth by enabling WITH_AUTH and WITH_IPAUTH and adding the trusted IP in database table 'address' with group id 1.<br>
<br>
Siremis has a panel for managing the records in address table.<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<div class="moz-cite-prefix">On 11/11/15 14:10, Ryan Holbein wrote:<br>
</div>
<blockquote type="cite">
<div id="divtagdefaultwrapper" style="font-size:12pt; color:#000000; background-color:#FFFFFF; font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Hello,</p>
<p><br>
</p>
<p>I have setup with my phone provider an IP endpoint to do IP Auth. How would I go about setting that up in Kamailio or even better can some tell me how to do that in Siremis? </p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset> <br>
<pre>_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<a class="moz-txt-link-freetext" href="http://twitter.com/#%21/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Book: SIP Routing With Kamailio - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
Kamailio Advanced Training, Nov 30-Dec 2, Berlin - <a class="moz-txt-link-freetext" href="http://asipto.com/kat">http://asipto.com/kat</a></pre>
</div>
</div>
</div>
</blockquote>
<br>
<pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Book: SIP Routing With Kamailio - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
Kamailio Advanced Training, Nov 30-Dec 2, Berlin - <a class="moz-txt-link-freetext" href="http://asipto.com/kat">http://asipto.com/kat</a></pre>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>