[Freeswitch-users] Profile configuration and aliases
Jonas Gauffin
jonas.gauffin at gmail.com
Tue Feb 5 09:13:24 EST 2008
Hello
Question 1:
I got the following config:
Name Type
Data State
=================================================================================================
outbound profile
sip:mod_sofia at MY.PUBLIC.IP:5080 RUNNING (0)
nat profile
sip:mod_sofia at MY.PUBLIC.IP:5060 RUNNING (0)
default profile
sip:mod_sofia at 192.168.1.124:5070 RUNNING (0)
mydomain.com alias
default ALIASED
=================================================================================================
3 profiles 1 alias
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?
--------------------------
Question 2:
Isn't this valid?
<X-PRE-PROCESS cmd="set" data="domain=$${local_ip_v4}"/>
<X-PRE-PROCESS cmd="set" data="sip_profile=mydomain.com"/>
If not, please change the description:
"sip_profile: Must be a domain name if you are being a registry
server; otherwise can be any string."
It produces the following config:
Name Type
Data State
=================================================================================================
outbound profile
sip:mod_sofia at MY.PUBLIC.IP:5080 RUNNING (0)
nat profile
sip:mod_sofia at MY.PUBLIC.IP:5060 RUNNING (0)
default profile
sip:mod_sofia at 192.168.1.124:5070 RUNNING (0)
192.168.1.124 alias
default ALIASED
=================================================================================================
3 profiles 1 alias
User's cant register using mydomain.com as domain.
I tried by adding $${sip_profile} as an alias for the default
profile, but that didn't help.
--------------------------------
Regards,
Jonas
More information about the Freeswitch-users
mailing list