[Freeswitch-users] Profile configuration and aliases

Jonas Gauffin jonas.gauffin at gmail.com
Thu Feb 7 09:58:33 EST 2008


>> I can't user "originate sofia/default/auser 8888", I get "Cannot
>> locate registered user auser at default".
>> It works if I use "originate sofia/mydomain.com/auser 8888". Shouldn't
>> both work?
> No they shouldn't both work.  You can have multiple aliases for a
> profile.  If you don't specify a domain it has no way of finding the
> user in that domain.

Ok. I got two aliases for the default profile, my domain name and
freeswitchs ip address.
This is since not all phones have different fields for domain and
proxy address, and I can't use the domain name as proxy address.

this means that some phones are registered as username at mydomain.com
and some as username at 192.168.1.124.

This makes it difficult, since I need to keep track of which domain
name they used when registering. (I need to use for instance
"originate sofia/mydomain.com/username number" for some, and
"originate sofia/192.168.1.124/username number" for others, even if
they are in the same domain.

It would be a lot easier if I just could use
"sofia/<myprofilename>/username", since they all belong to the same
profile.

But maybe I'm missing something?

regards,
  Jonas



More information about the Freeswitch-users mailing list