Chee Foong
2003-Aug-05 19:15 UTC
[Asterisk-Users] WipeOut - gateway access with pin solution
Helo WipeOut,
I have found a solution for sending dtmf after dial.
I use spooling. Take a look at the sample.call file inside asterisk dir. You
need to edit this file and dump it in /var/spool/asterisk/outgoing. Asterisk
will precess this file automaticlly
I create the sample.call do something like this:
Channel: OH323/4324324324 #dial the access way
MaxRetries: 3
RetryTime: 60
WaitTime: 30
Context: test-context #after connected to access gateway, proceed to context
'test-contet' in extension.conf
Extension: 1
Priority: 1
# set var to be used in extension.conf
SetVar: PINNO=1234
SerVar: NUMTOCALL=123123213123 # actual dest number
My extension(test-extension) is: (in extension.conf)
exten => 1,1,SendDTMF(${PINNO})
exten => 1,2, Wait, 3
exten => 1,3,SendDTMF(${NUMTOCALL})
However, this might not suitable for you, if your user dial in manually. My
situation works fine cause everyting is automated where calling number and
called number is inserted into db in advanced.
also, chan_h323 has proplem sending DTMF, chan_oh323 works but sound quality is
bad.
Foong
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20030805/b6d2ecf5/attachment.htm
