Обновление от октября 2023
Предыдущий конфиг остался ниже.
Данные из ВАТС билайна
Domain: ip.beeline.ru
SIP User ID: SIP012346789QQ
Authorization User ID: SIP012346789QQ@ip.beeline.ru
SIP proxy: ip.beeline.ru
Из изменений: Теперь не нужно настраивать proxy, если в ВАТС прописано SIP proxy: Ip.beeline.ru.
Конфиг PJSIP для веб морды
![](https://static.tildacdn.com/tild6330-3363-4666-a666-663866356437/general.jpg)
![](https://static.tildacdn.com/tild3832-6137-4366-b837-343236646238/pjsip_settings_gener.jpg)
![](https://static.tildacdn.com/tild3565-3364-4339-b866-396139313833/pjsip_settings_advan.jpg)
Теперь не нужно указывать outbound proxy, остальные параметры должны остаться, как и раньше.
![](https://static.tildacdn.com/tild6433-6232-4261-b237-323263343363/pjsip_settings_advan.jpg)
Теперь конфиги.
pjsip.aor.conf[SIP012346789QQ]
type=aor
qualify_frequency=60
contact=sip:SIP012346789QQ@ip.beeline.ru:5060
pjsip.auth.conf
[SIP012346789QQ]
type=auth
auth_type=userpass
password=password
username=SIP012346789QQ@ip.beeline.ru
pjsip.endpoint.conf
[SIP012346789QQ]
type=endpoint
transport=0.0.0.0-udp
context=from-pstn
disallow=all
allow=g722,ulaw,alaw,h264,mpeg4
aors=SIP012346789QQ
rtp_keepalive=0
language=ru
outbound_auth=SIP012346789QQ
from_domain=ip.beeline.ru
from_user=SIP012346789QQ
contact_user=1223456
user_eq_phone=no
t38_udptl=no
t38_udptl_ec=none
fax_detect=no
trust_id_inbound=no
t38_udptl_nat=no
inband_progress=yes
direct_media=no
rtp_symmetric=yes
dtmf_mode=auto
pjsip.identify.conf
[SIP012346789QQ]
type=identify
endpoint=SIP012346789QQ
match=ip.beeline.ru
pjsip.registration.conf
[SIP012346789QQ]
type=registration
transport=0.0.0.0-udp
outbound_auth=SIP012346789QQ
retry_interval=60
fatal_retry_interval=30
forbidden_retry_interval=30
max_retries=10000
expiration=160
auth_rejection_permanent=no
line=no
contact_user=1223456
server_uri=sip:ip.beeline.ru:5060
client_uri=sip:SIP012346789QQ@ip.beeline.ru:5060
Старая версия до Октября 2023
Билайн отдал данные в таком виде:SIP User ID: 9030000102
Domain: ip.beeline.ru
Authorization User ID: 9030000102@ip.beeline.ru
SIP proxy: krs.ip.beeline.ru
ВАЖНО! Билайн работает со стоковым 5060 портом, если у вас порт PJSIP или chan_sip отличается от 5060 у вас транк не заработает!
Конфиг транка PJSIP для FreePBX. После скринов выложил конфиги.
![](https://static.tildacdn.com/tild3762-3932-4666-b237-623865303732/full_uploaded_by_url.png)
![](https://static.tildacdn.com/tild3137-3963-4562-a336-373461353062/full_uploaded_by_url.png)
![](https://static.tildacdn.com/tild3561-3838-4263-a237-363963386665/full_uploaded_by_url.png)
![](https://static.tildacdn.com/tild3934-6539-4930-b231-353162336463/full_uploaded_by_url.png)
Как обещал конфиги:
[9030000102]
type=endpoint
transport=0.0.0.0-udp
context=from-pstn
disallow=all
allow=ulaw,alaw,gsm,g722,h264,mpeg4
aors=9030000102
send_connected_line=false
language=en
outbound_proxy=sip:krs.ip.beeline.ru
outbound_auth=9030000102
from_domain=ip.beeline.ru
from_user=9030000102
contact_user=9030000102
user_eq_phone=no
t38_udptl=no
t38_udptl_ec=none
fax_detect=no
trust_id_inbound=no
t38_udptl_nat=no
direct_media=no
rtp_symmetric=yes
dtmf_mode=auto
[9030000102]
type=registration
transport=0.0.0.0-udp
outbound_auth=9030000102
retry_interval=60
fatal_retry_interval=30
forbidden_retry_interval=30
max_retries=10000
expiration=3600
auth_rejection_permanent=yes
line=yes
endpoint=9030000102
contact_user=9030000102
server_uri=sip:ip.beeline.ru:5060
client_uri=sip:9030000102@ip.beeline.ru:5060
outbound_proxy=sip:krs.ip.beeline.ru
[9030000102]
type=auth
auth_type=userpass
password=ВАШПАРОЛЬТУТ
username=9030000102@ip.beeline.ru
[9030000102]
type=aor
qualify_frequency=60
contact=sip:9030000102@ip.beeline.ru:5060
outbound_proxy=sip:krs.ip.beeline.ru