This means the HSS had answered the user is not known in this domain (lir_term_user_unknown), but then the DNS server insists this telephone number should be handled by our domain ($rd == NETWORKNAME).
Just enter the user to the HSS database - if it shall be handled by this domain - Or configure DNS, so that this telephone number is routed to another domain. - if it shall be handled by a different domain. -----Ursprüngliche Nachricht----- Von: sr-users <[email protected]> Im Auftrag von BALL SUN Gesendet: Dienstag, 23. Juni 2020 16:40 An: Kamailio (SER) - Users Mailing List <[email protected]> Betreff: Re: [SR-Users] Kamailio IMS with ENUM Thanks. I actually keep having "604","Does not exist anywhere - HSS User Unknown", so by right, I-CSCF should go to check the ENUM, but it didn't so what configuration I should enable? is it dispatcher list and needed to enabkle PEERING? below is the routine that related to "604","Does not exist anywhere - HSS User Unknown" in icscf. - RBK route[lir_term_user_unknown] { if (uri =~ "tel:.*") { # Let's check, if the number can be found in ENUM: if(!enum_query()) { # ENUM failed, send it to the PSTN-Gateway: route(PSTN); break; } # ENUM resolved to another domain if ($rd != NETWORKNAME) { t_on_reply("initial_request_reply"); t_on_failure("initial_request_failure"); if (!t_relay()) { t_reply("500","Error forwarding to external domain"); exit; }; exit; } else { t_reply("604","Does not exist anywhere - HSS User Unknown"); exit; }; } else { # we received a request for our domain (non-tel), but HSS said "User Unknown" if ($rd != NETWORKNAME) { t_reply("604","Does not exist anywhere - HSS User Unknown"); exit; } else { # try to forward non-tel request to other domain t_on_reply("Initial_Request_reply"); t_on_failure("Initial_Request_failure"); if (!t_relay()) { t_reply("500","Error forwarding to external domain"); exit; }; exit; }; }; } } On Tue, Jun 23, 2020 at 8:40 PM Valentin Christoph <[email protected]> wrote: > > The example I-CSCF and S-CSCF configurations at misc/examples/ims contain > usage of the enum module, afaik. > This could be easily adapted or taken as an example. > > -----Ursprüngliche Nachricht----- > Von: sr-users <[email protected]> Im Auftrag von > BALL SUN > Gesendet: Dienstag, 23. Juni 2020 08:53 > An: Kamailio (SER) - Users Mailing List <[email protected]> > Betreff: [SR-Users] Kamailio IMS with ENUM > > Hi > > Is there any information that can help to setup ENUM query in Kamailio > IMS? what we wanted to achieve is to when A in domain A (the local > domain) makes an INVITE to B, it will check the domain of B from ENUM backend. > > if it is not on the local domain, it will route to remote IMS core. > > Thanks > > - RBK > > _______________________________________________ > Kamailio (SER) - Users Mailing List > [email protected] > https://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flist > s.kamailio.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fsr-users&data=02%7 > C01%7Cchristoph.valentin%40kontron.com%7Cc6c88e565e844b41467208d817836 > ada%7C8c9d3c973fd941c8a2b1646f3942daf1%7C0%7C0%7C637285200482063836&am > p;sdata=YphpOloEosgWB9Gyt5xXH1COcafnRqMBDrLzhnRsM1o%3D&reserved=0 > _______________________________________________ > Kamailio (SER) - Users Mailing List > [email protected] > https://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flist > s.kamailio.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fsr-users&data=02%7 > C01%7Cchristoph.valentin%40kontron.com%7Cc6c88e565e844b41467208d817836 > ada%7C8c9d3c973fd941c8a2b1646f3942daf1%7C0%7C0%7C637285200482063836&am > p;sdata=YphpOloEosgWB9Gyt5xXH1COcafnRqMBDrLzhnRsM1o%3D&reserved=0 _______________________________________________ Kamailio (SER) - Users Mailing List [email protected] https://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.kamailio.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fsr-users&data=02%7C01%7Cchristoph.valentin%40kontron.com%7Cc6c88e565e844b41467208d817836ada%7C8c9d3c973fd941c8a2b1646f3942daf1%7C0%7C0%7C637285200482063836&sdata=YphpOloEosgWB9Gyt5xXH1COcafnRqMBDrLzhnRsM1o%3D&reserved=0 _______________________________________________ Kamailio (SER) - Users Mailing List [email protected] https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
