""The subscriber is talking on another line"

asterisk
callerid
configuration
freepbx
Tags: #<Tag:0x00007f4f46371210> #<Tag:0x00007f4f46370fe0> #<Tag:0x00007f4f46370e50> #<Tag:0x00007f4f46370c98>

(Kamino00) #1

Good afternoon.
There is a problem, there are many phones with 2 lines in each.
You need to make it so that if a person is already talking to someone.
And someone tries to call him, then he would receive the answer “The person is talking on another line, call back later” and either got up to wait or turned off.
How can this be implemented?
I dug up several forums and found nothing working.
Thank you in advance for your help.