test outbound call to pstn

Version 1
    This document was generated from CDN thread

    Created by: Kevin Frazer on 30-08-2012 04:08:30 PM
    Hi!
     
    Are there any tcl scripts that can make an outbound call to a pstn (by seizing an FXO port or similar?) number based on time of day? ideally, it would try the call every 2 to 4 hours, then produce a success/failure result report via snmp or syslog? if this is not possible, is there any third party tool that can accomplish?

    Subject: RE: test outbound call to pstn
    Replied by: Raghavendra Gutty Veeranagappa on 31-08-2012 03:34:11 AM
    Hi Kevin,

    we don't have any such tcl scripts, you can make use of timer command to make a call after timer expired for certain time and then write the call staus to some file , but i am not sure about reporting via snmp or syslog and not aware of any such tools.

    for more information you can refer TCL-IVR programming guide in documentation section.

    Thanks,
    Raghavendra

    Subject: RE: test outbound call to pstn
    Replied by: Paolo Bevilacqua on 31-08-2012 03:39:34 AM
    Yes, it is usually possble to do thing like that, you can contact me at info@ciscoscripts.com to have script written for you.

    Subject: RE: test outbound call to pstn
    Replied by: Yaw-Ming Chen on 04-09-2012 02:25:05 PM
    If you know Cisco EEM http://www.cisco.com/en/US/products/ps6815/products_ios_protocol_group_home.html
    You can use EEM watch dog trigger
    something like :
    event manager environment ivr_cmd1 call application voice load pg
    event manager environment ivr_cmd2 call application session start test pg

    to execute your outbound script


    within your Tcl script use "log" command to generate syslog

    The log command originates a syslog message.
    Syntax
    log -s <CRIT | ERR | WARN | INFO> <message text>
    Arguments
    • -s <CRIT | ERR | WARN | INFO>—The severity of the message.
    – CRIT—Critical
    – ERR—Error message (default)
    – WARN—Warning message
    – INFO—Informational message


    In fact EEM can catch syslog trigger as well, over there you can do addition things

    I know someone did this before and it's working fine for them

    Subject: RE: test outbound call to pstn
    Replied by: Kevin Frazer on 04-09-2012 01:16:32 PM
    Hi Raghavendra,

    I will check the documentation.

    Subject: RE: test outbound call to pstn
    Replied by: Kevin Frazer on 04-09-2012 01:21:09 PM
    Paolo,

    I'll try to reach you with the contact info provided.