PRIME_BBCODE_SPOILER_SHOW PRIME_BBCODE_SPOILER:
raspbx*CLI> pjsip show endpoint MGTS
Endpoint: <Endpoint/CID.....................................> <State.....> <Channels.>
I/OAuth: <AuthId/UserName...........................................................>
Aor: <Aor............................................> <MaxContact>
Contact: <Aor/ContactUri..........................> <Hash....> <Status> <RTT(ms)..>
Transport: <TransportId........> <Type> <cos> <tos> <BindAddress..................>
Identify: <Identify/Endpoint.........................................................>
Match: <criteria.........................>
Channel: <ChannelId......................................> <State.....> <Time.....>
Exten: <DialedExten...........> CLCID: <ConnectedLineCID.......>
==========================================================================================
Endpoint: MGTS Not in use 0 of inf
OutAuth: MGTS/+7495XXXXXXX@msk.ims.mgts.ru
Aor: MGTS 0
Contact: MGTS/sip:+7495XXXXXXX@msk.ims.mgts.ru:5060 343ed8c817 Avail 22.542
Transport: 0.0.0.0-udp udp 3 96 0.0.0.0:5060
Identify: MGTS/MGTS
Match: 192.168.XX.XX/32
ParameterName : ParameterValue
===================================================================================================
100rel : yes
accept_multiple_sdp_answers : false
accountcode :
acl :
aggregate_mwi : true
allow : (ulaw|alaw)
allow_overlap : true
allow_subscribe : true
allow_transfer : true
allow_unauthenticated_options : false
aors : MGTS
asymmetric_rtp_codec : false
auth :
bind_rtp_to_media_address : false
bundle : false
call_group :
callerid : <unknown>
callerid_privacy : allowed_not_screened
callerid_tag :
codec_prefs_incoming_answer : prefer:pending, operation:intersect, keep:all, transcode:allow
codec_prefs_incoming_offer : prefer:pending, operation:intersect, keep:all, transcode:allow
codec_prefs_outgoing_answer : prefer:pending, operation:intersect, keep:all, transcode:allow
codec_prefs_outgoing_offer : prefer:pending, operation:union, keep:all, transcode:allow
connected_line_method : invite
contact_acl :
contact_user : +7495XXXXXX
context : from-pstn
cos_audio : 0
cos_video : 0
device_state_busy_at : 0
direct_media : false
direct_media_glare_mitigation : none
direct_media_method : invite
disable_direct_media_on_nat : false
dtls_auto_generate_cert : No
dtls_ca_file :
dtls_ca_path :
dtls_cert_file :
dtls_cipher :
dtls_fingerprint : SHA-256
dtls_private_key :
dtls_rekey : 0
dtls_setup : active
dtls_verify : No
dtmf_mode : auto
fax_detect : false
fax_detect_timeout : 0
follow_early_media_fork : true
force_avp : false
force_rport : true
from_domain : msk.ims.mgts.ru
from_user : +7495XXXXXXX
g726_non_standard : false
geoloc_incoming_call_profile :
geoloc_outgoing_call_profile :
ice_support : false
identify_by : username,ip
ignore_183_without_sdp : false
inband_progress : false
incoming_call_offer_pref : local
incoming_mwi_mailbox :
language : ru
mailboxes :
max_audio_streams : 1
max_video_streams : 1
media_address :
media_encryption : no
media_encryption_optimistic : false
media_use_received_transport : false
message_context :
moh_passthrough : false
moh_suggest : default
mwi_from_user :
mwi_subscribe_replaces_unsolicited : no
named_call_group :
named_pickup_group :
notify_early_inuse_ringing : false
one_touch_recording : false
outbound_auth : MGTS
outbound_proxy : sip:192.168.XX.XX:5060
outgoing_call_offer_pref : remote_merge
overlap_context :
pickup_group :
preferred_codec_only : false
record_off_feature : automixmon
record_on_feature : automixmon
refer_blind_progress : true
rewrite_contact : false
rpid_immediate : false
rtcp_mux : false
rtp_engine : asterisk
rtp_ipv6 : false
rtp_keepalive : 0
rtp_symmetric : true
rtp_timeout : 0
rtp_timeout_hold : 0
sdp_owner : -
sdp_session : Asterisk
security_mechanisms :
security_negotiation : no
send_aoc : false
send_connected_line : yes
send_diversion : true
send_history_info : false
send_pai : false
send_rpid : false
set_var :
srtp_tag_32 : false
stir_shaken : off
stir_shaken_profile :
sub_min_expiry : 0
subscribe_context :
suppress_q850_reason_headers : false
t38_bind_udptl_to_media_address : false
t38_udptl : false
t38_udptl_ec : none
t38_udptl_ipv6 : false
t38_udptl_maxdatagram : 0
t38_udptl_nat : false
timers : yes
timers_min_se : 90
timers_sess_expires : 1800
tone_zone :
tos_audio : 0
tos_video : 0
transport : 0.0.0.0-udp
trust_connected_line : yes
trust_id_inbound : false
trust_id_outbound : false
use_avpf : false
use_ptime : false
user_eq_phone : false
voicemail_extension :
webrtc : no
Endpoint: <Endpoint/CID.....................................> <State.....> <Channels.>
I/OAuth: <AuthId/UserName...........................................................>
Aor: <Aor............................................> <MaxContact>
Contact: <Aor/ContactUri..........................> <Hash....> <Status> <RTT(ms)..>
Transport: <TransportId........> <Type> <cos> <tos> <BindAddress..................>
Identify: <Identify/Endpoint.........................................................>
Match: <criteria.........................>
Channel: <ChannelId......................................> <State.....> <Time.....>
Exten: <DialedExten...........> CLCID: <ConnectedLineCID.......>
==========================================================================================
Endpoint: MGTS Not in use 0 of inf
OutAuth: MGTS/+7495XXXXXXX@msk.ims.mgts.ru
Aor: MGTS 0
Contact: MGTS/sip:+7495XXXXXXX@msk.ims.mgts.ru:5060 343ed8c817 Avail 22.542
Transport: 0.0.0.0-udp udp 3 96 0.0.0.0:5060
Identify: MGTS/MGTS
Match: 192.168.XX.XX/32
ParameterName : ParameterValue
===================================================================================================
100rel : yes
accept_multiple_sdp_answers : false
accountcode :
acl :
aggregate_mwi : true
allow : (ulaw|alaw)
allow_overlap : true
allow_subscribe : true
allow_transfer : true
allow_unauthenticated_options : false
aors : MGTS
asymmetric_rtp_codec : false
auth :
bind_rtp_to_media_address : false
bundle : false
call_group :
callerid : <unknown>
callerid_privacy : allowed_not_screened
callerid_tag :
codec_prefs_incoming_answer : prefer:pending, operation:intersect, keep:all, transcode:allow
codec_prefs_incoming_offer : prefer:pending, operation:intersect, keep:all, transcode:allow
codec_prefs_outgoing_answer : prefer:pending, operation:intersect, keep:all, transcode:allow
codec_prefs_outgoing_offer : prefer:pending, operation:union, keep:all, transcode:allow
connected_line_method : invite
contact_acl :
contact_user : +7495XXXXXX
context : from-pstn
cos_audio : 0
cos_video : 0
device_state_busy_at : 0
direct_media : false
direct_media_glare_mitigation : none
direct_media_method : invite
disable_direct_media_on_nat : false
dtls_auto_generate_cert : No
dtls_ca_file :
dtls_ca_path :
dtls_cert_file :
dtls_cipher :
dtls_fingerprint : SHA-256
dtls_private_key :
dtls_rekey : 0
dtls_setup : active
dtls_verify : No
dtmf_mode : auto
fax_detect : false
fax_detect_timeout : 0
follow_early_media_fork : true
force_avp : false
force_rport : true
from_domain : msk.ims.mgts.ru
from_user : +7495XXXXXXX
g726_non_standard : false
geoloc_incoming_call_profile :
geoloc_outgoing_call_profile :
ice_support : false
identify_by : username,ip
ignore_183_without_sdp : false
inband_progress : false
incoming_call_offer_pref : local
incoming_mwi_mailbox :
language : ru
mailboxes :
max_audio_streams : 1
max_video_streams : 1
media_address :
media_encryption : no
media_encryption_optimistic : false
media_use_received_transport : false
message_context :
moh_passthrough : false
moh_suggest : default
mwi_from_user :
mwi_subscribe_replaces_unsolicited : no
named_call_group :
named_pickup_group :
notify_early_inuse_ringing : false
one_touch_recording : false
outbound_auth : MGTS
outbound_proxy : sip:192.168.XX.XX:5060
outgoing_call_offer_pref : remote_merge
overlap_context :
pickup_group :
preferred_codec_only : false
record_off_feature : automixmon
record_on_feature : automixmon
refer_blind_progress : true
rewrite_contact : false
rpid_immediate : false
rtcp_mux : false
rtp_engine : asterisk
rtp_ipv6 : false
rtp_keepalive : 0
rtp_symmetric : true
rtp_timeout : 0
rtp_timeout_hold : 0
sdp_owner : -
sdp_session : Asterisk
security_mechanisms :
security_negotiation : no
send_aoc : false
send_connected_line : yes
send_diversion : true
send_history_info : false
send_pai : false
send_rpid : false
set_var :
srtp_tag_32 : false
stir_shaken : off
stir_shaken_profile :
sub_min_expiry : 0
subscribe_context :
suppress_q850_reason_headers : false
t38_bind_udptl_to_media_address : false
t38_udptl : false
t38_udptl_ec : none
t38_udptl_ipv6 : false
t38_udptl_maxdatagram : 0
t38_udptl_nat : false
timers : yes
timers_min_se : 90
timers_sess_expires : 1800
tone_zone :
tos_audio : 0
tos_video : 0
transport : 0.0.0.0-udp
trust_connected_line : yes
trust_id_inbound : false
trust_id_outbound : false
use_avpf : false
use_ptime : false
user_eq_phone : false
voicemail_extension :
webrtc : no
В логе видно, что вроде пошел звонок, но потом получаю Unallocated number:
PRIME_BBCODE_SPOILER_SHOW PRIME_BBCODE_SPOILER:
<--- Received SIP response (885 bytes) from UDP:192.168.XX.XX:5060 ---> Здесь ip sip сервера МГТС
SIP/2.0 183 Session Progress
Via: SIP/2.0/UDP 192.168.1.YYY:5060;branch=z9hGGbKP044c7df84-cef9-4598-b929-31605d510939;rport=5060 Здесь внутренний ip моего астериска
Call-ID: 045e9c5f-b946-4810-9752-083ef8a6e5ba
From: <sip:+7495XXXXXXX@msk.ims.mgts.ru>;tag=3e005c7c-d58b-4266-ba8f-c0b2c79d5de5
To: <sip:84957777777@msk.ims.mgts.ru>;tag=sbc6214gjgezspe-CC-16
CSeq: 19969 INVITE
Allow: INVITE,ACK,OPTIONS,BYE,CANCEL,REGISTER,INFO,PRACK,SUBSCRIBE,NOTIFY,UPDATE,MESSAGE,UNSUBSCRIBE,REFER,PUBLISH
Contact: <sip:192.168.XX.XX:5060>
Require: 100rel
RSeq: 1
Reason: Q.850;cause=1;text="Unallocated number",SIP;cause=404
P-Early-Media: sendrecv
Content-Length: 220
Content-Type: application/sdp
v=0
o=- 77824722 77824722 IN IP4 192.168.XX.100 Это какойто другой снервер МГТС
s=SBC call
c=IN IP4 192.168.XX.100
t=0 0
m=audio 15510 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=ptime:20
a=maxptime:150
a=sendrecv
SIP/2.0 183 Session Progress
Via: SIP/2.0/UDP 192.168.1.YYY:5060;branch=z9hGGbKP044c7df84-cef9-4598-b929-31605d510939;rport=5060 Здесь внутренний ip моего астериска
Call-ID: 045e9c5f-b946-4810-9752-083ef8a6e5ba
From: <sip:+7495XXXXXXX@msk.ims.mgts.ru>;tag=3e005c7c-d58b-4266-ba8f-c0b2c79d5de5
To: <sip:84957777777@msk.ims.mgts.ru>;tag=sbc6214gjgezspe-CC-16
CSeq: 19969 INVITE
Allow: INVITE,ACK,OPTIONS,BYE,CANCEL,REGISTER,INFO,PRACK,SUBSCRIBE,NOTIFY,UPDATE,MESSAGE,UNSUBSCRIBE,REFER,PUBLISH
Contact: <sip:192.168.XX.XX:5060>
Require: 100rel
RSeq: 1
Reason: Q.850;cause=1;text="Unallocated number",SIP;cause=404
P-Early-Media: sendrecv
Content-Length: 220
Content-Type: application/sdp
v=0
o=- 77824722 77824722 IN IP4 192.168.XX.100 Это какойто другой снервер МГТС
s=SBC call
c=IN IP4 192.168.XX.100
t=0 0
m=audio 15510 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=ptime:20
a=maxptime:150
a=sendrecv