On Fri, May 20, 2011 at 6:42 AM, George Niculae <[email protected]> wrote:

> On Fri, May 20, 2011 at 12:27 PM, Domenico Chierico
> <[email protected]> wrote:
> > some hints about where/how to start
>
> there is sipxconfig work to be done (check the default auto attendant
> dial plan - if you click on its name and select holiday attendant
> there is a Holiday component that could be reused for custom dial
> plans).
> Then based on this component selection we could calculate the
> sipx-ValidTime to apply this dialing rule (check
> org.sipfoundry.sipxconfig.admin.forwarding.Schedule.calculateValidTimes
> on how the time is calculating - it will result in something as
>
> <fieldparams>sipx-ValidTime=2328:2544:168:384</fieldparams>
>
> in /etc/sipxpbx/mappingrules.xml
>
> So basically a custom rule right now is generated as
>
>  <userMatch>
>      <!--ccccc-->
>      <callTag>CUST</callTag>
>      <userPattern/>
>      <permissionMatch>
>        <transform>
>          <user/>
>          <fieldparams>sipx-ValidTime=2328:2544:168:384</fieldparams>
>        </transform>
>      </permissionMatch>
>    </userMatch>
>
>  where sipx-ValidTime=2328:2544:168:384 is calculated according to the
> associated schedule. I am thinking that we could amend this to include
> the vacation time. Need also to check the operation side and see what
> changes are required (check
> sipXcommserverLib/src/digitmaps/UrlMapping.cpp)
>
> george
>
> If this is truly going to be worked on, it would be nice to see a JIRA. I
say that because adding a schedule/dialplan makes total sense. If all that
work is going to be done, then it might also make sense to add a custom
greeting to the holiday too...


> >
> > --- Ven 20/5/11, George Niculae <[email protected]> ha scritto:
> >
> >> Da: George Niculae <[email protected]>
> >> Oggetto: Re: [sipx-users] holidays list
> >> A: "Discussion list for users of sipXecs software" <
> [email protected]>
> >> Cc: [email protected]
> >> Data: Venerdì 20 maggio 2011, 09:11
> >> On Fri, May 20, 2011 at 12:03 PM,
> >> Domenico Chierico
> >> <[email protected]>
> >> wrote:
> >> > Is there any way to use holidays as schedules for dial
> >> plan rules?
> >> >
> >>
> >> AFAIK there is not but sounds like a nice improvement
> >>
> >> George
> >> _______________________________________________
> >> sipx-users mailing list
> >> [email protected]
> >> List Archive: http://list.sipfoundry.org/archive/sipx-users/
> >>
> > _______________________________________________
> > sipx-users mailing list
> > [email protected]
> > List Archive: http://list.sipfoundry.org/archive/sipx-users/
> >
> _______________________________________________
> sipx-users mailing list
> [email protected]
> List Archive: http://list.sipfoundry.org/archive/sipx-users/
>
_______________________________________________
sipx-users mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-users/

Reply via email to