[Freeswitch-users] Aliases in database

Sergey Safarov s.safarov at gmail.com
Wed Nov 11 20:46:07 MSK 2015


Rewrite realm

On Wed, Nov 11, 2015, 20:36 Sergey Safarov <s.safarov at gmail.com> wrote:

> Kamalio sip proxy solves your task.
> Rewrite real before passing it to FS
>
> On Wed, Nov 11, 2015, 19:20 Michael Jerris <mike at jerris.com> wrote:
>
>> 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> 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>
>>> 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
>>>
>>> On Wed, Nov 11, 2015 at 12:39 PM, Michael Jerris <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>
>>>> 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.
>>>>>
>>>>
>>>> _
>>>
>>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://confluence.freeswitch.org
>> http://www.cluecon.com
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151111/8aff9846/attachment.html 


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