<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>With the link you sent me.. How would that work if all my Asterisk boxes hold the Extensions and voicemail. there would be for example two extensions that will be 102 and 103 on all boxes. I am looking at your test data and I see you add EXT 101-103. So
 on the asterisk boxes I would put them on a domain(Each box being their own) and when you add data to database...</p>
<p><br>
</p>
<p></p>
<pre class="code sql" style="margin-top: 0px; margin-bottom: 1.4em; padding: 0.7em 1em; font-family: Consolas, 'Andale Mono WT', 'Andale Mono', 'Bitstream Vera Sans Mono', 'Nimbus Mono L', Monaco, 'Courier New', monospace; font-size: 14px; direction: ltr; color: rgb(51, 51, 51); box-shadow: rgb(204, 204, 204) 0px 0px 0.5em inset; border-radius: 2px; overflow: auto; word-wrap: normal; border: 1px solid rgb(204, 204, 204); line-height: 19.6px; background-color: rgb(251, 250, 249);"><span class="kw1" style="color: rgb(177, 177, 0);">INSERT</span> <span class="kw1" style="color: rgb(177, 177, 0);">INTO</span> sipusers <span class="br0" style="color: rgb(102, 204, 102);">(</span>name<span class="sy0" style="color: rgb(102, 204, 102);">,</span> defaultuser<span class="sy0" style="color: rgb(102, 204, 102);">,</span> host<span class="sy0" style="color: rgb(102, 204, 102);">,</span> sippasswd<span class="sy0" style="color: rgb(102, 204, 102);">,</span> fromuser<span class="sy0" style="color: rgb(102, 204, 102);">,</span> fromdomain<span class="sy0" style="color: rgb(102, 204, 102);">,</span> mailbox<span class="br0" style="color: rgb(102, 204, 102);">)</span>
  <span class="kw1" style="color: rgb(177, 177, 0);">VALUES</span> <span class="br0" style="color: rgb(102, 204, 102);">(</span><span class="st0" style="color: rgb(255, 0, 0);">'101'</span><span class="sy0" style="color: rgb(102, 204, 102);">,</span> <span class="st0" style="color: rgb(255, 0, 0);">'101'</span><span class="sy0" style="color: rgb(102, 204, 102);">,</span> <span class="st0" style="color: rgb(255, 0, 0);">'dynamic'</span><span class="sy0" style="color: rgb(102, 204, 102);">,</span> <span class="st0" style="color: rgb(255, 0, 0);">'101'</span><span class="sy0" style="color: rgb(102, 204, 102);">,</span> <span class="st0" style="color: rgb(255, 0, 0);">'101'</span><span class="sy0" style="color: rgb(102, 204, 102);">,</span> <span class="st0" style="color: rgb(255, 0, 0);">'ASTBOX1'</span><span class="sy0" style="color: rgb(102, 204, 102);">,</span> <span class="st0" style="color: rgb(255, 0, 0);">'101'</span><span class="br0" style="color: rgb(102, 204, 102);">)</span>;</pre>
<pre class="code sql" style="margin-top: 0px; margin-bottom: 1.4em; padding: 0.7em 1em; font-family: Consolas, 'Andale Mono WT', 'Andale Mono', 'Bitstream Vera Sans Mono', 'Nimbus Mono L', Monaco, 'Courier New', monospace; font-size: 14px; direction: ltr; color: rgb(51, 51, 51); box-shadow: rgb(204, 204, 204) 0px 0px 0.5em inset; border-radius: 2px; overflow: auto; word-wrap: normal; border: 1px solid rgb(204, 204, 204); line-height: 19.6px; background-color: rgb(251, 250, 249);"><span class="kw1" style="color: rgb(177, 177, 0);">INSERT</span> <span class="kw1" style="color: rgb(177, 177, 0);">INTO</span> sipusers <span class="br0" style="color: rgb(102, 204, 102);">(</span>name<span class="sy0" style="color: rgb(102, 204, 102);">,</span> defaultuser<span class="sy0" style="color: rgb(102, 204, 102);">,</span> host<span class="sy0" style="color: rgb(102, 204, 102);">,</span> sippasswd<span class="sy0" style="color: rgb(102, 204, 102);">,</span> fromuser<span class="sy0" style="color: rgb(102, 204, 102);">,</span> fromdomain<span class="sy0" style="color: rgb(102, 204, 102);">,</span> mailbox<span class="br0" style="color: rgb(102, 204, 102);">)</span>
  <span class="kw1" style="color: rgb(177, 177, 0);">VALUES</span> <span class="br0" style="color: rgb(102, 204, 102);">(</span><span class="st0" style="color: rgb(255, 0, 0);">'101'</span><span class="sy0" style="color: rgb(102, 204, 102);">,</span> <span class="st0" style="color: rgb(255, 0, 0);">'101'</span><span class="sy0" style="color: rgb(102, 204, 102);">,</span> <span class="st0" style="color: rgb(255, 0, 0);">'dynamic'</span><span class="sy0" style="color: rgb(102, 204, 102);">,</span> <span class="st0" style="color: rgb(255, 0, 0);">'101'</span><span class="sy0" style="color: rgb(102, 204, 102);">,</span> <span class="st0" style="color: rgb(255, 0, 0);">'101'</span><span class="sy0" style="color: rgb(102, 204, 102);">,</span> <span class="st0" style="color: rgb(255, 0, 0);">'ASTBOX2'</span><span class="sy0" style="color: rgb(102, 204, 102);">,</span> <span class="st0" style="color: rgb(255, 0, 0);">'101'</span><span class="br0" style="color: rgb(102, 204, 102);">)</span>;</pre>
