virendra bhati
2011-Dec-28  08:25 UTC
[asterisk-users] DTMF Testing software to test IVR system
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.digium.com/pipermail/asterisk-users/attachments/20111228/0bde5e17/attachment.htm>
Satish Barot
2011-Dec-28  09:20 UTC
[asterisk-users] DTMF Testing software to test IVR system
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>
Paul Belanger
2011-Dec-28  16:59 UTC
[asterisk-users] DTMF Testing software to test IVR system
On 11-12-28 03:25 AM, virendra bhati 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() >We have DTMF based tests for the testsuite[1] that you could use. [1] http://svn.asterisk.org/svn/testsuite/asterisk/trunk/ -- Paul Belanger Digium, Inc. | Software Developer twitter: pabelanger | IRC: pabelanger (Freenode) Check us out at: http://digium.com & http://asterisk.org