search for: stopplaytones

Displaying 20 results from an estimated 46 matches for "stopplaytones".

2005 Jan 07
4
can the dialtone be changed after pressing 9?
extensions.conf has ignorepat => 9 exten => _9X.,1,Dial(Zap/G2/${EXTEN:1}) The first user to try it asked if instead of keeping the same dialtone after pressing 9, if I could play a different dialtone. Can this be done? I'm running asterisk 1.0.0 in case that matters.
2005 Sep 01
1
How to execute StopPlayTones when a SIP phone is answered
I'm trying to find a way to generate an 'internal extensions' tonelist but I can't seem to find anything on how to do this. My idea was to start a Playtones(intercom) tonelist and not indicate ringing to the line (dead air). But then, somehow StopPlayTones needs to be run once the ringing telephone picks up. This seems like a dirty way to do this. I envision an option to the Dial cmd's option 'r', where you could specify a ringtone to play if not the default, i.e. In indications.conf: [us] ... ... ring = 400+450/400,0/200,400+450/400,0...
2010 Jan 26
0
StopPlayTones() after first digit?
I configured our SIP gateway to automatically dial extension "s" when a phone is picked up. I want Asterisk to play a dial tone, wait for an extension to be dialled, and hangup on timeout This works great, but I also want Asterisk to *stop* playing the dial tone after the first digit is pressed So far my extensions.conf contains, [internal] exten => s,1,Answer exten =>
2003 Jul 22
2
enabling dtmf detection on zap channel?
...on on zap channels? I am trying to pickup, play a ringtone and the dial out. I.e. exten => s,1,Wait,1 exten => s,1,Answer exten => s,2,Playtones(dial) exten => s,3,DigitTimeout,5 exten => s,4,ResponseTimeout,10 exten => _X,1,StopPlaytones exten => _X,2,Dial,Zap/g8/BYEXTENSION|10 I don't quite recall what I did last, but I remember this used to work. My current installation of asterisk does not detect dtmf tones as I can easily verify with debugging turned on. Just to be sure I also dialed in from different phones, did a fres...
2010 Jan 14
0
Ringing for incoming call
exten => did,1,Answer exten => did,n,Playtones(ring) exten => did,n,Wait(10) exten => did,n,StopPlaytones() exten => did,n,BackGround(sound file) did = the DID number as presented and note the '1' before Answer. This works for me. exten => 820055,1,Answer() exten => 820055,n,PlayTones(ring) exten => 820055,n,Wait(5) exten => 820055,n,StopPlayTones() exten => 820055,n,[do so...
2009 Sep 07
2
Echo and Playtones not working on SIP after upgrade
Hello list I had the following echo-test extension on my Asterisk 1.2 setup. exten => 1003,1,Wait(1) exten => 1003,n,Playtones(!1050/1000) exten => 1003,n,Wait(1) exten => 1003,n,StopPlaytones exten => 1003,n,Echo exten => 1003,n,Hangup After migrating my testing server to Asterisk 1.4, and a minor extensions.conf update, everything works just fine. Except for the Playtones and the Echo applications on SIP channels. Over IAX2, both Echo and Playtones works fine on this same exten...
2005 Jun 12
0
*66 auto redial emulation?
...extensions.conf context examples you may have. Here is the one that I kinda-wrote out for the busy-generation: [new-busy] exten => s,1,Answer() exten => s,2,ResponseTimeout(60) exten => s,3,Playtones(busy) exten => s,4,Read(dialed,,1) exten => s,5,Goto(${dialed},1) exten => 1,1,StopPlayTones exten => 1,2,** GO DO SOMETHING WHEN YOU PRESS 1 HERE ** exten => 1,3,Hangup exten => 6,1,StopPlayTones exten => 6,2,** GO DO SOMETHING ELSE WHEN YOU PRESS 2 ** exten => 6,3,Hangup exten => i,1,Goto(s,3); everything else is invalid exten => t,1,Hangup ; busy timed out after 6...
2005 Jul 27
0
Playtones not passing sound to incoming SIP connection
...all the lines being executed. exten => SIPGATEID,1,Wait,1 exten => SIPGATEID,2,NoOp(--- ${CALLERID} calling on Telemarket Divert Sipgate (${EXTEN}) ---) exten => SIPGATEID,3,Answer exten => SIPGATEID,4,Playtones,ring exten => SIPGATEID,5,Wait,10 exten => SIPGATEID,6,StopPlaytones exten => SIPGATEID,7,Voicemail(666) exten => SIPGATEID,8,Hangup When dialing in via the PSTN number, or from a remote SIP softphone however, the ten seconds which whould be the Playtones is silence. When the voicemail kicks in, I can hear the announcements, and leave a message, so I don...
2005 Mar 24
2
Fun with CAPI
...UTBOUND=IAX2/ourproviderdetails_which work fine :) [default] exten => _120.,1,NoOp( incoming call from ISDN ) exten => _120.,2,Answer exten => _120.,3,PlayTones(dial) ; Give the caller a familiar noise. exten => _X,1,NoOp( Got a digit! It was ${EXTEN}) exten => _X,2,StopPlaytones() exten => _X,3,SetVar(Predigits=${EXTEN}) ; Put that digit aside for use later... exten => _X,4,Goto(s-gathermoredigits,1) exten => s-gathermoredigits,1,NoOp( Now looking for the rest of the number) exten => s-gathermoredigits,2,DigitTimeout,5 ; Increase the 'finished...
2009 Dec 18
3
Call Waiting With Draytek ATA
Greetings all- I've got a rather odd situation and would like to know if anyone can shed some light on the issue. Some background- I've got an * system running 1.4.11 (yes I know it's older.. upgrades are planned at some point...). I also have a remote user with a cordless phone connected to a Draytek ATA device. When this user is on a call and receives another call via call
2004 May 29
4
PlayTones problem
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi! I am having problems with the PlayTones application and VoIP softphones. I have the following in my extensions.conf: exten => 123,1,Answer exten => 123,2,PlayTones(Busy) exten => 123,3,Hangup But when I connect with gnophone(IAX) or kphone(SIP) and dial 123 the call just hangs up immediately. I get the following on the console: --
2008 Dec 16
1
interesting problem
...Select 'fullname' from voicemail_users Where mailbox=${EXTEN}) exten => _5[14-9]XXX,n,MYSQL(Fetch FETCHID ${RESULTID} FULLNAME) exten => _5[14-9]XXX,n,MYSQL(Disconnect ${CONNID}) exten => _5[14-9]XXX,n,GotoIf($[${FETCHID} = 1]?connect:disconn) exten => _5[14-9]XXX,n(connect),StopPlaytones() exten => _5[14-9]XXX,n,Wait(2) exten => _5[14-9]XXX,n,Playback(you-have-dialed) exten => _5[14-9]XXX,n,Playback(the-mailbox) exten => _5[14-9]XXX,n,Playback(for) exten => _5[14-9]XXX,n,Festival(${FULLNAME}) exten => _5[14-9]XXX,n,VoiceMail(${EXTEN}@students) exten => _5[14-9]...
2011 Feb 21
1
Dialplan execution stops on app call even with TryExec (Am I missing something simple?)
...UCCESS), error: 'NO_ERROR', pages: 8, resolution: '204x196', transfer rate: '9600', remoteSID: 'TIME' The context it's executing in is: [ext-fax-voicenation] exten => s,1,Noop(Receiving Fax for: ${FROM_DID} From: ${CALLERID(all)}) exten => s,n(receivefax),StopPlaytones exten => s,n,Set(FAX_FILE_NAME=/var/www/html/vncake/fax_temp/${FROM_DID}-${CALLERID(number)}-${STRFTIME(${EPOCH},,%Y%m%d-%H%M%S)}-${UNIQUEID}.tif) ; Gafachi is known to have a broken ecm implementation - disable on receive - also send with 'z' option exten => s,n,Set(trunk_name=${CUT(...
2005 Feb 18
3
Help asterisk startup errors
...MusicOnHold' == Registered application 'SetMusicOnHold' [res_indications.so] => (Indications Configuration) == Parsing '/etc/asterisk/indications.conf': Not found (No such file or directory) == Registered application 'Playtones' == Registered application 'StopPlaytones' [res_monitor.so] => (Call Monitoring Resource) == Registered application 'Monitor' == Registered application 'StopMonitor' == Registered application 'ChangeMonitor' == Manager registered action Monitor == Manager registered action StopMonitor == Manager...
2006 Apr 20
3
Asterisk Won't start after SVN Trunk Update
...39;pt' -- Registered indication country 'ee' -- Registered indication country 'mx' -- Registered indication country 'se' -- Setting default indication country to 'us' == Registered application 'PlayTones' == Registered application 'StopPlayTones' [res_smdi.so]Apr 20 08:27:58 WARNING[13559]: loader.c:726 __load_resource: new style res_smdi.so (0x0) loaded RTLD_LOCAL => (Asterisk Simplified Message Desk Interface (SMDI) Module) Apr 20 08:27:58 NOTICE[13559]: res_smdi.c:539 smdi_load: Unable to load config smdi.conf: SMDI disabled...
2006 Jan 22
0
Interrupting ring to go to voicemail pickup -- How to ring after Answer()?
...I take it out I don't hear any ringing even though Playtones should be playing. 3) If I take the r flag out of Dial() and put a call in to Ringing() before the Playtones() (or maybe after, I forget) I don't get a ring sound when calling. 4) I thought Playtones() was supposed to play until StopPlaytones() is called. It sure stops playing when I get to voicemail, either by a timeout of the Dial() or by pressing 2. (I don't know whether it really stops if the Zaptel is answered, because I'm not in a position to test that at the moment. But I presume it will.) Asterisk 1.2.1 extensions.co...
2007 Nov 14
0
Help in getting a dialplan to produce the right CDR info
...il. I leverage off of context: from-internal-additional-custom, so as not to have it overwritten by FreePBX. In extension_custom.conf I have: [from-internal-additional-custom] include => ext-local-fax-custom #include extensions_fax.conf [custom-fax1] exten => s,1,Answer exten => s,n,StopPlayTones exten => s,n,Set(FAXFILE=/var/spool/asterisk/fax/${UNIQUEID}.tif) exten => s,n,rxfax(${FAXFILE}) exten => s,n,Hangup exten => h,1,system(/var/lib/asterisk/bin/fax-process.pl --to ${FAX_TO_EMAIL} --from ${FAX_RX_FROM} --subject "Fax from ${URIENCODE(${CALLERID(number)})} ${URIENCO...
2009 May 27
1
Playtones Volume
I've researched my brains out on this, and can't find any answer. Is there a way to adjust the level of the tones generated through the Playtones command? I'm thinking that I may have been approaching this incorrectly by targeting indications.conf since the tones are being called via the Playtones application. My sense is that it's not possible due to the lack of response from
2014 Sep 24
0
Identifying frequency tone in Asterisk
...hinking of changing a frequency of one of the DTMFs on Asterisk 2(dsp.c,let us say DTMF D, from 941,1633 to 951,1643) and playing that frequency tone from Asterisk 1. So On Asterisk1, [play] ... ... same => n,Playback(audiofile1) same => n,Wait(2) same => n,Playtones(951,1643) same => n,StopPlaytones() same => n,Playback(audiofile2) And something similar to below on Asterisk2 [record] ... ... same => n,MixMonitor(audiofile1) same => n,Read(DATA,silence/1,1,,,200) same => n,ExecIf($["${DATA}" = "D"]?NoOP(D received):HangUp()) same => n,MixMonitor(audiofile2) ....
2005 Feb 19
3
Still asterisk startup crash plz help
...;us-o' -- Registered indication country 'gr' -- Registered indication country 'ru' -- Registered indication country 'nz' -- Setting default indication country to 'us' == Registered application 'Playtones' == Registered application 'StopPlaytones' [res_monitor.so] => (Call Monitoring Resource) == Registered application 'Monitor' == Registered application 'StopMonitor' == Registered application 'ChangeMonitor' == Manager registered action Monitor == Manager registered action StopMonitor == Manager...