Outgoing calls with Zapata library


#1

Hello all,

I’m new here, just picked up an X100P clone and have been writing simple programs with the old zapata library. I know it is no longer used by Asterisk, though I had a quick question if there are any devs out there who are still familiar with it…

I am trying to write a small suite of applications to monitor a few servers and make outgoing calls to various places (office numbers, cellphones, pagers) and report information.

My problem is that I cannot figure out how to detect when an outgoing call has been answered. I am using the zap_dial() function to dial DTMF digits… though I need my program to wait until the call is actually answered before taking further action.

Any help would be appreciated or a workaround to accomplish this.

Thanks in advance !