Hi, The server in the basic version, i.e. I didn’t change anything, except for adding Extension No. 200 and the liquor - it worked properly - took calls and could be called;
I installed python3, made an upgrade and something broke down; I don’t know if I accidentally clicked on something, but now I have such a problem that outgoing calls come out, but I can’t answer anything…
after I give the command:
asterisk -rdddddddd
I get it:
res_pjsip/pjsip_distributor.c:394 find_dialog: Could not find matching transaction for Request msg ACK/cseq=102 (rdata0x7f8c5c00a918)
[2020-08-16 20:40:02] DEBUG[24646]: res_pjsip/pjsip_distributor.c:472 ast_sip_get_distributor_serializer: Calculated serializer pjsip/distributor-0000003b to use for Request msg ACK/cseq=102 (rdata0x7f8c5c00a918)
[2020-08-16 20:40:02] DEBUG[24647]: netsock2.c:170 ast_sockaddr_split_hostport: Splitting '185.45.aa.bb' into...
[2020-08-16 20:40:02] DEBUG[24647]: netsock2.c:224 ast_sockaddr_split_hostport: ...host '185.45.aa.bb' and port ''.
[2020-08-16 20:40:02] DEBUG[24647]: res_pjsip_endpoint_identifier_ip.c:260 ip_identify_match_check: Source address 185.45.aa.bb:5060 does not match identify '12345'
[2020-08-16 20:40:02] DEBUG[24647]: res_pjsip_endpoint_identifier_user.c:148 username_identify: Attempting identify by From username '+48XXXXXXXXX' domain 'sip.XXXXXXXXXX'
[2020-08-16 20:40:02] DEBUG[24647]: res_pjsip_endpoint_identifier_user.c:152 username_identify: Endpoint not found for From username '+48XXXXXXXXX' domain 'sip.XXXXXXXX'
in pjsip.identify.conf
[12345]
type=identify
endpoint=12345
match=sip.XXXXXXXXX
in include pjsip.registration.conf
[12345]
type=registration
transport=0.0.0.0-udp
outbound_auth=12345
retry_interval=60
fatal_retry_interval=0
forbidden_retry_interval=10
max_retries=10
expiration=120
auth_rejection_permanent=yes
line=no
server_uri=sip:sip.XXXXXXXXX:5060
client_uri=sip:[email protected]:5060
in #include pjsip.endpoint.conf
[200]
type=endpoint
aors=200
auth=200-auth
tos_audio=ef
tos_video=af41
cos_audio=5
cos_video=4
allow=ulaw,alaw,gsm,g726,g722,g723,speex,speex16,speex32,siren7,adpcm,silk8,silk12,silk16,silk24,g719,g729,slin,slin12,slin16,slin24,slin32,slin44,slin48,slin96,slin192,lpc10,testlaw,ilbc,opus,codec2,siren14
context=from-internal
callerid=JOHN XXXXX <200>
dtmf_mode=rfc4733
direct_media=yes
[email protected]
mwi_subscribe_replaces_unsolicited=yes
aggregate_mwi=yes
use_avpf=no
rtcp_mux=no
max_audio_streams=1
max_video_streams=1
bundle=no
ice_support=no
media_use_received_transport=no
trust_id_inbound=yes
user_eq_phone=no
send_connected_line=yes
media_encryption=no
timers=yes
timers_min_se=90
media_encryption_optimistic=no
refer_blind_progress=yes
refer_blind_progress=yes
send_pai=yes
rtp_symmetric=yes
rewrite_contact=yes
force_rport=yes
language=pl
one_touch_recording=on
record_on_feature=apprecord
record_off_feature=apprecord
language=pl
[12345]
type=endpoint
transport=0.0.0.0-udp
context=from-pstn
disallow=all
allow=ulaw,alaw
aors=12345
send_connected_line=false
language=pl
outbound_auth=12345
from_domain=sip.XXXXXXXXX
from_user=12345
user_eq_phone=no
t38_udptl=no
t38_udptl_ec=none
fax_detect=no
trust_id_inbound=no
t38_udptl_nat=no
send_rpid=yes
force_rport=no
direct_media=no
rtp_symmetric=yes
dtmf_mode=auto
[dpma_endpoint]
type=endpoint
context=dpma-invalid
context=dpma-invalid
on my nat/ firewall i have open 19000-20000 /UDP
in include pjsip.transports.conf
[0.0.0.0-udp]
type=transport
protocol=udp
bind=0.0.0.0:5160
external_media_address=80.68.XXX.XXX
external_signaling_address=80.68.XXX.XXX
allow_reload=no
tos=cs3
cos=3
local_net=192.168.1.0/24