dan_ce
(D E)
August 12, 2020, 10:24am
1
Currently using this
asterisk -rx 'channel originate local/401@from-internal extension 403@from-internal'
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.
Cheers!
dan_ce
(D E)
August 12, 2020, 6:53pm
3
Thanks - doesn’t look like it can be done
danielf
(danielf)
August 13, 2020, 4:15pm
4
Hi @dan_ce ,
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.
Thank you,
Daniel Friedman
Trixton LTD.
lgaetz
(Lorne Gaetz)
August 13, 2020, 4:39pm
5
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
[Syntax]
Action: Originate
[ActionID:] <value>
Channel: <value>
[Exten:] <value>
[Context:] <value>
[Priority:] <value>
[Application:] <value>
[Data:] <value>
[Timeout:] <value>
[CallerID:] <value> <--- This one
3 Likes
dicko
(dicko)
August 14, 2020, 3:05am
6
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
1 Like
system
(system)
Closed
September 14, 2020, 3:05am
7
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.