hazzanz wrote: > Hello, > > I am looking at replacing an Asterisk system with sipXecs 4.0 and cannot > work out how to do the following: > > 1) We have two locations and trunk from a central site - one trunk for > each location > > 2) We have custom contexts in Asterisk which direct seven digit local > number to the appropriate trunk (I know I can do this in sipXecs with > gateway locations - groups) > > 3) The hard bit is that we have to add a location based prefix to these > local numbers for them to dial successfully i.e. > Location 1 - dial xxxxxxx - dialplan adds prefix - number dialled out > trunk1 as 04 xxxxxxx > Location 2 - dial xxxxxxx - dialplan adds prefix - number dialled out > trunk2 as 06 xxxxxxx > > Am I correct in saying that there is no location based dialplan in > sipXecs or am I missing something? > > All help appreciated > Harry >
One option would be to use location based gateways (new feature in 4.0). - Add 2 user groups "location1" and "location2" - add users to those groups as needed. - Add 2 gateways "trunk1" and "trunk2" - depending on your configuration they may actually point to the same IP address/DNS name. When adding new gateways make sure that they are *not* shared and then "trunk1" location is "location1" and "trunk2" location is "location2" - Go to Dial Plan tab on each gateway and configure 04 and 06 as needed prefixes. - When configuring dial plans add *both* gateways to your rules. Trunk1 will be used for users from location1 and trunk2 will be used for users in locations2. D. _______________________________________________ sipx-users mailing list sipx-users@list.sipfoundry.org List Archive: http://list.sipfoundry.org/archive/sipx-users Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-users