you can use the user endpoint and dial-string param on the user. Mike On Apr 19, 2010, at 9:20 AM, Jérôme M. wrote:
Hi everyone,
I'm new to Freeswitch and just started to configure it.
I have read the wiki, and my first problem is the following :
- I want to use alphanumeric id for my users. In other words, they can register to the PBX with a id like firstname.lastname@domain.com and can be reached in this way, no need to know the phone number (300-399 in my case).
So, i declared my users as mentionned on the wiki, using number-alias. In my dialplan, every call to 300-399 numbers are automatically associated to alphanumeric id's, everything is working fine.
But in a real context, every user will only know the alphanumeric-id (it's easier to remember) of another users. I thought that the mapping was bidirectionnal, but it seems that I have to match every firstname.lastname@domain.com in my dialplan.
I tried, but apparently destination_number contains only firstname.lastname ( no SIP URI, maybe because I use the local domain).
I' m sure I could do it using a "dirty trick" but i really want to do it in a good way...
Do you have any ideas ?
Thank you so much for your help, sorry for my approximative english ;) !