[Freeswitch-users] Configuration Preservation throughTrunkUpdates

Dave Stevenson stevendt at primrosebank.net
Wed Jan 20 11:44:09 PST 2010


Brian,

Following on from before, there's one item that I can't see how to do outside of modifying the directory\default.xml file, and that is setting up call groups.

I thought that I'd perhaps be able to do something similar to creating user dial plans and create a new file in directory\default\  which would be loaded before the other extensions, i.e., called something like 00_groups.xml and have the call group created there. (My test file is shown below). That did not seem to work, am I on the right lines or should custom groups get created somewhere else ?

regards
Dave


<!-- Group Configuration File -->

<include>
    <groups>
      <group name="primrose">
         <users>
           <user id="101" type="pointer"/>
           <user id="111" type="pointer"/>
         </users>
      </group>

    </groups>

</include>



  ----- Original Message ----- 
  From: Brian West 
  To: freeswitch-users at lists.freeswitch.org 
  Sent: Wednesday, January 20, 2010 5:34 PM
  Subject: Re: [Freeswitch-users] Configuration Preservation throughTrunkUpdates


  You should NEVER install anything into a config folder if one already exists.  But you're free to do what you want locally but we will NEVER allow the install process to install extra files or overwrite existing configs its bad behavior to do so.


  /b


  On Jan 20, 2010, at 11:29 AM, Dave Stevenson wrote:


    Hi Thanks Brian,

    OK, but I'm sure everyone has their own requirements for dialplan actions, extensions etc. If I understand you right, you're saying that I should leave all the defaults (dialplans, extensions etc.) in place and do anything specific to my installation in separate files ?

    I think that I can see how that would work :-

    Provided that I use extensions not already defined in dialplan\default.xml. then any extensions that I add won't be touched by FS.
    What if I redefined a pre-defined extension, would it take precedence over the data in dialpan\default.xml ?

    Any user dialplan actions would go into nn_xxxx.xml files in the dialplan\defaults dir and be processed after dialpan\default.xml ?

    If I understand correctly, I'll head off and put things right !

    regards
    Dave





------------------------------------------------------------------------------


  _______________________________________________
  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/20100120/a777c783/attachment-0002.html 


More information about the FreeSWITCH-users mailing list