B
B
brar2021-10-04 19:23:24
Asterisk
brar, 2021-10-04 19:23:24

How to send the caller's number from the aster to the Bitrix24 sip connector?

I make a call through the trunk issued by the Bitrix in the "Office PBX" settings.
Dileplan:

exten => 74923456789,1,NoOp(${CALLERID(num)})
        same => n,NoOp(${CALLERID(name)})
        same => n,Set(CALLERID(name)=7${CALLERID(name)})
        same => n,NoOp(${CALLERID(name)})
        same => n,Dial(PJSIP/voximplant)

Thus, when a call enters the asterisk from outside, we make a call to the voximplant context (in which trunk b24 is registered), having previously brought callerid (name) and callerid (num) to the same format - 7XXXXXXXXXXX (these are just attempts to guess what bitre24 needs ).
And a call comes to bitra24 on behalf of sip2 (login of the voximplant trunk).
Question: how to make the bitra display the caller's number, instead of sip2, on an incoming call?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Olavo, 2021-10-05
@brar

Good afternoon.
The caller's number can be passed in the DisplayName. Those. the string should look like this
from: "74951234567"
On Asterisk, this is set somehow like this Set(CALLERID(name)=<number>)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question