pjsip.conf
Код: Выделить всё
;Common
[transport-upd]
type=transport
protocol=udp
bind=0.0.0.0
;Client
[1000]
type=endpoint
context=local
disallow=all
allow=alaw
auth=1000
aors=1000
[1000]
type=auth
auth_type=userpass
password=sip1000
username=1000
[1000]
type=aor
max_contacts=1
[2000]
type=endpoint
context=local
disallow=all
allow=alaw
auth=2000
aors=2000
[2000]
type=auth
auth_type=userpass
password=sip2000
username=2000
[2000]
type=aor
max_contacts=1
Код: Выделить всё
[local]
exten => _XXXX,1,Dial(PJSIP/${EXTEN})
same => n,Hangup()
Код: Выделить всё
asterisk: symbol lookup error: /usr/lib64/asterisk/modules/res_pjsip.so: undefined symbol: pjsip_dlg_create_uas