Re: [SR-Users] reg_fetch_contacts and t_relay usage
Hello Denys, Thanks a lot for the hint! All I had to do is to assign *addr* value for correct contact to $ru. пн, 11 лют. 2019 о 18:14 Denys Pozniak пише: > Hello! > Try to use indexes: > > http://kamailio.org/docs/modules/stable/modules/registrar.html#idm1026882308 > > > пн, 11 февр. 2019 г. в 17:44, Володимир Іванець >: > >> Hello! >> >> I'm using *reg_fetch_contacts* function to get information about all >> contacts. This allows to define which contacts should receive the call. My >> question is if it's possible to choose only one contact before *t_relay* is >> called? Or *reg_fetch_contacts* call and verification should be done >> after *t_relay* in all branches and those which are not needed should be >> stopped? >> >> Thanks a lot! >> ___ >> Kamailio (SER) - Users Mailing List >> sr-users@lists.kamailio.org >> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users >> > > > -- > > BR, > Denys Pozniak > > > ___ > Kamailio (SER) - Users Mailing List > sr-users@lists.kamailio.org > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users > ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] reg_fetch_contacts and t_relay usage
Hello! Try to use indexes: http://kamailio.org/docs/modules/stable/modules/registrar.html#idm1026882308 пн, 11 февр. 2019 г. в 17:44, Володимир Іванець : > Hello! > > I'm using *reg_fetch_contacts* function to get information about all > contacts. This allows to define which contacts should receive the call. My > question is if it's possible to choose only one contact before *t_relay* is > called? Or *reg_fetch_contacts* call and verification should be done > after *t_relay* in all branches and those which are not needed should be > stopped? > > Thanks a lot! > ___ > Kamailio (SER) - Users Mailing List > sr-users@lists.kamailio.org > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users > -- BR, Denys Pozniak ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
[SR-Users] reg_fetch_contacts and t_relay usage
Hello! I'm using *reg_fetch_contacts* function to get information about all contacts. This allows to define which contacts should receive the call. My question is if it's possible to choose only one contact before *t_relay* is called? Or *reg_fetch_contacts* call and verification should be done after *t_relay* in all branches and those which are not needed should be stopped? Thanks a lot! ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users