Yate Community Forum
General Category => Yate users hangout place => Topic started by: oldbay on September 19, 2013, 12:45:10 AM
-
Forom regfile.conf use:
[user1]
password=123
caller=FirstName1 LastName1
[user2]
password=123
caller=FirstName2 LastName2
As a result: data from "caller" visible in called client by call
How make this from use register.conf at authorization on database?
-
Have look at the docs http://docs.yate.ro/ (http://docs.yate.ro/)
-
hi oldbay,
i had the same kind of question a few days back but now i just did it.
got to register.conf and edit the below context accordingly
[user.auth]
query=SELECT secret FROM sip_users WHERE username='${username}' AND secret IS NOT NULL
result=secret
-
hi oldbay,
i had the same kind of question a few days back but now i just did it.
got to register.conf and edit the below context accordingly
[user.auth]
query=SELECT secret FROM sip_users WHERE username='${username}' AND secret IS NOT NULL
result=secret
Тhank you very much for your reply! :)