I have an automatic system which will drop this .call file into the /var/spool/asterisk/outgoing/ for the system to place the call on an trigger event.
I used to have a Cisco SPA504G which connected to this extension (123). And on this Cisco phone, I set the forwarding to a cell phone number of mine choice.
Now, the Cisco phone is no longer present and I cannot register a physical phone to the extension and set forwarding. Everything is no on softphone.
So I though I can set the Follow-Me setting on the FreePBX and still have the call alert to forward as usual. However, turning out it’s not the case.
Base on my understanding, the handing of the .call file is on the asterisk level which is underlay the FreePBX. Therefore, the Follow-Me setting I set in the FreePBX does not have any affect.
Main question:
Is there a way to force the call to come in from outsite and then dial the extension 123?
For example: my DID is 4161234567. The call file will call 4161234567 and wait for 5 second and then dial extension 123.
This way the call will be forwarded to the extension I set in the Follow-Me under FreePBX.
Secondary question:
How do I set the Channel for an external call?
Say I want the call file to call the number 41676543210. How do I do this?
Local is a type of channel like SIP or PJSIP or IAX. It means the system is generating the call locally not an external device like a phone.
from-internal is the context that every extension uses to process calls. So Local/123@from-internal makes the PBX originate a call and process it like it was a phone making the call to use all the rules you have in place.