[asterisk-users] Setting a threshold for asterisk to take ZAP
line off hook ?
Tzafrir Cohen
tzafrir.cohen at xorcom.com
Wed Jul 19 10:15:41 MST 2006
On Wed, Jul 19, 2006 at 07:21:20PM +0300, Maxim Vexler wrote:
> On 7/19/06, Maxim Vexler <hq4ever at gmail.com> wrote:
> >On 7/18/06, Mojo with Horan & Company, LLC <mojo at horanappraisals.com>
> >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:tzafrir at local.xorcom.com
icq#16849755 iax:tzafrir at local.xorcom.com
+972-50-7952406 jabber:tzafrir at jabber.org
tzafrir.cohen at xorcom.com http://www.xorcom.com
More information about the asterisk-users
mailing list