On Tue, Jul 15, 2008 at 10:26:54AM +0200, Enrico Maistro wrote: > Hi, > > I'm trying to get up and running a TDM400 with a standard italian pots > line but i'm having problems at getting asterisk to detect when the line > get answered on outgoing calls. > > I'm using callweaver 1.2.0.1 with zaptel 1.4.11. > > I tried with and without answeronpolarityswitch=yes but it didn't change > anything at all. > > With callprogress=yes answer get never detected. > With callprogress=no line get answered as soon as it start ringing, > regardless if someone really answer the call.
Analogue lines don't have progress signalling - they're simply either on hook or off hook. All else is just noises in your ear. The "callprogress" option enables detection of the various noises but is only implemented (in both Callweaver and Asterisk) for USA/Canada, Costa Rica/Brazil and the UK. Even then it is not exactly reliable and has been referred to as the "random hangup" option :-). If you _need_ to know when the remote end has answered rather than when the local end has finished dialling you _need_ a digital line - BRI/PRI/E1/etc. On the other hand, if you can dig out the specs for the various Italian tones you could try making progress detection in corelib/dsp.c (Callweaver) or main/dsp.c (Asterisk) do the right thing. Mike -- Mike Jagdis Web: http://www.eris-associates.co.uk Eris Associates Limited Tel: +44 7780 608 368 Reading, England Fax: +44 118 926 6974 _______________________________________________ Callweaver-users mailing list [email protected] http://lists.callweaver.org/mailman/listinfo/callweaver-users
