Dial-backup - business hours limit

Hi everybody,
I´m working in a lab that  includes dial-backup for a VSAT link (satellite link). This part of the  lab is working excelent, dial-backup goes up when the VSAT connection is  lost, and goes down when the VSAT link is recovered.
So, all is  ok but... I need to grant dial-backup access only in business hours (ex:  9 am to 5 pm) and deny these the rest of the day.
I  worked with time range + access list + dial-list but it didn´t work for  me. I was following the steps of this link: http://www.cisco.com/en/US/tech/tk801/tk133/technologies_configuration_example09186a0080094089.shtml.
Is there  other way to do this or other idea?
Regards.

Todd,
Sorry for the delay but i was on vacation. At below you´ll find the configuration, specifically highlighted in red the configuration regarding to block dial-in connections. This configuration intends to permit the dial-in connections only on business hours. I know that just is blocking IP traffic but I did not find a way to block PPP or other protocol in a low level.
Could you help me?
Thanks in advance.
Current configuration : 18107 bytes
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
hostname central
boot-start-marker
boot-end-marker
logging message-counter syslog
no logging buffered
no logging console
enable password CVMSLoA
aaa new-model
aaa authentication ppp default local
aaa authorization exec dafault local
aaa session-id common
memory-size iomem 30
dot11 syslog
ip source-route
ip cef
ip domain name test_dbkp
no ipv6 cef
multilink bundle-name authenticated
PURPOSELY REMOVED
username alumine password 0 alumine
username senillosa password 0 senillosa
interface Loopback0
ip address 192.168.2.1 255.255.255.255
interface FastEthernet0/0
description to TELCO1
ip address 10.1.176.1 255.255.255.248
ip nbar protocol-discovery
ip nat outside
ip virtual-reassembly
duplex auto
speed auto
analysis-module monitoring
service-policy output CUSTOMER_QoS
interface FastEthernet0/1
description to TELCO2
ip address 10.1.176.9 255.255.255.248
duplex auto
speed auto
analysis-module monitoring
interface FastEthernet0/1/0
interface FastEthernet0/1/1
interface FastEthernet0/1/2
interface FastEthernet0/1/3
interface Integrated-Service-Engine1/0
ip unnumbered Vlan1
ip nbar protocol-discovery
service-module ip address 10.1.48.253 255.255.255.0
!Application: running
service-module ip default-gateway 10.1.48.1
no keepalive
interface Vlan1
ip address 10.1.48.1 255.255.255.0
ip flow ingress
ip flow egress
ip nat inside
ip virtual-reassembly
no autostate
interface Async1
no ip address
encapsulation slip
async mode interactive
no peer default ip address
interface Async0/0/0
ip unnumbered Loopback0
encapsulation ppp
async dynamic address
async mode interactive
no peer default ip address
dialer-group 2
ppp authentication chap
routing dynamic
interface Async0/0/1
ip unnumbered Loopback0
encapsulation ppp
async dynamic address
async mode interactive
no peer default ip address
dialer-group 2
ppp authentication chap
routing dynamic
interface Async0/0/2
ip unnumbered Loopback0
encapsulation ppp
async dynamic address
async mode interactive
no peer default ip address
dialer-group 2
ppp authentication chap
routing dynamic
interface Async0/0/3
ip unnumbered Loopback0
encapsulation ppp
async dynamic address
async mode interactive
no peer default ip address
dialer-group 2
ppp authentication chap
routing dynamic
interface Async0/0/4
ip unnumbered Loopback0
encapsulation ppp
async dynamic address
async mode interactive
no peer default ip address
dialer-group 2
ppp authentication chap
routing dynamic
interface Async0/0/5
ip unnumbered Loopback0
encapsulation ppp
async dynamic address
async mode interactive
no peer default ip address
dialer-group 2
ppp authentication chap
routing dynamic
interface Async0/0/6
ip unnumbered Loopback0
encapsulation ppp
async dynamic address
async mode interactive
no peer default ip address
dialer-group 2
ppp authentication chap
routing dynamic
interface Async0/0/7
ip unnumbered Loopback0
encapsulation ppp
async dynamic address
async mode dedicated
no peer default ip address
dialer-group 2
ppp authentication chap
routing dynamic
router bgp 1
no synchronization
bgp log-neighbor-changes
network 10.1.48.0 mask 255.255.255.0
network 10.222.48.0 mask 255.255.255.0
network 192.168.2.1 mask 255.255.255.255
neighbor 10.1.176.25 remote-as 4
neighbor 10.1.176.25 ebgp-multihop 255
neighbor 10.1.176.33 remote-as 5
neighbor 10.1.176.33 ebgp-multihop 255
neighbor 10.1.176.41 remote-as 6
neighbor 10.1.176.41 ebgp-multihop 255
neighbor 10.1.176.49 remote-as 7
neighbor 10.1.176.49 ebgp-multihop 255
neighbor 10.1.176.57 remote-as 8
neighbor 10.1.176.57 ebgp-multihop 255
neighbor 10.1.176.65 remote-as 9
neighbor 10.1.176.65 ebgp-multihop 255
neighbor 10.1.176.73 remote-as 110
neighbor 10.1.176.73 ebgp-multihop 255
neighbor 10.1.176.81 remote-as 11
neighbor 10.1.176.81 ebgp-multihop 255
neighbor 10.1.176.89 remote-as 12
neighbor 10.1.176.89 ebgp-multihop 255
neighbor 10.1.176.97 remote-as 13
neighbor 10.1.176.97 ebgp-multihop 255
neighbor 10.1.176.105 remote-as 14
neighbor 10.1.176.105 ebgp-multihop 255
neighbor 10.1.176.113 remote-as 15
neighbor 10.1.176.113 ebgp-multihop 15
neighbor 10.1.176.121 remote-as 16
neighbor 10.1.176.121 ebgp-multihop 255
neighbor 10.1.176.129 remote-as 17
neighbor 10.1.176.129 ebgp-multihop 255
neighbor 10.1.176.137 remote-as 18
neighbor 10.1.176.137 ebgp-multihop 255
neighbor 10.1.176.145 remote-as 19
neighbor 10.1.176.145 ebgp-multihop 255
neighbor 10.1.176.153 remote-as 20
neighbor 10.1.176.153 ebgp-multihop 255
neighbor 10.1.176.161 remote-as 21
neighbor 10.1.176.161 ebgp-multihop 255
neighbor 10.1.176.169 remote-as 22
neighbor 10.1.176.169 ebgp-multihop 255
neighbor 10.1.176.177 remote-as 24
neighbor 10.1.176.177 ebgp-multihop 255
neighbor 10.1.176.185 remote-as 25
neighbor 10.1.176.185 ebgp-multihop 255
neighbor 10.1.176.193 remote-as 220
neighbor 10.1.176.193 ebgp-multihop 255
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 10.1.176.6
ip route 10.1.48.253 255.255.255.255 Integrated-Service-Engine1/0
ip route 10.1.176.0 255.255.255.0 10.1.176.2
ip route 10.1.176.24 255.255.255.248 10.1.176.10
ip route 10.1.176.40 255.255.255.248 10.1.176.10
ip route 10.1.176.64 255.255.255.248 10.1.176.10
ip route 10.1.176.72 255.255.255.248 10.1.176.10
ip route 10.1.176.88 255.255.255.248 10.1.48.16
ip route 10.1.176.152 255.255.255.248 10.1.176.10
ip route 10.1.176.200 255.255.255.248 10.1.48.16
ip route 10.1.176.208 255.255.255.240 10.1.48.16
ip route 10.1.176.248 255.255.255.248 10.1.176.10
ip route 10.2.48.0 255.255.255.0 10.1.176.2
ip route 10.3.48.0 255.255.255.0 10.1.176.2
PURPOSELY REMOVED
access-list 1 permit 192.168.150.199
access-list 1 permit 10.1.176.2
access-list 1 permit 10.1.176.6
access-list 1 permit 10.1.48.0 0.0.0.255
access-list 1 permit 10.222.48.0 0.0.0.255
access-list 101 permit ip any any time-range BUSINESS-HOURS
access-list 101 deny ip any any
dialer-list 2 protocol ip list 101
snmp-server community RTPE-T-2 RO
snmp-server community RTPE-R-2 RO
snmp-server community RTPE-W-2 RO
snmp-server location CCTE
snmp-server contact AREA C+T
snmp-server host 10.1.48.19 RTPE-T-2
snmp-server host 10.1.48.219 RTPE-T-2
control-plane
voice-port 0/2/0
voice-port 0/2/1
voice-port 0/2/2
voice-port 0/2/3
dial-peer voice 1 pots
preference 1
destination-pattern *1
port 0/2/0
dial-peer voice 2 pots
preference 2
destination-pattern *1
port 0/2/1
dial-peer voice 3 pots
preference 3
destination-pattern *1
port 0/2/2
dial-peer voice 4 pots
preference 4
destination-pattern *1
port 0/2/3
dial-peer voice 5 pots
preference 1
destination-pattern [5-7]...
port 0/2/0
forward-digits all
dial-peer voice 6 pots
preference 2
destination-pattern [5-7]...
port 0/2/1
forward-digits all
dial-peer voice 7 pots
preference 3
destination-pattern [5-7]...
port 0/2/2
forward-digits all
dial-peer voice 8 pots
preference 4
destination-pattern [5-7]...
port 0/2/3
forward-digits all
dial-peer voice 9 voip
destination-pattern 199
session protocol sipv2
session target ipv4:10.255.48.227
no vad
dial-peer voice 10 voip
destination-pattern 101
session protocol sipv2
session target ipv4:10.3.48.3
no vad
dial-peer voice 11 voip
destination-pattern 102
session protocol sipv2
session target ipv4:10.3.48.35
no vad
dial-peer voice 12 voip
destination-pattern 103
session protocol sipv2
session target ipv4:10.3.48.67
no vad
dial-peer voice 13 voip
destination-pattern 121
session protocol sipv2
session target ipv4:10.2.48.3
no vad
dial-peer voice 14 voip
destination-pattern 122
session protocol sipv2
session target ipv4:10.4.48.3
no vad
dial-peer voice 15 voip
destination-pattern 123
session protocol sipv2
session target ipv4:10.18.48.3
no vad
dial-peer voice 16 voip
destination-pattern 131
session protocol sipv2
session target ipv4:10.12.48.3
no vad
dial-peer voice 17 voip
destination-pattern 132
session protocol sipv2
session target ipv4:10.220.48.3
no vad
PURPOUSLY REMOVED
line con 0
line aux 0
stopbits 1
line 0/0/0 0/0/7
modem InOut
autoselect ppp
stopbits 1
speed 57600
flowcontrol hardware
line 66
no activation-character
no exec
transport preferred none
transport input all
transport output lat pad telnet rlogin lapb-ta mop udptn v120 ssh
line vty 0 4
access-class 1 in
privilege level 15
transport input telnet ssh
line vty 5 15
access-class 1 in
privilege level 15
scheduler allocate 20000 1000
time-range BUSINESS-HOURS
periodic daily 09:00 to 17:00
end

