Haven't tried with new 1.4 branch of Asterisk/Zaptel, but in 1.2, if correctly configured, there was no need to "Wait(x)" to let zaptel to get the CID on analog lines: it was zaptel itself to not let the call go through the dialplan until the second ring. I think it shoud be something like:
usecallerid=yes callerid=asreceived in zapata.conf for relevant channels. Hope this helps... Regards picciux 2007/8/16, Matthew Harrell <[EMAIL PROTECTED]>: > > > Thanks. I was hoping there might be a way to detect whether the CID > routine was done or not. I've still seen occasions where it wasn't > available > for callers that I know had it. Maybe my phone service is just a little > slow sometimes > > > > Wait(2) is what I do. > > > > Matthew Harrell wrote: > >>>> First, it seems I have to have a 2 - 3 second wait before the AGI > call in > >>>> order to get valid CID data. Usually 2 seconds suffices for this one > setup > >>>> but during that time the caller has had two rings before the local > extension > >>>> has even begun to ring. Is there something I am doing wrong that > causes it > >>>> to take so long to get the CID? > >>> CallerID info is sent between the first and second ring. > >> > >> Well that would explain that problem, wouldn't it? Is there a proper > way > >> to wait for the CID data to be filled in if available or is Wait(2) my > best > >> option? > >> > > > > > > _______________________________________________ > > --Bandwidth and Colocation Provided by http://www.api-digital.com-- > > > > asterisk-users mailing list > > To UNSUBSCRIBE or update options visit: > > http://lists.digium.com/mailman/listinfo/asterisk-users > > -- > Matthew Harrell Never underestimate the power > of > Bit Twiddlers, Inc. very stupid people in large > groups. > [EMAIL PROTECTED] > > _______________________________________________ > --Bandwidth and Colocation Provided by http://www.api-digital.com-- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >
_______________________________________________ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
