On Wed, Jul 19, 2006 at 07:21:20PM +0300, Maxim Vexler wrote: > On 7/19/06, Maxim Vexler <[EMAIL PROTECTED]> wrote: > >On 7/18/06, Mojo with Horan & Company, LLC <[EMAIL PROTECTED]> > >wrote: > >> I think when a PSTN line says 'Ring' it's simply for aesthetics... The > >> line is 'answered' the instant * connects to it for two-way audio... > >> (well not that instant but somewhere in the connection process. When > >> you are hearing ringing from the PSTN through a zap card, the rings are > >> coming from the phone company and are just sound. * doesn't decode that > >> and act on it yet.) > >> > [snip] > > >Well, I did managed to get it to work some how with the attached patch. > >My problems with this code are : > > > [snip] > > Hmmm, > > I was obviously not aware of the true usage of the Wait() application > in the dial plan. > Setting Wait(X) before Answer() allowed provides the requested > operation with out chan_zap restart.
Still, I wonder if it would be possible to make it possible to answer an analog line after a specific number of rings rather than a specified time. Easier o think that way. A WaitRings() application? -- Tzafrir Cohen sip:[EMAIL PROTECTED] icq#16849755 iax:[EMAIL PROTECTED] +972-50-7952406 jabber:[EMAIL PROTECTED] [EMAIL PROTECTED] http://www.xorcom.com _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
