Hi All, I am trying to setup Kamailio to allow me to have multiple different domains (and IPs) treated as one. I am using the domain module for this. As an example I have:
* A handset registered to Kamailio by IP address. * A SIP trunk between Asterisk and Kamilio using an FQDN that uses SRV records for redundancy on Asterisk's side. I have added all domains and IPs under the same "domain identifier". It seems the "old" domain module now uid_domain had this capability of a single virtual domain, but is this possible with the more current domain.so module? From what I've said the uid_* modules older modules from the SIP Router project, and should be replaced by more recent Kamailio modules? - https://www.kamailio.org/docs/modules/5.0.x/modules/uid_domain.html VS. - https://kamailio.org/docs/modules/5.1.x/modules/domain.html MariaDB [kamailio]> select * from domain; +----+------------------------------------+------------+---------------------+ | id | domain | did | last_modified | +----+------------------------------------+------------+---------------------+ | 1 | 12.34.56.53 | vocalpoint | 2000-01-01 00:00:01 | | 2 | 23.34.56.54 | vocalpoint | 2000-01-01 00:00:01 | | 3 | sbc.foo | vocalpoint | 2000-01-01 00:00:01 | | 4 | sbc.nsw.foo | vocalpoint | 2000-01-01 00:00:01 | | 5 | sbc.vic.foo | vocalpoint | 2000-01-01 00:00:01 | | 6 | sbc.foo2 | vocalpoint | 2000-01-01 00:00:01 | | 7 | sbc.nsw.foo2 | vocalpoint | 2000-01-01 00:00:01 | | 8 | sbc.vic.foo2 | vocalpoint | 2000-01-01 00:00:01 | +----+------------------------------------+------------+---------------------+ 8 rows in set (0.000 sec) I managed to get registrations working by hardcoding a static realm in the config, but when when usrloc does a lookup on a handset, Kamailio can't find [email protected] and Kamailio returns 404. It looks like this is because in the locations table it is listed with a domain of 12.34.56.53 (because the handset is registered by IP). How should this work normally? Or is it even possible? Thanks, Rhys.
_______________________________________________ Kamailio (SER) - Users Mailing List [email protected] https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
