Use mod_xml_curl to dynamically generate the dialplan. You can then store your own number -> user id mappings and return an extension that bridges to the correct user id. -Steve On 5 November 2010 18:35, Boris Kovalenko <boris@tagnet.ru> wrote:
Hello!
Alias (for me) is additional phone number. Yes, I know that I may write extension to redirect. But this is nice when there is only one or two users. And what to do if there are 100 or even 1000 users with "number alias" feature? The one way I find for the time present is easyroute with custom query, but may be there already is a "good practice" solution. Can't belive that nobody uses at least two numbers short internal and full international.
When you say "alias" what exactly do you mean? If it's just a matter of dialing 73435230000 and reaching user 100 then that can easily be handled in the dialplan.
-MC
On Fri, Nov 5, 2010 at 2:16 AM, Boris Kovalenko <boris@tagnet.ru> wrote:
Hello!
Is this possible to have multiple aliases (phone numbers) for one user id? For example, the user's primary id (and the phone number) is 1000 (internal number) and 73435230000 is an alias (external number). So may I use in directory something like: <user id="100" alias="73435230000"> </user>
-- С уважением, Борис Коваленко ЗАО "Тагнет" (3435) 494991
_______________________________________________ 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
_______________________________________________ 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
-- С уважением, Борис Коваленко ЗАО "Тагнет" (3435) 494991
_______________________________________________ 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