[asterisk-dev] Application to connect two endpoints

Nickolay V. Shmyrev nshmyrev at yandex.ru
Tue May 30 04:56:56 MST 2006


Hello all.

I was needed to do the following thing with asterisk - given two
endpoints, dial to the first one then dial to the second and then
connect them together. Incoming calls are cheaper then outgoing :) I've
wrote the simple application to accomplish this task, the source code is
attached.

Is it interesting to include it in asterisk? Probably the same thing can
be done with current code. Probably it may have sense to have an
application that dials to some endpoint and then forwards the dialed
channel to the extension so that further actions like calling to the
second channel may be configurable. It may have sense to modify dial
application for that but it seems for me already complex.

Any advice?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ast_app_connect.c
Type: text/x-csrc
Size: 4362 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-dev/attachments/20060530/57dd66f1/ast_app_connect.c


More information about the asterisk-dev mailing list