[Freeswitch-users] Aliases in database

Michael Jerris mike at jerris.com
Wed Nov 11 19:19:38 MSK 2015


This would depend on how your dialplan is done.  If you are using user dialstring you could use that, you could just put dialplan entries in, if you are generating dynamic dialplan via something like xml_curl you could just handle this with logic.

> On Nov 11, 2015, at 11:01 AM, Michael Nielsen <mic.niel84 at gmail.com> wrote:
> 
> Yes, so I can add another/multiple aliases for a user to be reached at. 
> 
> On Wednesday, November 11, 2015, Michael Jerris <mike at jerris.com <mailto:mike at jerris.com>> wrote:
> I'm not even sure what a user alias would be exactly?  Is this just dialplan that points to the same place?
> 
>> On Nov 11, 2015, at 8:21 AM, Michael Nielsen <mic.niel84 at gmail.com <javascript:_e(%7B%7D,'cvml','mic.niel84 at gmail.com');>> wrote:
>> 
>> Is there an easy way to assign multiple aliases for a user?
>> XML example is fine... Then I can dynamically generate it via LUA from PostgreSQL.
>> 
>> I've only seen an example for one single alias:
>> <user id="johnsmith" number-alias="1001">
>> on https://freeswitch.org/confluence/display/FREESWITCH/XML+User+Directory <https://freeswitch.org/confluence/display/FREESWITCH/XML+User+Directory>
>> 
>> On Wed, Nov 11, 2015 at 12:39 PM, Michael Jerris <mike at jerris.com <javascript:_e(%7B%7D,'cvml','mike at jerris.com');>> wrote:
>> No, those aliases are for console, they have nothing to do with users
>> 
>> 
>> On Wednesday, November 11, 2015, Michael Nielsen <mic.niel84 at gmail.com <javascript:_e(%7B%7D,'cvml','mic.niel84 at gmail.com');>> wrote:
>> I'm running FS 1.6.2 with PostgreSQL as shared database for the core.
>> I've got a table called aliases in PostgreSQL, created by FS.
>> 
>> Can I use that for assigned aliases to my users?
>> 
>> I've created my own users table and are using LUA for generating the directory in FS.
>> 
>> _

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151111/7c6aa527/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list