Making calls from the command line interface
You can make calls with no users on a system. For this example, we're going to assume that you have an endpoint to which you can make unauthenticated calls. This endpoint could be an IP phone, a soft phone, or even another FreeSWITCH server with a registered user or two. The only requirement is that the URI you call should ring a phone that you can answer. In our examples, we'll use my.open.endpoint.example.com
as the target domain. Be sure to use the appropriate user and domain or IP address for your configuration.
Open fs_cli
and execute this command:
originate sofia/internal/1234@my.open.endpoint.example.com &echo()
Obviously, this isn't going to be very useful in the real world. Hearing yourself say, "Hello, testing one, two, three…" can prove to be a good test of bi-directional audio and such, but to make this a productive example we should probably do something bit more interesting with our call.
In the following example, we'll originate...