Re: [SR-Users] Disable non-existent user warning
Hello, On 07.03.18 09:21, Stefan Rüetschli wrote: > Hi Daniel > > I did not compile it by miself, so I don't know. > What I saw is, we have a symlink from serctl to kamctl, so both > commands work, this is for compatibility reasons. ok, so it is something specific for local deployment, but actually it is kamailio running as sip server, not ser. Cheers, Daniel > > Anyway, thank you! I tried this and it solved my problem. > > Cheers > Stefan > > > Am 07.03.18 um 08:50 schrieb Daniel-Constantin Mierla: >> Hello, >> >> first question is out curiosity, did you compile it as SER flavour and >> have serctl, because now we have kamctl. This is more to have an idea if >> people still complie different flavour, as I thought maybe at some point >> we can remove that part from Makefiles, to simplify the build system. >> >> Then, for your question, look inside kamctlrc, there is a variable >> VERIFY_USER that you have to set to 0. >> >> Cheers, >> Daniel >> >> >> On 06.03.18 16:05, Stefan Rüetschli wrote: >>> Hello sr-users! >>> >>> I'm using Kamailio 5.1.2. >>> If I execute the command "serctl acl grant 1234 mygrant" I get a >>> warning which I have to accept with "Y": >>> Non-existent user '1234'. Still proceeding? [Y|N] >>> >>> Is it possible to deactivate this warning? I know why this warning is >>> there (it's not a user, it's an alias), so I think I know what I'm >>> doing ;-) >>> >>> Regards >>> Stefan >>> >>> ___ >>> Kamailio (SER) - Users Mailing List >>> sr-users@lists.kamailio.org >>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users > -- Daniel-Constantin Mierla www.twitter.com/miconda -- www.linkedin.com/in/miconda Kamailio Advanced Training - March 5-7, 2018, Berlin - www.asipto.com Kamailio World Conference - May 14-16, 2018 - www.kamailioworld.com ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] Disable non-existent user warning
Hi Daniel I did not compile it by miself, so I don't know. What I saw is, we have a symlink from serctl to kamctl, so both commands work, this is for compatibility reasons. Anyway, thank you! I tried this and it solved my problem. Cheers Stefan Am 07.03.18 um 08:50 schrieb Daniel-Constantin Mierla: Hello, first question is out curiosity, did you compile it as SER flavour and have serctl, because now we have kamctl. This is more to have an idea if people still complie different flavour, as I thought maybe at some point we can remove that part from Makefiles, to simplify the build system. Then, for your question, look inside kamctlrc, there is a variable VERIFY_USER that you have to set to 0. Cheers, Daniel On 06.03.18 16:05, Stefan Rüetschli wrote: Hello sr-users! I'm using Kamailio 5.1.2. If I execute the command "serctl acl grant 1234 mygrant" I get a warning which I have to accept with "Y": Non-existent user '1234'. Still proceeding? [Y|N] Is it possible to deactivate this warning? I know why this warning is there (it's not a user, it's an alias), so I think I know what I'm doing ;-) Regards Stefan ___ 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] Disable non-existent user warning
Hello, first question is out curiosity, did you compile it as SER flavour and have serctl, because now we have kamctl. This is more to have an idea if people still complie different flavour, as I thought maybe at some point we can remove that part from Makefiles, to simplify the build system. Then, for your question, look inside kamctlrc, there is a variable VERIFY_USER that you have to set to 0. Cheers, Daniel On 06.03.18 16:05, Stefan Rüetschli wrote: > Hello sr-users! > > I'm using Kamailio 5.1.2. > If I execute the command "serctl acl grant 1234 mygrant" I get a > warning which I have to accept with "Y": > Non-existent user '1234'. Still proceeding? [Y|N] > > Is it possible to deactivate this warning? I know why this warning is > there (it's not a user, it's an alias), so I think I know what I'm > doing ;-) > > Regards > Stefan > > ___ > Kamailio (SER) - Users Mailing List > sr-users@lists.kamailio.org > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users -- Daniel-Constantin Mierla www.twitter.com/miconda -- www.linkedin.com/in/miconda Kamailio Advanced Training - March 5-7, 2018, Berlin - www.asipto.com Kamailio World Conference - May 14-16, 2018 - www.kamailioworld.com ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] Disable non-existent user warning
On Tue, Mar 06, 2018 at 04:05:43PM +0100, Stefan R??etschli wrote: > If I execute the command "serctl acl grant 1234 mygrant" I get a warning > which I have to accept with "Y": > Non-existent user '1234'. Still proceeding? [Y|N] > > Is it possible to deactivate this warning? I know why this warning is there > (it's not a user, it's an alias), so I think I know what I'm doing ;-) This should work: yes Y | serctl acl grant 1234 mygrant ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users