Would be the right train of thought?
<p></p>
<p><br>
</p>
<p>So you push all your phones to look at this kam/ast box to then be forward to the ast1 box to register? </p>
<p><br>
</p>
<p>I know how to do IP auth using asterisk so when I set that up on kam/ast box I would still leave each box Trunking register their DID correct?</p>
<p><br>
</p>
<p>I am assuming all Voicemail gets forward to their ast box because of the example above.</p>
<p><br>
</p>
<p>Thank you for taking time to provide clear information.</p>
<p>Ryan</p>
<p><br>
</p>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> sr-users <sr-users-bounces@lists.sip-router.org> on behalf of Daniel-Constantin Mierla <miconda@gmail.com><br>
<b>Sent:</b> Thursday, November 19, 2015 5:52:24 AM<br>
<b>To:</b> Kamailio (SER) - Users Mailing List<br>
<b>Subject:</b> Re: [SR-Users] Fw: Kamailio with Siremis</font>
<div> </div>
</div>
<div>Hello,<br>
<br>
the records in database (that you can add via siremis), are insufficient if you don't have a proper kamailio.cfg.<br>
<br>
If you need to integrate kamailio+asterisk, maybe is better to start from the config provided by the tutorial:<br>
<br>
   - <a class="moz-txt-link-freetext" href="https://kb.asipto.com/asterisk:realtime:kamailio-4.0.x-asterisk-11.3.0-astdb">
https://kb.asipto.com/asterisk:realtime:kamailio-4.0.x-asterisk-11.3.0-astdb</a><br>
<br>
Cheers,<br>
Daniel<br>
<br>
<div class="moz-cite-prefix">On 18/11/15 21:19, Ryan Holbein wrote:<br>
</div>
<blockquote cite="mid:CY1PR18MB0265259B7F9FD4250F48F100A21C0@CY1PR18MB0265.namprd18.prod.outlook.com" type="cite">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<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 style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> Ryan Holbein
<a class="moz-txt-link-rfc2396E" href="mailto:rtholbein@hotmail.com"><rtholbein@hotmail.com></a><br>
<b>Sent:</b> Wednesday, November 18, 2015 8:07 AM<br>
<b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:miconda@gmail.com">miconda@gmail.com</a><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 style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> 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 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>
<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 style="font-size:11pt" face="Calibri,
                            sans-serif" color="#000000"><b>From:</b> sr-users
<a moz-do-not-send="true" 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 moz-do-not-send="true" 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 moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a moz-do-not-send="true" 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 moz-do-not-send="true" class="moz-txt-link-freetext" href="http://twitter.com/#%21/miconda">http://twitter.com/#!/miconda</a> - <a moz-do-not-send="true" 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 moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
Kamailio Advanced Training, Nov 30-Dec 2, Berlin - <a moz-do-not-send="true" 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 moz-do-not-send="true" class="moz-txt-link-freetext" href="http://twitter.com/#%21/miconda">http://twitter.com/#!/miconda</a> - <a moz-do-not-send="true" 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 moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
Kamailio Advanced Training, Nov 30-Dec 2, Berlin - <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://asipto.com/kat">http://asipto.com/kat</a></pre>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset> <br>
<pre wrap="">_______________________________________________
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/#!/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>
</body>
</html>