Similar Messages

  • Business Hours on Account | limit the available options

    Hello Guru's,
    On the assignment block  "Business hours" on the Account you have three flavours;
    1. Calling Hours
    2. Business Hours
    3. Goods Receiving Hours
    In the SAP GUI you have the option to hide one of these options for maintenance. So a user can not maintain Calling Hours for an Account. Does anyone of you know if you have the same kind of setting to have this limitation in the WebUI?
    Thanks for the help!
    Regards,
    Joost

    Yes, by design. Because server scenarios are not planned for, designed, or accounted in ConfigMgr. Also, business hours were meant to be user control mechanisms and so no central control was added for them or anything about them -- thus the scripts that
    are out there which are your only real option to address your scenario (besides smacking people that don't know what they're doing :-) ).
    Sounds like something to submit on connect.microsoft.com though.
    Jason | http://blog.configmgrftw.com | @jasonsandys

  • Need help on dial backup with ISP

    I've been googling around a couple hours and can't find a simple configuration for dial backup to an Internet Service Provider.
    So far, what I've been able to find is direct dialing to routers and dial backup using ISDN.
    All I need is for a router to dial. The ISP uses PAP/CHAP authentication and dynamically assigns IP addresses to dialup accounts.
    I have an 1841 router with a T1 line on S0/0/0. I want it to fail over to the modem on the AUX port and use that as the new default gateway for all traffic.
    Any help is appreciated.

    I think you can use Dial on Demand Routing (DDR) as described here:
    http://www.cisco.com/en/US/tech/tk801/tk133/tsd_technology_support_protocol_home.html
    and this particular guide as well:
    http://docwiki.cisco.com/wiki/Internetwork_Design_Guide_--_Designing_DDR_Internetworks#Dial_Backup_for_Leased_Lines
    Basically your dial connection will not be active until certain traffic will pass through.
    Now, to pass traffic only when primary is down, you can define a static floating route as explained above, which is a route with a higher admin distance than the default one, so if the normal route is up, nothing will pass to the dialer, if it's down, the route to the dialer will be used.
    To detect that primary route is down, either use dynamic routing or route tracking as suggested.
    I hope that helps.
    Regards,
    bastien.

  • CUIC Custom Report for Business Hours for Weekdays Only

    Customer wants a UCCX custom report which we are building with CUIC Premium.  The one criteria we are having issue with deals with the ability to selects days of the week BUT only with specific hours of the day for each of the days selected.  So customer want to be able to run the report for Monday to Friday but from 8AM to 5PM for each of those days, so essentially during business hours only.  The built in Absolute Date Range does not work because that would run the report starting Monday at 8AM until Friday at 5PM.
    Thanks,
    Dan

    dicharville,
    Our 3rd party solution lets you produce historical reports by "shifts" by each day.  In your case each day agents having the shift of 8 - 5.  Let me know if you would like to discuss in detail how our solution can accomplish this and more.
    Thanks,
    Ron Reif / [email protected]
    651-635-2822

  • Very High messages not forwarded to SAP out of the Business Hours

    Dear Gurus,
    I work for a SAP partner and we have the Solution Manager 7.0 + EHP1, SP stack 24, running under a Windows Server Machine with MS Sqlserver Data Base and we're facing the following problem:
    In between the business hours we are able to forward messages to SAP manually, however, after the business hours, messages set as 'very high' priority aren't being forwarded automatically to SAP.
    We have already triple checked the configs listed on the SAP Notes 1084744, as well ran the Z-Report included in the note 1225682, however no success at all.
    Would you kindly please shed a light on this matter?
    Thank you in advance.
    Everton.

    Hello Everton,
    If you are a var Customer using the transaction type ZLFN and action profile ZSLFN0001_ADVANCED, the action profile should be AI_SDK_STANDARD.
    I don't now if that is the case.
    If your issue persists, please trigger a message in SV-SMG-SUP.
    Best regards,
    Guilherme

  • How to Calculate End-Date for a given Startdate in business hours without holidays

    Hello Experts,
    I need to create a plsql function where we need to determine end date for a task. For this, input will be only start date & number of hours allocated for that task. Based on this input we need to exclude Business hours & need to include only Business hours. and in the end we need to achieve the end date after the hour addition to the start date.
    Example : INPUT: 03-OCT-2013 12:00:00 PM /
                                  Hours Allocated 30 Hrs.
    Business Hours - 11 AM to 9 PM.
    So time starts from or Startdate is Friday 03-OCT-2013 12:00:00 PM. 
    So If I want to calculate the end-date by adding 30 hours to it, it should come WednesDay 09-OCT-2013 12:00:00 PM because I excluded Weekends & considered only business hours that is 11 am to 9 pm.
    I am not able to get any such guidance in Internet as most of the docs are having start & end date as input.
    Please help!
    Thanks in advance !!

    Hi,
    As Christ said, there's no nuilt-in Oracle function to tell whether a given DATE is a holiday or not, partially because there's so much local variation in holidays.  You can write a function like that (see http://forums.oracle.com/forums/message.jspa?messageID=3351081 ), but creating a table will be simpler and more efficient.
    I suggest creating a row for every date, whether it's a work day or not; that way, you can have variations in the schedule (e.g., schedule changes and
    partial holidays).
    CREATE TABLE  work_calendar
    (   dt  DATE       PRIMARY KEY
                       CONSTRAINT  work_calendar_dt
                           CHECK (dt = TRUNC (dt))
    ,   day_type       VARCHAR2 (8)  NOT NULL
                       CONSTRAINT  work_calendar_day_type
                           CHECK ( day_type IN ( 'HOLIDAY'
                                               , 'WEEKEND'
                                               , 'WORK DAY'
    ,   start_time     DATE
    ,   end_time       DATE
    ,   work_hours     NUMBER
    ,   work_hours_since_1970     -- or some point earlier than you'll ever need
                       NUMBER
    ,   CONSTRAINT  work_calendar_start_time
            CHECK ( TRUNC (start_time) = dt)
    ,   CONSTRAINT  work_calendar_end_time
            CHECK ( TRUNC (end_time) = dt)
    This will let you do a lot of the calculations you need without a function.

  • I'm looking for a voicemail app that will automatically switch over after normal business hours and play an alternate voice-mail message. Does this currently exist?

    I’m looking for a voicemail app that will automatically switch over after normal business hours and play an alternate voice-mail message. Does this currently exist?

    Voicemail is through your carrier and on their equipment.
    It's function and features is set by them, not your phone.

  • Need ANI details of calls landing during Out of business hours

    Hello All,
    Our Contact Center management has raised a new requirement to report with the ANI details of calls landing at any skill groups during put of business hours.
    Options that we have is
    1. Webview report - Call Type 22 and 23
    But in this, If we specify put of business timings and generate the report it will give the number of calls and not its ANI.
    2. Call detail report from our custom report application.
    Here the problem is, this report will give details of calls landing during business hours alone. The reason is that only the calls that utilizes VXML ports in CVP gets to this custom report. The calls coming in during of hours is handled at ICM level and to play the out of office hours prompt it utilizes CVP port not VXML and terminates the call.
    Is there any way to get this ANI details without having to modify this custom report much. Please assist in this. Let me know if you need any more details.

    That's pretty strange.
    Let's just see how you are doing this. Once you detect the out of hours situation in your Routing Script (either by checking a Global variable refreshed by an Admin script or by having a Time of Day node directly in the routing script), do you set a Call Type?
    Then after setting the call type, I assume you play a CVP message and Release the call. Correct?
    When you query the TCD on this call type you should only see your after hours calls. Let's look at one of the calls.
    You should see two rows in the TCD, one with the DNIS of your number on the gateway, or from the PSTN carrier, and one with the VRU transfer label (say 8111111111) - maybe that's in the DigitsDialed column, I'm not in front of an HDS database and can't check. This is all you should see for a call that comes out of hours.
    Both these legs should have the same RouterCallKey with different RouterCallKeySequenceNumbers.
    Do you see this?
    What is happening with another call at a similar time with a different RouterCallKey ? That doesn't make sense.
    Maybe you could do a query and show us the output?
    Regards,
    Geoff

  • IS- Retail - Cycle count during business hours

    Hi ,
      I am trying to do cycle count thru the POS system, and this is during business hours.  We want to perform cycle count at the stores using the POS system and update SAP.  I checked in SAP Help and its very confusing and its not step by step.  The config path provided in SAP Help also is not updated.  Is there any documents or materials that anyone of you can provide me.  Any information provided is appreciated.
    Thanks,
    Amauris.

    Hi,
    SAP has introduced this new functionality called Physical Inventory during Opening hours along with EhP3 along with POS DM. Which means in case you want to carry out physical inventory during business hours, you will require POSDM as well as EHP3 installed as well as relevant Business function set activated to carry this out.
    In case you do not have POSDM in your landscape i dont think you can do it.
    Hope this helps
    Regards
    Manish

  • What is the impact if Stats Gather runs in business hours.

    Hi
    I have a Production Database in which Stats gather is running every alternative day as per the business requirement.
    This Stats gather job starts at 7 PM. As data growing in this Database Time taken for this Job also increasing.
    Now a days, This job is taking more than 14 hours to Analyze the Production Schema! It is completing at
    9 AM in next day by the time business time starts.
    Below is the script which we are using.
    EXEC DBMS_STATS.GATHER_SCHEMA_STATS(ownname=>'${schema_name}',estimate_percent=>'',method_opt => 'FOR ALL COLUMNS SIZE
    AUTO',cascade => TRUE,options=>'GATHER');
    1. Is it recommended to run the stats gather in business hours?
    2. How can We tune this Schema gather, so that this will take less time.
    Appreciate the help.
    Thanks in Advance.

    Hello,
    Gathering statistics is an heavy operation which should be done out from the Business hours.
    If you are in *10g* or *11g*, normally every night (after 10 PM) the statistics are gathered.
    Else, you can also use the following option:
    options            => 'GATHER STALE' By that way, You would speed up analyze by analyzing only tables with more than 10% data change. But the MONITORING option must be enabled first on each Table.
    You may find here some tracks about GATHER_STALE option:
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:2453570168793
    Hope this help.
    Best regards,
    Jean-Valentin

  • Ports to shutdown after business hours

    what i am trying to accomplish here is to configure half a dozen ports on a 3550 cisco switch to automatically shut down after business hours. I would also like the port to automatically enable 5 minutes before business open. i cant find anything in cisco that would allow me to do this. please help or point me to a direction.

    Hello,
    have a look at the following documents:
    Schedule commands with Cisco IOS' kron
    http://techrepublic.com.com/5100-1035_11-5553313.html#
    Command Scheduler
    http://www.cisco.com/en/US/products/sw/iosswrel/ps5187/products_feature_guide09186a00801b0695.html
    I am not sure if this works on a 3550...
    Regards,
    GP

  • Restrict data to after Business hours only...

    hi all,
    I am trying to ascertain how many services calls are logged to a particular workgroup made after business hours i.e. after 6.00 pm(18:00hrs) and before 7am (07:00hrs), each day for past 2 months.
    so how do i restrict the data only between these times.
    i am confused as 7.00am fall on the next day early morning.??? thus data is restricted to from 6 in evening to 7:00 hrs next day in morning.
    any inputs or ideas will be highly appreciated mate..
    regards
    abhi.

    Use a record selection formula that ONLY pulls times (hopefully you have a date time field) that are between 6pm and midnight OR between midnight and 7am.

  • Creating a business hours function

    I am new to oracle and I need to create a function that will take two datestamp and then tell me how many business hours are between those two dates.
    Business hours are 6:00 Am to 6:00 pm Monday to Friday.
    For example: if my startdate is 7/20/2010 8:00 am and end date us 7/2/2010 9:00 pm. The total work hour will be 10 hours not 13.
    Another scenario:
    start date: 7/20/2010 3:00 am and end time 7/20/2010 6:01 am. The total work hour is 1 min.
    I am having serious difficulty with that.
    Thanks
    Amir

    Hi, Amir,
    user10356209 wrote:
    Frank,
    Thanks for your response. I really do not have a table that I need for this functiion. Right. The table is just for testing the function. Post a few rows to test.
    CREATE OR REPLACE FUNCTION     business_hours
    (      in_start_dt       IN          DATE     DEFAULT SYSDATE
    ,      in_end_dt       IN          DATE     DEFAULT     SYSDATE
    RETURN     NUMBER
    DETERMINISTIC
    IS
    --           **   b u s i n e s s _ h o u r s   **
    --          business_hours returns the number of work houts (6 am through 6 pm,
    --          Monday through Friday) between in_start_dt and in_end_dt.
    --          If in_start_dt > in_end_dt, the results will be <= 0.
    --          Holidays are not considered.
         d          NUMBER;                                -- Hours of either start_dt or end_dt after midnight
         end_dt          DATE    := GREATEST (in_start_dt, in_end_dt);  -- In case dates were in wrong order
         return_val     NUMBER;                                      -- Total number of working hours
         start_dt     DATE    := LEAST    (in_start_dt, in_end_dt);  -- In case dates were in wrong order
    BEGIN
         WITH     all_days     AS
              SELECT     start_dt + LEVEL - 1     AS a_dt
              FROM     dual
              CONNECT BY LEVEL <= 1 + TRUNC (end_dt) - TRUNC (start_dt)
         SELECT     SUM (12)
         INTO     return_val
         FROM     all_days
         WHERE     TO_CHAR ( a_dt
                   , 'Dy'
                   , 'NLS_DATE_LANGUAGE = ''ENGLISH'''
                   )       NOT IN ('Sat', 'Sun');
         -- Adjust hours from start_dt, if necessary
         IF  TO_CHAR ( start_dt
                      , 'Dy'
                  , 'NLS_DATE_LANGUAGE = ''ENGLISH'''
                  ) NOT IN ('Sat', 'Sun')
         THEN
              d := 24 * (start_dt - TRUNC (start_dt));
              IF  d >= 18
              THEN       -- Don't count start_dt itself
                   return_val := return_val - 12;
              ELSIF  d > 6
              THEN    -- Don't count part of start_dt
                   return_val := return_val - (d - 6);
              END IF;
         END IF;
         -- Adjust hours from end_dt, if necessary
         IF  TO_CHAR ( end_dt
                      , 'Dy'
                  , 'NLS_DATE_LANGUAGE = ''ENGLISH'''
                  ) NOT IN ('Sat', 'Sun')
         THEN
              d := 24 * (end_dt - TRUNC (end_dt));
              IF  d <= 6
              THEN       -- Don't count end_dt itself
                   return_val := return_val - 12;
              ELSIF  d < 18
              THEN    -- Don't count part of end_dt
                   return_val := return_val - (18 - d);
              END IF;
         END IF;
         IF  in_start_dt > in_end_dt
         THEN
              return_val := -return_val;
         END IF;
         RETURN     return_val;
    END     business_hours
    ;Edited by: Frank Kulash on Jul 20, 2010 6:49 PM

  • Thank you. Save or print this page for your records. We'll also send you an email confirmation. Case ID: 421912520 You have chosen to call Apple later. When you're ready, call the phone number below during business hours and refer to your Case ID for fas

    Thank you.
    Save or print this page for your records. We'll also send you an email confirmation.
    Case ID: 421912520
    You have chosen to call Apple later. When you're ready, call the phone number below during business hours and refer to your Case ID for faster support.
    1-800-MY-IPHONE
    6:00 a.m. to 11:00 p.m. Central
    iPhone
    Restore or update not working as expected
    You can review this case in the Cases &amp; Repairs section.
    Additional Resources
    Return to Apple Support home.
    Visit your Support Profile.
    Create another support request.
    Your contact information
    Onechai John
    <Email Edited by Host>

    They already have your number and/or email address and maybe have sold it several times already to others as well. They also use number generators - software that will automatically create them - some work and some don't, they don't care, they send out millions and a few will fall for it and send them money. The only way to "hide" would be to change both and your password, but then it would happen again at some point.

  • Building a report filter that excludes non-business hours and weekends

    Hi All,
    I need to know if this can be done in Answers:
    I have built a system in CRM that captures timestamps when SRs are moved into and out of stages in the SR resolution lifecycle. Then I have a report that uses timestampdiff to calculate the time that a SR spends in each SLA metric window (Respond, Diagnose, Resolve). The report currently displays only the hard difference based on a 24 hour clock.
    We need to be able to build a filter that will exclude any non-business hours (say outside of 9:00 to 5:00) and weekends, so that if my Respond window is 2 hours and an issue is recorded with a Response Start timestamp of 4:00pm, the report would show that if the Response Stop timestamp is at 9:30am the next business day, the SR met the required SLA.
    Does anyone know if this can be done? If so, any insight on how to build it? I've seen a document that explains how to exclude weekends from workflow, but can the same thing be done in reporting?
    This is a very urgent request and any help here is greatly appreciated.
    Thanks!

    Exclude weekends you can do but not business hours but perhaps you can create something....if timestampdiff(Days) greater than 1 then take off 16 hours....Mike Lairsons book has the formula for excluding weekends and I think someone may have posted it in this forum if you search for it.
    cheers
    alex

Maybe you are looking for

  • Sending a File (XML or TXT) as attachment to Mail Adapter

    Dear all, In a scenario I'd like to pull a file by using  'File Adapter' and send it (without content change) as attachment to an Email recipient. Is their any possibility to send a file by using Mail Adapter? Do you have any similar solution in plac

  • Pressing ^[ causes screen to pause redrawing the terminal, annoyingly

    I've come across an annoying behavior in GNU Screen. It's most prominent in vim: when I enter insert or command-line mode and press ^[ (escape), nothing happens for about .75 seconds, then the 'INSERT' indicator (or prompt) disappears. However, if I

  • FIx for Problems opening PDF files

    Forget about downloading a new version of Adobe Reader. If you are having problems opening a PDF file all you have to do is right click on the file and Save As (someplace you can go back to such as Desktop)Then go to the desk top (Windows Key + D) an

  • DG_CL USER DEFINED TEXT POPULATING THE DG MASTER DURING FILL

    Good day,    My question is regarding having the Dangerous Goods User-Define Text (SAP_EHS_1022_042)  characteristics SAP_1022_042_PPDG (Profile) & SAP_EHS_1022_042_TEXT) populate on to the DG Master during fill. 1.  The characteristics are maintaine

  • New RAM in MacPro 1,1 MHz?

    Hi. We're expanding my wife's MacPro 1,1 with more RAM from a reputable Mac reseller, and they gave us 800 MHz RAM. The Apple PDF says it should be 667 MHz. Is this safe? Also, it's not in matched pairs. Any suggestions? Thanks as always, Brandon