FYI, just turned on callprogress and it does the trick.
Andre Courchesne - Consultant wrote:
Hi Duane,
Yeah, an absolute timeout is no good since it will limit the "talk"
time at the same time... There is no progress indicator or anything
similar on analog that
would monitor the line "ringing" ? Anyone experimented with the following:
callprogress: Asterisk can attempt to monitor the state of the call to
listen for a ringing tone, busy tone, congestion tone, and sounds
indicating that the
line has been answered. It appears that this feature is independent of
the busydetect feature; it seems that both can run in parallel, and both
will
independently attempt to recognize a busy tone. The callprogress feature
is highly experimental and can easily detect false answers, so don't
count on it being
very accurate. Also, it is currently configured only for standard U.S.
phone tones. Default: no.
callprogress = yes
Duane wrote:
Andre Courchesne - Consultant wrote:
Hi,
Ok, trying to do a follow me. Code works great on a PRI. Tried to dial
a cell for 10 seconds (Dial(zap/g0/514xxxyyyy,10) and after 10 seconds
drops to the
asterisk voicemail.
When doing the same on an analog line (using a Sangoma A200d), the
call goes out to the cell, but rings till the cell voicemail picks-up.
Tried to reduce the
delay and 3 seconds is too short and the call does not reach the cell
and 4 seconds again makes the cell phone ring till the voicemail
picks-up...
Any ideas?
As soon as the analog line is dialed its "answered", you can set an
absolute timeout on the call, but I doubt that would be desirable
either. The only solution to your problem is to go digital so the
network signals you when the remote end answers the call, rather then
the local end, digital solutions are usually VSPs or E1/T1 or even BRI.
--
----
Andre Courchesne - Consultant
Tel: (514) 667-8448
Cel: (514) 712-4064
web: http://www.net-forces.com
email: [EMAIL PROTECTED]
Skype: voipforces
MSN: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]