[Asterisk-Users] [Fwd: call status with FXO]

grr at alastor.com.mx grr at alastor.com.mx
Fri Nov 18 23:07:59 MST 2005


Hi. I'm a new user of Asterisk. My question is:
I want to log outbound calls in a database ( postgres ). Everything is OK
except that asterisk always marks calls to my FXO iface ( Zap/4 ) as
answered as soon as it accepts to dial the specified number and the
purpose of logging calls is to know the actual number of connections made
( those are the ones telco bills me ).  I want a method or trick to make
asterisk to behave in regard to a FXO like a modem would do, i.e.
reporting line conditions ( BUSY, ANSWER, etc ) as its status. Currently,
the relevant part of my dialplan is:

exten => _99.,1,Dial(Zap/4/${EXTEN:2},20)

In a related issue, my Zap/4 iface delays answering about 4 secs. When I
first installed asterins, answering would be instantaneous, but after some
change ( kernel? compile options? not sure ) it won't answer until after 4
or 5 secs. Could it be related to the main problem?

Thanks in advance







More information about the asterisk-users mailing list