[asterisk-users] DTMF Testing software to test IVR system
Satish Barot
satish4asterisk at gmail.com
Wed Dec 28 03:20:54 CST 2011
Create a callfile with local channel and once first call leg is answered,
use wait() and senddtmf() application on second call leg.
CALLFILE sample:
Channel: LOCAL/1234\@test_ivr
Context: senddtmf
Extension: s
Priority: 1
Extensions.conf sample:
;-- FIRST LEG CALL --;
[test_ivr]
exten => 1234,1,Answer()
same => n,Read(value,pleasePress1forSupportPress2forHelp,1,,10)
same => n,NoOp(${value})
same => n,ExecIf($[${value}=1]?Goto(suppot,1))
same => n,ExecIf($[${value}=2]?Goto(help,1))
same => n,Hangup()
exten=> support,1,Answer()
same => n,NoOp(you are at support section)
same => n,Hangup()
exten=> help,1,Answer()
same => n,NoOp(you are at help section)
same => n,Hangup()
;--SECOND LEG CALL --;
[senddtmf]
exten => s,1,Noop(############# TEST:IVR ##############################)
; We should wait atleast 'n' of seconds. Where n is length of IVR file in
seconds.
same => n,Wait(10)
same => n,SendDTMF(1)
--SATISH BAROT
On Wed, Dec 28, 2011 at 1:55 PM, virendra bhati <virbhati at gmail.com> wrote:
> Hi list,
>
> Is there any way in asterisk by which I make a call from server and then
> dialplan(IVR system) gets DTMF from it. I mean to say that automatically
> DTMF is sended by channels as per user defined,
>
> I read there is an application sendDTMF but I don't know how we can used
> it?
>
> like A script make the call by using localdail, .call file or any method.
> And after landing the call we send dtmf to IVR system automatically as per
> my script..
>
>
> *extensions.conf:-*
>
> exten => 1234,1,Answer()
> same =>
> n,Read(value,pleasePress1forSupportPress2forHelp,1,,10)
> same => n,NoOp(${value})
> same => n,ExecIf($[${value}=1]?Goto(suppot,1))
> same => n,ExecIf($[${value}=2]?Goto(help,1))
> same => n,Hangup()
>
> exten=> support,1,Answer()
> same => n,NoOp(you are at support section)
> same => n,Hangup()
>
> exten=> help,1,Answer()
> same => n,NoOp(you are at help section)
> same => n,Hangup()
>
>
> --
>
> Thanks and regards
>
> Virendra Bhati
> +91-8885268942
> Software Engineer
>
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
> http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20111228/36d9d3fb/attachment.htm>
More information about the asterisk-users
mailing list