Hello!
I have OpenSIPS and Asterisk (Asterisk 18.13.0).
Client → (WebRTC) → OpenSIPS → (SIP) → Asterisk (REGISTER)
When the WebRTC-client sends the REGISTER and Asterisk receives it with the ‘transport=wss’-parameter in the Contact field, Asterisk displays an ERROR. But if the parameter is ‘ws’ - everything is fine.
[Jul 28 06:08:24] DEBUG[13459]: threadpool.c:1029 worker_thread_destroy: Destroying worker thread 208
[Jul 28 06:08:24] DEBUG[13459]: threadpool.c:1029 worker_thread_destroy: Destroying worker thread 209
[Jul 28 06:08:24] DEBUG[13459]: threadpool.c:1029 worker_thread_destroy: Destroying worker thread 210
[Jul 28 06:08:24] DEBUG[14202]: res_pjsip/pjsip_options.c:927 sip_options_qualify_aor: Qualifying all contacts on AOR ‘9f3ee6b6-30ee-4070-97bf-9bac3fcf8587110’
[Jul 28 06:08:24] DEBUG[14202]: res_pjsip/pjsip_options.c:857 sip_options_qualify_contact: Qualifying contact ‘9f3ee6b6-30ee-4070-97bf-9bac3fcf8587110;@6dff92f06301f63868763b12e35e3ec2’ on AOR ‘9f3ee6b6-30ee-4070-97bf-9bac3fcf8587110’
[Jul 28 06:08:24] ERROR[14202]: res_pjsip.c:1228 create_out_of_dialog_request: Unable to create From header for OPTIONS request to endpoint 9f3ee6b6-30ee-4070-97bf-9bac3fcf8587110
[Jul 28 06:08:24] ERROR[14202]: res_pjsip/pjsip_options.c:877 sip_options_qualify_contact: Unable to create request to qualify contact sip:ndkhnm40@178.1.1.8:4892;transport=wss on AOR 9f3ee6b6-30ee-4070-97bf-9bac3fcf8587110
“Contact: sip:ndkhnm40@178.1.1.8:4892;transport=wss;+sip.ice;reg-id=1;+sip.instance=“urn:uuid:83c3d8ce-d958-4957-9993-4166b887ed03”;expires=600” - Wrong
“Contact: sip:ndkhnm40@178.1.1.8:4892;transport=ws;+sip.ice;reg-id=1;+sip.instance=“urn:uuid:83c3d8ce-d958-4957-9993-4166b887ed03”;expires=600” - Good