D
D
Dmitry Samutin2017-07-04 14:08:49
Asterisk
Dmitry Samutin, 2017-07-04 14:08:49

MCN -> Asterisk 13 + FreePBX -> Bitrix24 how to connect (no sound)?

Faced the problem of no sound during a call. Suggested system:
1. call the number 8-800-...
2. connect to the provider, represented by MCN
3. from MCN we get to Asterisk 13 installed locally
4. in Asteriske the trunk for bitrix24 is specified in the incoming routing
5. The call comes in Bitrix24
The problem is that a call comes to Bitrix, but there is no sound (neither the Bitrix voice menu, nor voices from both sides), we tried a lot, and we would be very grateful for help.
XXXXXXXXX - password
YYYYYYYYY - login and tel. number (match)
trunk MCN (for incoming calls)
PEER

type=friend
secret=XXXXXXXXXXXXX
fromuser=YYYYYYYYYYYYY
defaultuser=YYYYYYYYYYYYYY
host=sip.ekb.mcn.ru
fromdomain=sip.ekb.mcn.ru
insecure=port,invite
context=from-trunk
qualify=yes
dtmfmode=rfc2833
disallow=all
allow=alaw
defaultexpiry=360
canreinvite=no

Bitrix trunk registration
YYYYYYYY:[email protected]/YYYYYYYYYY
string (specified in Conectivity -> Inbound Routes -> Set Destination -> Trunks)
PEER
type=friend
secret=XXXXXXXXXXXXXXXXXXX
username=sipY
fromuser=sipY
host=ip.*****************.bitrixphone.com
fromdomain=ip.****************.bitrixphone.com
insecure=port,invite
conext=contex-internal
qualify=yes
dtmfmode=rfc2833
disallow=all
allow=ulaw&alaw
nat=force_rport,comedia
directmedia=nonat
canreinvite=no

Registration string
YYYYYYYY:[email protected]***************.bitrixphone.com/YYYYYYYYYY

UDP
, if you specify Extensions -> *any internal phone number* in Conectivity -> Inbound Routes -> Set Destination, then everything works fine, if you receive calls not through Bitrix, but through the handset, you can hear perfectly.
If you call from Bitrix using MCN details (without using Asterisk), the call is successful (there is sound)
Suspicion of problems with NAT

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry Samutin, 2017-07-05
@samutin

We solved the problem by changing the Conectivity -> Inbound Routes -> Set Destination value to Announcements with an empty sound file of minimum length.

A
Alexey Ukolov, 2017-07-04
@alexey-m-ukolov

At Bitrix today, telephony, they say, has collapsed, perhaps this is the problem.
https://forums.bitrix24.ru/forum17/topic23050/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question