[Freeswitch-users] Aliases in database
Michael Nielsen
mic.niel84 at gmail.com
Fri Nov 13 11:48:43 MSK 2015
I see, interesting... Haven't thought of using that module.
I'm using PostgreSQL for creating directory, I guess that could be used in
some sort with mod_translate...
On Fri, Nov 13, 2015 at 9:44 AM, Sergey Safarov <s.safarov at gmail.com> wrote:
> For this task i also use refwrite userpart of uri.
> In my implementation this rewrite is made on FS side via mod_translate.
>
> Sergey
>
> On Fri, Nov 13, 2015 at 11:31 AM, Michael Nielsen <mic.niel84 at gmail.com>
> wrote:
>
>> So I guess the ability to have multiple number-alias for a user would
>> solve the challenge nicely.
>>
>> On Fri, Nov 13, 2015 at 9:29 AM, Michael Nielsen <mic.niel84 at gmail.com>
>> wrote:
>>
>>> Don't know if it makes more sense, but what I'm looking for is basically
>>> that a user is reachable at for example:
>>> +44123456789
>>> +44958674532
>>> +123445599
>>>
>>> When dialing one of those numbers above, FS should match these as
>>> my-user at domain.com in FS.
>>>
>>> On Wed, Nov 11, 2015 at 6:46 PM, Sergey Safarov <s.safarov at gmail.com>
>>> wrote:
>>>
>>>> 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
>>>>>
>>>>>
>>>>
>>>> _________________________________________________________________________
>>>> 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
>>>>
>>>
>>>
>>
>> _________________________________________________________________________
>> 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
>>
>
>
> _________________________________________________________________________
> 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/20151113/9584e0de/attachment.html
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list