number translation in freeswitch
Hi, Is it possible to do a 1 to 1 mapping in a database in free switch and get the number translated?. for example 123456789 is mapped to 987654321. if an INVITE comes with 123456789 to FS, it should translate to 987654321 in RURI and To header before it sends the invite out. this trranslation should be for 100,000 number present in the database? is it a vaible solution in FS? Many thanks Prakash
There's mod easyroute <http://wiki.freeswitch.org/wiki/Mod_easyroute> to query SQL, or you can do it yourself via the contrib-git mod odbc_query<http://wiki.freeswitch.org/wiki/Mod_odbc_query> to query an odbc SQL. (There seems to be a mod_redis, but only for limit backend and not for querying... lua might have a rock to query redis easily.) -Avi On Tue, Dec 17, 2013 at 4:35 PM, Prakash Ganesan <vgprakashin@gmail.com>wrote:
Hi, Is it possible to do a 1 to 1 mapping in a database in free switch and get the number translated?.
for example 123456789 is mapped to 987654321. if an INVITE comes with 123456789 to FS, it should translate to 987654321 in RURI and To header before it sends the invite out. this trranslation should be for 100,000 number present in the database? is it a vaible solution in FS?
Many thanks Prakash
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
participants (2)
-
Avi Marcus
-
Prakash Ganesan