The ATA generates it's own dialtone, and waits for the user to dial a number, before sending anything to the * box. So one of the first examples in the in the Brief Introduction to Dialplans from Vol. 1 of the Asterisk Documentation Project. [incoming] exten => s,1,Answer() exten => s,2,Playback(goodbye) exten => s,3,Hangup() does not work. The ATA generates a Dialtone and waits for the user to dial, then as soon as the user presses some keys. The ATA sends that extension was not found in [incoming] This example is elaborated into a simple example IVR. But how do we get the intial prompt to play on an ATA?
Hi, You have well formed your file zapata.conf? Carlos Rojas On Apr 8, 2005 9:40 PM, Drew Einhorn <drew@technteach.com> wrote:> The ATA generates it's own dialtone, and waits for > the user to dial a number, before sending anything > to the * box. So one of the first examples in the > in the Brief Introduction to Dialplans from > Vol. 1 of the Asterisk Documentation Project. > > [incoming] > exten => s,1,Answer() > exten => s,2,Playback(goodbye) > exten => s,3,Hangup() > > does not work. The ATA generates a Dialtone > and waits for the user to dial, then as soon > as the user presses some keys. The ATA sends > that extension was not found in [incoming] > > This example is elaborated into a simple example > IVR. > > But how do we get the intial prompt to play > on an ATA? > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >
Drew Einhorn wrote:> The ATA generates it's own dialtone, and waits for > the user to dial a number, before sending anything > to the * box. So one of the first examples in the > in the Brief Introduction to Dialplans from > Vol. 1 of the Asterisk Documentation Project. > > [incoming] > exten => s,1,Answer() > exten => s,2,Playback(goodbye) > exten => s,3,Hangup() > > does not work. The ATA generates a Dialtone > and waits for the user to dial, then as soon > as the user presses some keys. The ATA sends > that extension was not found in [incoming] > > This example is elaborated into a simple example > IVR. > > But how do we get the intial prompt to play > on an ATA?In MY extensions.conf I have a comment above [incoming] that says something like "Calls without a destination number land here, usually from the PSTN". "s" is ONLY EVER called when Asterisk doesn't know what number was dialed. This (generally) only happens if a call is coming in on an ANALOG port, or if the call is coming in on a T-1/E-1 port that does not have DID/DDI service on it. An IP Phone or ATA normally send the number dialed to Asterisk and therefore if you dial 5551212 then the ATA will send the call to exten => 5551212,1,Blah(.... Now if your ATA is not sending the correct numbers or not waiting for you to finish dialing then the problem is with ATA and NOT Asterisk. You didn't bother to tell us what ATA you are using, so I can't really give you any more advice. -- Always do right. This will gratify some people and astonish the rest. Mark Twain
On Apr 8, 2005, at 9:40 PM, Drew Einhorn wrote:> ...But how do we get the intial prompt to play > on an ATA?On many ATAs you can have it do a "hot-line" dial -- start a call when the phone is picked up. Perhaps you can have your ATA dial "@servername" (no phone number, just the @ sign and the server name). If you do this, this makes the phone act like a regular phone -- you pick up the phone and it is connected to the asterisk server, rather than the primary way most ATAs work -- you dial a number and it connects to the server after you are finished dialing.