[asterisk-users] ivr testing script

2007-06-16 Thread Ben Wellborn
Hello All,
I want to run a bash script on my asterisk-now machine that will test
our IVR at another site.  I need it to dial the number and, if it
answers, listen for a few seconds and then hang up.  If there are return
codes from the commands that can help me determine the status of the
line, I can then send an email to alert if there was busy tone or no
answer.
I've fiddled with a bash script to send sip show peers and parse it,
but that's about the most of my experience interfacing to asterisk.
Is there a way to do what I want?

Thanks,
Ben W


___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] IVR Testing

2007-04-26 Thread David Ruggles
Does anyone have any scripts or templates that could be used by an Asterisk
box to call an IVR for stress testing? This task seems like it would be
ideally suited to Asterisk and I wanted to see if anyone had already done
this before I started trying to roll my own.

Thanks,

David Ruggles
CCNA MCSE (NT) CNA A+
Network EngineerSafe Data, Inc.
(910) 285-7200  [EMAIL PROTECTED]



___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] IVR Testing

2007-04-26 Thread Victor Toofic
El Thu, Apr 26 de 2007 a las 13:45 -0400, David Ruggles comentaba:
 Does anyone have any scripts or templates that could be used by an Asterisk
 box to call an IVR for stress testing? This task seems like it would be
 ideally suited to Asterisk and I wanted to see if anyone had already done
 this before I started trying to roll my own.

Yes, you can use the SIPp tool with pcap support enabled:

http://sipp.sourceforge.net/doc/reference.html#UAC+with+media

You can take that template and easily add something like this:

pause milliseconds=13000/
nop
action
exec play_pcap_audio=pcap/dtmf_2833_2.pcap/
/action
/nop
pause milliseconds=5000/

nop
action
exec play_pcap_audio=pcap/dtmf_2833_1.pcap/
/action
/nop
pause milliseconds=700/

nop
action
exec play_pcap_audio=pcap/dtmf_2833_2.pcap/
/action
/nop
pause milliseconds=700/

Hope this can help!

___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users