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...


INSERT INTO sipusers (name, defaultuser, host, sippasswd, fromuser, fromdomain, mailbox)
  VALUES ('101', '101', 'dynamic', '101', '101', 'ASTBOX1', '101');
INSERT INTO sipusers (name, defaultuser, host, sippasswd, fromuser, fromdomain, mailbox)
  VALUES ('101', '101', 'dynamic', '101', '101', 'ASTBOX2', '101');
Would be the right train of thought?


So you push all your phones to look at this kam/ast box to then be forward to the ast1 box to register? 


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?


I am assuming all Voicemail gets forward to their ast box because of the example above.


Thank you for taking time to provide clear information.

Ryan



From: sr-users <sr-users-bounces@lists.sip-router.org> on behalf of Daniel-Constantin Mierla <miconda@gmail.com>
Sent: Thursday, November 19, 2015 5:52:24 AM
To: Kamailio (SER) - Users Mailing List
Subject: Re: [SR-Users] Fw: Kamailio with Siremis
 
Hello,

the records in database (that you can add via siremis), are insufficient if you don't have a proper kamailio.cfg.

If you need to integrate kamailio+asterisk, maybe is better to start from the config provided by the tutorial:

   - https://kb.asipto.com/asterisk:realtime:kamailio-4.0.x-asterisk-11.3.0-astdb

Cheers,
Daniel

On 18/11/15 21:19, Ryan Holbein wrote:





From: Ryan Holbein <rtholbein@hotmail.com>
Sent: Wednesday, November 18, 2015 8:07 AM
To: miconda@gmail.com
Subject: Re: [SR-Users] Kamailio with Siremis
 

Hello,


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)?


If you are willing to help Thank you in Adv.




From: Daniel-Constantin Mierla <miconda@gmail.com>
Sent: Thursday, November 12, 2015 12:05 PM
To: Ryan Holbein; Kamailio (SER) - Users Mailing List
Subject: Re: [SR-Users] Kamailio with Siremis
 
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.

If you have more Asterisk boxes, then depends on what you need/want to do:

  - for load balancing look at dispatcher module - it has a complete sample config in the docs

  - for least cost routing, then lcr module is indeed an option

Cheers,
Daniel

On 12/11/15 17:56, Ryan Holbein wrote:

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?




Thank you




From: sr-users <sr-users-bounces@lists.sip-router.org> on behalf of Daniel-Constantin Mierla <miconda@gmail.com>
Sent: Thursday, November 12, 2015 3:01 AM
To: Kamailio (SER) - Users Mailing List
Subject: Re: [SR-Users] Kamailio with Siremis
 
Hello,

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.

Siremis has a panel for managing the records in address table.

Cheers,
Daniel

On 11/11/15 14:10, Ryan Holbein wrote:

Hello,


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? 



_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Book: SIP Routing With Kamailio - http://www.asipto.com
Kamailio Advanced Training, Nov 30-Dec 2, Berlin - http://asipto.com/kat

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Book: SIP Routing With Kamailio - http://www.asipto.com
Kamailio Advanced Training, Nov 30-Dec 2, Berlin - http://asipto.com/kat


_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Book: SIP Routing With Kamailio - http://www.asipto.com
Kamailio Advanced Training, Nov 30-Dec 2, Berlin - http://asipto.com/kat