[Asterisk-Users] Know if a call is answered

Asterisk List asterisklist at hotmail.com
Mon Jan 26 06:02:47 MST 2004


Hello:

I have an asterisk server answering SIP calls.
Whenever a call comes, asterisk answers, plays a gsm file (information) and 
dials to another SIP phone.
Using asterisk Master.csv file I only have one record, and don't know if the 
second call is answered.
I only know this if:
- The called phone is busy
- The called phone doesn't answer in X seconds (the parameter in Dial)

But I can't see a difference between an answerd call and when the caller 
hangs up whith the other phone is still ringing. The call is always 
"ANSWERED" and the last command is Dial with the SIP address as the 
parameter.

How can I do this? Could it be done with an AGI script?
Sorry if this is a basic question, I have been searching for a solution for 
weeks and don't know what to do.

Thanks in advance,
Rober T.

_________________________________________________________________
Reserva y planifica tu viaje online. http://www.msn.es/Viajes/




More information about the asterisk-users mailing list