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
<Christoph.Valentin(a)kontron.com> 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 <sr-users-bounces(a)lists.kamailio.org> Im Auftrag von BALL SUN
Gesendet: Dienstag, 23. Juni 2020 08:53
An: Kamailio (SER) - Users Mailing List <sr-users(a)lists.kamailio.org>
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
sr-users(a)lists.kamailio.org
https://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.kam…
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users(a)lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users