D
D
Doctor_MOM2014-07-03 10:55:03
Asterisk
Doctor_MOM, 2014-07-03 10:55:03

How to call a certain external mobile number and, if the subscriber picks up the handset, immediately terminate the connection?

There is FreePBX. Tell me how to call a specific external mobile number and, if the subscriber picks up the phone, immediately interrupt the connection so that money is not withdrawn. This is necessary to verify the applicant's phone number in his presence. Does anyone have other ideas on how to do this.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nikolai, 2014-07-03
@KolyaniuS

context out {
_X.=> {
...
Dial(SIP/[email protected],,M(postdial^${DIALSTATUS}));
...
};
};
macro macro-postdial {
catch s {
if (${ARG1} = ANSWER) { Hangup; };
};
};

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question