N
N
nikita-00582015-08-20 08:49:09
Asterisk
nikita-0058, 2015-08-20 08:49:09

How to distribute calls to organizations using Asterisk?

Good afternoon.
Need help with one problem!
There is a holding with 4 companies in it. All these companies have one secretary. I bought a GoIP 4 GSM gateway and installed 4 SIM cards from all companies. There is a connection with Asterisk.
When there is an incoming call, the phone only shows the number of the caller. What to do so that the system phone shows the name of the company that is being called and the number of the caller.
Waiting for your answers!!!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
H
Heizenberg, 2015-08-20
@Heizenberg

You need to see section 3.3.9Call IN in the GoIP 4 manual
. Based on the instructions, you can assign your ID to each incoming channel and send it to the asterisk.

O
Ogogon, 2015-10-14
@Ogogon

Nikita, my friend, don't be angry, but this reminds me of an old French joke about a strange but subtle perversion...
I believe that if you solve this problem strictly, then you definitely cannot do without reciprocal perversions.

  • We land incoming connections from different SIM cards in different input contexts.
  • In the context, edit the CID of the incoming connection by inserting the prefix of this "direction". For example:
    same => n,Set(CALLERID(name)=Beer_Drinking_Factory:${CALLERID(name)})
    same => n,Set(CALLERID(num)=01${CALLERID(num)})

    Although, in my opinion, the problem has a simpler and more beautiful solution: put four telephones on the table and land calls to each of them from your SIM card.
    And vice versa - to each of them describe their uplink - in the form of their SIM-card.
    Well, if there is not enough space on the table - buy a four-line phone, they are now like crocodiles in the Amazon ...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question