[Freeswitch-users] directory with several xl files

Ivan C Myrvold ivan at myrvold.org
Thu Mar 27 09:01:01 PDT 2008


Tried that myself today, but it is not working for me. Probably  
something is missing.
Here is what I did:

1. I added a new Built-In Ethernet in Network and gave it an IP- 
address other than what I already have.
2. In vars.xml I added the new domain (domain2) in addition to domain:
   <X-PRE-PROCESS cmd="set" data="domain=$${local_ip_v4}"/>
   <X-PRE-PROCESS cmd="set" data="domain2=192.168.207.214"/>

3. In sip_profiles, I duplicated default.xml and edited it to use $$ 
{domain2} and port 5090

4. In directory folder, I duplicated both the default.xml file and  
default folder, and edited the new file to use $${domain2}

5. Then I directed one of my PAP2 to 192.168.207.214 and use port 5090.

But I see in wireshark that the register message from pap2 is not  
answered.

What have I missed here?
I only tried this to try to have a better understanding of how the new  
file structure in conf is working now.

Ivan

Den 26. mars. 2008 kl. 21:42 skrev Brian West:

> I currently have mine setup with two domains and its working great.
>
> /b
>
> On Mar 26, 2008, at 2:04 PM, Ivan C Myrvold wrote:
>
>> Ok, that makess sense.
>>
>> Thanks!
>>
>> Ivan
>>
>> Den 26. mars. 2008 kl. 19:43 skrev Brian West:
>>
>>> Notice at the top of n1.xml and n2.xml
>>>
>>> n1.xml <domain name="n1.domain.com">
>>>
>>> n2.xml <domain name="n2.domain.com">
>>>
>>>
>>> Now n1.domain.com and n2.domain.com should BOTH point at the sofia
>>> profile and your devices will register with n1.domain.com or
>>> n2.domain.com
>>>
>>> Thats how it matches it up.
>>>
>>> /b
>>>
>>>
>>> On Mar 26, 2008, at 12:28 PM, Ivan C Myrvold wrote:
>>>
>>>> I am not sure if this is a bug, or if this is how it should behave:
>>>>
>>>> If you in conf/directory have two files, say n1.xml and n2.xml, and
>>>> two directories n1 and n2, and n1.xml includes files from n1 and
>>>> n2.xml includes files from n2,
>>>> then registrations are not working properly.
>>>>
>>>> Is this correct? Maybe it is supposed to only be one xml file in
>>>> conf/
>>>> directory?
>>>>
>>>> Ivan
>>>>
>>>> _______________________________________________
>>>> 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
>>>
>>>
>>> _______________________________________________
>>> 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
>>>
>>
>>
>> _______________________________________________
>> 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
>
>
> _______________________________________________
> 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