[Freeswitch-users] Changing internal profile

Michael Collins msc at freeswitch.org
Sat Jan 17 16:25:36 PST 2009


On Sat, Jan 3, 2009 at 10:21 AM, Brian West <brian at freeswitch.org> wrote:
> The detected domain is 212.235.180.41 which caused this problem.
>
> You have two options here.
>
> Since we detected and set your default domain to 212.235.180.41 on
> start up... you're registering to the 192.168.0.1 ip aka the internal
> interface.
>
> The inbound register packet has:
>
> From: <sip:1000 at 192.168.0.1>
>
> We take the part before the @ aka the username, then we take the part
> after the @ aka the domain name.
>
> FreeSWITCH will then look thru your directory looking for domain which
> in this case is 192.168.0.1
> which it can't find because we detected your public IP and set it up
> as 212.235.180.41.
> So the error message is telling you that you do not have a domain
> called 192.168.0.1 with a user 1000 in it.
>
> So what you have to do here is understand that SIP like email works on
> the concept of domains.  user at host.
>
> A few things you need to know are this:
>
> (SOMEONE WIKIFY THIS PLEASE and expand on it.  Find me on IRC if you
> have questions)

I've put this stuff on the Sofia wiki page:
http://wiki.freeswitch.org/wiki/Sofia#Using_A_Single_Domain_For_All_Registrations

I'm sure it could use some fleshing out and input from those who've
actually used it in a real environment.
-MC

> <wiki>
> sofia profile params:
> challenge-realm:
>
> <param name="challenge-realm" value="auto_from"/> (default
> configuration uses auto_from)
>
> Choose the realm challenge key. Default is auto_to if not set.
>
> auto_from  - uses the from field as the value for the sip realm.
> auto_to    - uses the to field as the value for the sip realm.
> <anyvalue> - you can input any value to use for the sip realm.
>
> force-register-domain:
>
> <param name="force-register-domain" value="$${domain}"/>
>
> This will force the profile to ignore the domain in the to or from
> packet and force
> it to the value listed here for this param.
>
> This will store the info into the database with the user@<from domain
> in sip packet>
>
> force-register-db-domain:
>
> <param name="force-register-db-domain" value="$${domain}"/>
>
> This will work in conjunction with force-register-domain so that the
> forced domain
> is stored in the database also.
>
> </wiki>
>
> ATTENTION HERE IS WHAT YOU SHOULD DO:
>
> So what I recommend for you is to open up internal.xml and uncomment
> the force-register-domain
> and force-register-db-domain params on the internal profile.  Also
> make sure internal.xml has
> sip-ip and rtp-ip set to 192.168.0.1 and make sure your phones
> register to 192.168.0.1.
>
> /b
>
> On Jan 3, 2009, at 11:46 AM, kriko wrote:
>
>> I changed exactly what I wrote in previous mails.
>> Everything else is default.
>>
>> Is there anything else to change?
>
>
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>




More information about the FreeSWITCH-users mailing list