How to run a script when an user take the phone and before he makes a dial?

Hello everybody,

I would like to do something probably simple : when a user takes his phone, before to hear the beep signal, a voice tell him how many message are waiting in his voicebox and after he can make a normal call

My question is where to catch this event and how after the agi script let the user to continue to dial who he wants ?


You will need to use analogue phones for this as VoIP phone do on hook dialling, which means that the first thing the PABX knows about the call is when the number called arrives.

To make it work with SIP, you need to configure the phone to automatically dial a preset number.

Most phone models have “Acrion URL” off hook being on of the actions, not real sure how you’d get this work but that’s the only method to determine the handset has been lifted off hook

i see but then, is it possible to start the message just after the user has done the numbers and before to do the call ?

i would like also to inform users that the calls are recorded

Yes. Have a look at this:

1 Like

great !!! thanks a lot

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.