<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hello Kamailio-Users<br>
<br>
I'm using kamailio 5.1 with Alias_DB module. My subscribers register
with a username like 0000001, 0000002 etc...<br>
Every user has a list of multiple aliases which they can use on
their SIP-Trunk.<br>
I want to avoid that the user can use any alias for outgoing calls,
only the aliases which are boud to his username in the aliases-db.<br>
So, if the user uses an alias which does not belong to him, i want
to overwrite it to the first alias for his username in the
aliases-db.<br>
At the moment, the function alias_db_find returns me the last alias
found in the db.<br>
<br>
Is there any way to do it? Or is there a way to extend the dbaliases
with a new column marking the "primary" alias for an account?<code></code><code></code>
This would be the perfect solution.<br>
<br>
Regards<br>
Stefan<br>
</body>
</html>