Hello
I use asterisk 12.5.0 on a Debian jessie (testing) system.
I have some problems to authenticate with digest authentication, using the pjsip channel
I created a pjsip configuration consisting of 4 parts
first part - the transport context
the second part - the aor context
the third part - the endpoint context
fourth part - the auth context
If i want make a call, the cli message of the asterisk is
WARNING[13930]: res_pjsip_outbound_authenticator_digest.c:124 digest_create_request_with_auth: Unable to create request with auth.No auth credentials for any realms in challenge.
the message of the cli command
pjsip show endpoint 062117212222
Endpoint: <Endpoint/CID.....................................> <State.....> <Channels.>
I/OAuth: <AuthId/UserName...........................................................>
Aor: <Aor............................................> <MaxContact>
Contact: <Aor/ContactUri...............................> <Status....> <RTT(ms)..>
Transport: <TransportId........> <Type> <cos> <tos> <BindAddress..................>
Identify: <MatchList.................................................................>
Channel: <ChannelId......................................> <State.....> <Time(sec)>
Exten: <DialedExten...........> CLCID: <ConnectedLineCID.......>
=========================================================================================
Endpoint: 062117212222/062117212222 Not in use 0 of inf
OutAuth: 06211721/06211721
InAuth: 06211721/06211721
Aor: 062117212222 0
Contact: 062117212222/sip:xxx.xxx.xxx.xxx:5060 Unavail 0.000
Transport: transport-udp udp 0 0 145.253.240.98:5060
ParameterName : ParameterValue
======================================================
100rel : yes
accountcode :
aggregate_mwi : true
allow : (alaw)
allow_subscribe : true
allow_transfer : true
aors : 062117212222
auth : 06211721
call_group :
callerid : 062117212222
callerid_privacy : allowed_not_screened
callerid_tag : 062117212222
connected_line_method : invite
context : inbound
cos_audio : 0
cos_video : 0
device_state_busy_at : 0
direct_media : true
direct_media_glare_mitigation : none
direct_media_method : invite
disable_direct_media_on_nat : false
dtls_ca_file :
dtls_ca_path :
dtls_cert_file :
dtls_cipher :
dtls_private_key :
dtls_rekey : 0
dtls_setup : active
dtls_verify : No
dtmf_mode : rfc4733
fax_detect : false
force_avp : false
force_rport : true
from_domain : xxxxxxxxxxxxxxx
from_user :
ice_support : false
identify_by : username
inband_progress : false
language :
mailboxes :
media_address :
media_encryption : none
media_use_received_transport : false
message_context :
moh_suggest : default
mwi_from_user :
named_call_group :
named_pickup_group :
one_touch_recording : false
outbound_auth : 06211721
outbound_proxy : sip:xxx.xxx.xxx.xxx:5060
pickup_group :
record_off_feature : automixmon
record_on_feature : automixmon
rewrite_contact : true
rtp_engine : asterisk
rtp_ipv6 : false
rtp_symmetric : false
sdp_owner : -
sdp_session : Asterisk
send_diversion : true
send_pai : true
send_rpid : false
set_var :
srtp_tag_32 : false
sub_min_expiry : 0
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 : transport-udp
trust_id_inbound : false
trust_id_outbound : true
use_avpf : false
use_ptime : false
the message of the cli command
pjsip show auth 06211721
I/OAuth: <AuthId/UserName.............................................................>
=========================================================================================
Auth: 06211721/06211721
ParameterName : ParameterValue
====================================================
auth_type : userpass
md5_cred :
nonce_lifetime : 32
password : xxxxxxxxxxxxx
realm : 06211721:xxxxxxxxxxxxxx@xxxxxxxxxx.de
username : 06211721
I think it means, that the auth object with the id 06211721 exist
That’s why, I don’t understand the asterisk message
"Unable to create request with auth"
Has anyone an idea
Thanks
Burkhard