[asterisk-users] How to detect switch to voicemail when calling to mobile phone

Martin asterisklist at callthem.info
Wed May 20 11:30:55 CDT 2009


Hi,

On Wed, May 20, 2009 at 9:38 AM, Michel Verbraak <michel at verbraak.org> wrote:
> Is there an option for the dial command to stop the call when the switch is
> detected and tell the caller that voicemail is active and if he would like
> to leave a message or not? Can I create/detect this with an AGI script and
> act on it? (what to look for).
>


There is no such option right now since libpri/Asterisk would ignore
the 2nd PROGRESS message.
Of course this can be custom coded especially that it probably is not
the default behavior on all mobile operators ...

Martin



More information about the asterisk-users mailing list