Ask Your Question

Revision history [back]

To initiate a call on Asterisk using Originate and a customized caller ID, you can use the following command in the Asterisk CLI:

originate SIP/destination-number extension yourcustomcontext@yourcustomcontextgroupID "" yourcustomcallerID SIP/yoursip_server

Replace the "destination-number" with the phone number you want to call, "yourcustomcontext" with your custom context name, "yourcustomcontextgroupID" with the group ID associated with the custom context, "yourcustomcallerID" with the customized caller ID you want to use, and "yoursip_server" with the name or IP address of your SIP server.

For example, if you want to call the number +1-555-123-4567 using the caller ID "My Company," and your SIP server is located at 192.168.1.1, you can use the following command:

originate SIP/+15551234567 extension mycustomcontext@mycontextgroupID "" "My Company" SIP/192.168.1.1

This will initiate a call to +1-555-123-4567 using the customized caller ID "My Company."