[asterisk-users] Autodialer - call simultaneously to both ends

Antony Stone Antony.Stone at asterisk.open.source.it
Mon Jun 26 07:18:31 CDT 2017


On Monday 26 June 2017 at 14:06:10, Harel wrote:

> Hello List,
> I'm working on an autodialer project.
> At the moment I use the Originate application then I "throw" it to an
> extension where I Dial() the other party and then both legs are bridged.
>
> The problem is that the Dial() will only run after the Originate finish
> its bit and I have lots of wasted time or even worse, the remote party
> hanging the call because instead of a human speaking to him the call setup
> to the 2nd leg only starts when remote answers.

Sounds like you're dialling the legs the wrong way round.

> Is there a way to start calling both parties at the same time and bridge
> them when one answers (which will then hear the ringback tone until 2nd
> party answers)?

You should dial the extension of the person who wants the autodial function 
first (ie: the person who knows about this system).

They answer their phone (which should be quick, because they're expecting it 
to ring after they've initiated the autodial), and they then wait for the 
remote party (who doesn't know there's an autodialler involved) to answer.

Dialling both numbers simultaneously always runs the risk that the remote 
party (who doesn't know about the autodialler) will answer the call first, so 
unless you have some recorded announcement "please wait while we connect your 
call" (which if I heard it would make me hang up immediately, because I'd know 
it was some automated dialler, probably a cold-calling sales organisation), 
they answer the phone, hear ringing, think "what the hell?" or even "oh, one 
of them again" and hang up.

Always start from the "local" end - ie: the person who knows about the auto-
dialler.



Antony.

-- 
Atheism is a non-prophet-making organisation.

                                                   Please reply to the list;
                                                         please *don't* CC me.



More information about the asterisk-users mailing list