Currently using this
asterisk -rx 'channel originate local/[email protected] extension [email protected]'
to get ext 401 to ring, then when it’s answered it dials 403. Works great. And for me so much quicker to setup than a call file.
Anyway to avoid “private number” appearing on extension 401 though? Would be great if it could say something useful. No big deal though, it’s a trivial detail.
Thanks - doesn’t look like it can be done
Of course it can be done. You will need to send the originated call to another context, and there you would be able to set the correct CLI.
The conventional way of doing this is to use the Asterisk AMI, which supports doing Originate with a caller ID string.
*CLI> manager show command Originate
[CallerID:] <value> <--- This one
and it is not a coincidence thar exactly those arguments (bar the ActionID of course) can also be used in a call-file if that is more convenient
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.