[Freeswitch-users] directory with several xl files

Brian West brian.west at mac.com
Thu Mar 27 10:09:19 PDT 2008


Let me give you a little hint.. if you're going to do this with  
domains.. USE DOMAIN NAMES not IP's ;)

Right now I have sip.bkw.org and sip.mcalester.net pointed at the same  
box on my network.. a Snom 370 registered with both domains to the  
same sofia profile.  Works great.

Remember SIP like email works the same .. user at domain.com  ...  you  
don't dare email someone user at 1.2.3.4 its impractical right?  (you can  
but nobody does)

/b

On Mar 27, 2008, at 11:48 AM, Ivan C Myrvold wrote:

> My previous post were too ugly. Here is a pastebin of it:
> http://pastebin.ca/959688
>
> Ivan
>
> Den 27. mars. 2008 kl. 17:30 skrev Dale Thatcher:
>> Ivan,
>>
>> What do you get when you do a 'sofia status' on the command line?
>>
>> thanks,
>>
>> - Dale
>>
>> On Thu, 2008-03-27 at 17:01 +0100, Ivan C Myrvold wrote:
>>> 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
>>>>
>>>
>>>
>>> _______________________________________________
>>> 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
>> ------------------------------------------------
>> http://myhelpa.com - Mobile search the easy way.
>>
>> _______________________________________________
>> 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20080327/52a0b60d/attachment-0002.html 


More information about the FreeSWITCH-users mailing list