Aliases in database
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.
No, those aliases are for console, they have nothing to do with users On Wednesday, November 11, 2015, Michael Nielsen <mic.niel84@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.
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@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
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@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@jerris.com <mailto:mike@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@gmail.com <mailto:mic.niel84@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.
_
Yes, so I can add another/multiple aliases for a user to be reached at. On Wednesday, November 11, 2015, Michael Jerris <mike@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@gmail.com <javascript:_e(%7B%7D,'cvml','mic.niel84@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@jerris.com <javascript:_e(%7B%7D,'cvml','mike@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@gmail.com <javascript:_e(%7B%7D,'cvml','mic.niel84@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.
_
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@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@jerris.com <mailto:mike@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@gmail.com <javascript:_e(%7B%7D,'cvml','mic.niel84@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@jerris.com <javascript:_e(%7B%7D,'cvml','mike@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@gmail.com <javascript:_e(%7B%7D,'cvml','mic.niel84@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.
_
Kamalio sip proxy solves your task. Rewrite real before passing it to FS On Wed, Nov 11, 2015, 19:20 Michael Jerris <mike@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@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@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@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@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Rewrite realm On Wed, Nov 11, 2015, 20:36 Sergey Safarov <s.safarov@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@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@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@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@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@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
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@domain.com in FS. On Wed, Nov 11, 2015 at 6:46 PM, Sergey Safarov <s.safarov@gmail.com> wrote:
Rewrite realm
On Wed, Nov 11, 2015, 20:36 Sergey Safarov <s.safarov@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@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@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@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@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@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@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@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
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@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@domain.com in FS.
On Wed, Nov 11, 2015 at 6:46 PM, Sergey Safarov <s.safarov@gmail.com> wrote:
Rewrite realm
On Wed, Nov 11, 2015, 20:36 Sergey Safarov <s.safarov@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@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@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@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@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@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@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@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
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@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@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@domain.com in FS.
On Wed, Nov 11, 2015 at 6:46 PM, Sergey Safarov <s.safarov@gmail.com> wrote:
Rewrite realm
On Wed, Nov 11, 2015, 20:36 Sergey Safarov <s.safarov@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@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@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@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@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@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@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@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@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@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
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@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@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@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@domain.com in FS.
On Wed, Nov 11, 2015 at 6:46 PM, Sergey Safarov <s.safarov@gmail.com> wrote:
Rewrite realm
On Wed, Nov 11, 2015, 20:36 Sergey Safarov <s.safarov@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@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@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@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@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@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@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@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@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@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@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@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Sorry to bother, but do you have an example script for mod_translate for the purpose of matching and changing a number? On Friday, November 13, 2015, Michael Nielsen <mic.niel84@gmail.com> wrote:
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@gmail.com <javascript:_e(%7B%7D,'cvml','s.safarov@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@gmail.com <javascript:_e(%7B%7D,'cvml','mic.niel84@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@gmail.com <javascript:_e(%7B%7D,'cvml','mic.niel84@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@domain.com <javascript:_e(%7B%7D,'cvml','my-user@domain.com');> in FS.
On Wed, Nov 11, 2015 at 6:46 PM, Sergey Safarov <s.safarov@gmail.com <javascript:_e(%7B%7D,'cvml','s.safarov@gmail.com');>> wrote:
Rewrite realm
On Wed, Nov 11, 2015, 20:36 Sergey Safarov <s.safarov@gmail.com <javascript:_e(%7B%7D,'cvml','s.safarov@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@jerris.com <javascript:_e(%7B%7D,'cvml','mike@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@gmail.com > <javascript:_e(%7B%7D,'cvml','mic.niel84@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@jerris.com > <javascript:_e(%7B%7D,'cvml','mike@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@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@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@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@freeswitch.org > <javascript:_e(%7B%7D,'cvml','consulting@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@lists.freeswitch.org > <javascript:_e(%7B%7D,'cvml','FreeSWITCH-users@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@freeswitch.org <javascript:_e(%7B%7D,'cvml','consulting@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@lists.freeswitch.org <javascript:_e(%7B%7D,'cvml','FreeSWITCH-users@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@freeswitch.org <javascript:_e(%7B%7D,'cvml','consulting@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@lists.freeswitch.org <javascript:_e(%7B%7D,'cvml','FreeSWITCH-users@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@freeswitch.org <javascript:_e(%7B%7D,'cvml','consulting@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@lists.freeswitch.org <javascript:_e(%7B%7D,'cvml','FreeSWITCH-users@lists.freeswitch.org');> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (3)
-
Michael Jerris
-
Michael Nielsen
-
Sergey Safarov