[SR-Users] Kamailio IMS with ENUM

BALL SUN paulrbk at gmail.com
Tue Jun 23 16:40:09 CEST 2020


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 at 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 at lists.kamailio.org> Im Auftrag von BALL SUN
> Gesendet: Dienstag, 23. Juni 2020 08:53
> An: Kamailio (SER) - Users Mailing List <sr-users at 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 at lists.kamailio.org
> 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%7C3005abff88c14a8733bd08d817423562%7C8c9d3c973fd941c8a2b1646f3942daf1%7C0%7C0%7C637284920417145565&sdata=XepR%2BOqccDq91IE60EPVPVQvpzPJ5UwCb1BspgGab6A%3D&reserved=0
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users



More information about the sr-users mailing list