[asterisk-bugs] [JIRA] (ASTERISK-27120) Unsupported transport (PJSIP_EUNSUPTRANSPORT)' sending OPTIONS request to endpoint

Rusty Newton (JIRA) noreply at issues.asterisk.org
Wed Jul 12 14:25:57 CDT 2017


     [ https://issues.asterisk.org/jira/browse/ASTERISK-27120?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rusty Newton updated ASTERISK-27120:
------------------------------------

    Assignee: Andreas Krüger
      Status: Waiting for Feedback  (was: Triage)

Does the error occur with every OPTIONS request or only sometimes?

Can you include a full debug log around the time the issue occurs?

https://wiki.asterisk.org/wiki/display/AST/Collecting+Debug+Information

Make sure the attached debug log includes the pjsip logger output as well as error,notice,warning,verbose and debug channels.

> Unsupported transport (PJSIP_EUNSUPTRANSPORT)' sending OPTIONS request to endpoint
> ----------------------------------------------------------------------------------
>
>                 Key: ASTERISK-27120
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27120
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_pjsip
>    Affects Versions: 14.5.0
>         Environment: Ubuntu 16.04, dedicated servers, non nat'ed
>            Reporter: Andreas Krüger
>            Assignee: Andreas Krüger
>
> We have upgraded to Asterisk 14.5.0 from 13.10 in hopes this error would be gone, but we are still seeing it. As we have upgraded I now suspect it might be a configuration error.
> All clients are connected with WSS (WebRTC). The following errors are in the logs:
> {code}
> Jul 11 02:11:22 osl1-voip-cluster01-asterisk04 nice[4156]: [2017-07-11 02:11:22] #033[1;31mERROR#033[0m[12712]: #033[1;37mres_pjsip.c#033[0m:#033[1;37m3745#033[0m #033[1;37mendpt_send_request#033[0m: Error 171060 'Unsupported transport (PJSIP_EUNSUPTRANSPORT)' sending OPTIONS request to endpoint 10015-OF3GAJFHL
> Jul 11 02:11:23 osl1-voip-cluster01-asterisk04 nice[4156]: [2017-07-11 02:11:23] #033[1;31mERROR#033[0m[5505]: #033[1;37mres_pjsip.c#033[0m:#033[1;37m3745#033[0m #033[1;37mendpt_send_request#033[0m: Error 171060 'Unsupported transport (PJSIP_EUNSUPTRANSPORT)' sending OPTIONS request to endpoint 10009-L8YK4PECM
> Jul 11 02:11:28 osl1-voip-cluster01-asterisk04 nice[4156]: [2017-07-11 02:11:28] #033[1;31mERROR#033[0m[31981]: #033[1;37mres_pjsip.c#033[0m:#033[1;37m3745#033[0m #033[1;37mendpt_send_request#033[0m: Error 171060 'Unsupported transport (PJSIP_EUNSUPTRANSPORT)' sending OPTIONS request to endpoint 10009-YXWSX8LZ5
> {code}
> Here is the configuration:
> pjsip.conf:
> {code}
> [system]
> ; From https://wiki.asterisk.org/wiki/display/AST/Performance+Tuning
> timer_t1=150
> timer_b=9600
> threadpool_initial_size=20
> threadpool_auto_increment=5
> threadpool_idle_timeout=120
> threadpool_max_size=100
> [global]
> keep_alive_interval=20
> contact_expiration_check_interval=10
> [udp5060]
> type=transport
> protocol=udp
> bind=0.0.0.0:5060
> local_net=185.161.127.70/255.255.255.240
> external_media_address=185.161.127.70
> external_signaling_address=185.161.127.70
> tos=af11
> cos=5
> [wss]
> type=transport
> protocol=wss
> bind=0.0.0.0:15060
> local_net=185.161.127.70/255.255.255.240
> external_media_address=185.161.127.70
> external_signaling_address=185.161.127.70
> [tls]
> type=transport
> protocol=tls
> bind=0.0.0.0:15061
> cert_file=/etc/sslmate/certs/star.publicdns.zone.chained.crt
> priv_key_file=/etc/sslmate/keys/star.publicdns.zone.key
> local_net=185.161.127.70/255.255.255.240
> external_media_address=185.161.127.70
> external_signaling_address=185.161.127.70
> method=sslv23
> tos=af11
> cos=5
> {code}
> {code}
> osl1-voip-cluster01-asterisk04*CLI> pjsip show endpoint 10004-AV8V6SSI5
>  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:  10004-AV8V6SSI5                                      Unavailable   0 of inf
>      InAuth:  10004-AV8V6SSI5/10004-AV8V6SSI5
>         Aor:  10004-AV8V6SSI5                                    2
>   Transport:  wss                       wss      0      0  0.0.0.0:15060
>  ParameterName                      : ParameterValue
>  ===============================================================================================================================================================================================================================
>  100rel                             : yes
>  accountcode                        : AV8V6SSI5
>  acl                                :
>  aggregate_mwi                      : true
>  allow                              : (ulaw|alaw)
>  allow_overlap                      : true
>  allow_subscribe                    : true
>  allow_transfer                     : true
>  aors                               : 10004-AV8V6SSI5
>  asymmetric_rtp_codec               : false
>  auth                               : 10004-AV8V6SSI5
>  bind_rtp_to_media_address          : false
>  call_group                         :
>  callerid                           : 10004-AV8V6SSI5
>  callerid_privacy                   : allowed_not_screened
>  callerid_tag                       : 10004-AV8V6SSI5
>  connected_line_method              : invite
>  contact_acl                        :
>  context                            : internal
>  cos_audio                          : 5
>  cos_video                          : 3
>  device_state_busy_at               : 0
>  direct_media                       : false
>  direct_media_glare_mitigation      : none
>  direct_media_method                : invite
>  disable_direct_media_on_nat        : false
>  dtls_ca_file                       :
>  dtls_ca_path                       :
>  dtls_cert_file                     : /etc/sslmate/certs/star.publicdns.zone.chained.crt
>  dtls_cipher                        : ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES256-SHA
>  dtls_fingerprint                   : SHA-256
>  dtls_private_key                   : /etc/sslmate/keys/star.publicdns.zone.key
>  dtls_rekey                         : 0
>  dtls_setup                         : actpass
>  dtls_verify                        : No
>  dtmf_mode                          : rfc4733
>  fax_detect                         : false
>  fax_detect_timeout                 : 0
>  force_avp                          : false
>  force_rport                        : true
>  from_domain                        :
>  from_user                          :
>  g726_non_standard                  : false
>  ice_support                        : true
>  identify_by                        : username
>  inband_progress                    : false
>  language                           :
>  mailboxes                          :
>  media_address                      :
>  media_encryption                   : dtls
>  media_encryption_optimistic        : false
>  media_use_received_transport       : true
>  message_context                    :
>  moh_passthrough                    : false
>  moh_suggest                        : default
>  mwi_from_user                      :
>  mwi_subscribe_replaces_unsolicited : false
>  named_call_group                   :
>  named_pickup_group                 :
>  one_touch_recording                : false
>  outbound_auth                      :
>  outbound_proxy                     :
>  pickup_group                       :
>  record_off_feature                 : automixmon
>  record_on_feature                  : automixmon
>  rewrite_contact                    : true
>  rpid_immediate                     : false
>  rtcp_mux                           : true
>  rtp_engine                         : asterisk
>  rtp_ipv6                           : false
>  rtp_keepalive                      : 20
>  rtp_symmetric                      : true
>  rtp_timeout                        : 0
>  rtp_timeout_hold                   : 0
>  sdp_owner                          : -
>  sdp_session                        : Asterisk
>  send_diversion                     : true
>  send_pai                           : false
>  send_rpid                          : false
>  set_var                            :
>  srtp_tag_32                        : false
>  sub_min_expiry                     : 0
>  subscribe_context                  :
>  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                          : 40
>  tos_video                          : 136
>  transport                          : wss
>  trust_id_inbound                   : false
>  trust_id_outbound                  : true
>  use_avpf                           : true
>  use_ptime                          : false
>  user_eq_phone                      : false
>  voicemail_extension                :
> {code}
> And the real-time configuration of one of the endpoints:
> {code}
> INSERT INTO `ps_aors` (`id`, `contact`, `default_expiration`, `mailboxes`, `max_contacts`, `minimum_expiration`, `remove_existing`, `qualify_frequency`, `authenticate_qualify`, `maximum_expiration`, `outbound_proxy`, `support_path`, `qualify_timeout`, `voicemail_extension`)
> VALUES
> 	('10004-AV8V6SSI5', NULL, NULL, NULL, 2, NULL, 'yes', 110, NULL, 160, NULL, NULL, NULL, NULL);
> INSERT INTO `ps_contacts` (`id`, `uri`, `expiration_time`, `qualify_frequency`, `outbound_proxy`, `path`, `user_agent`, `qualify_timeout`, `regserver`, `insert_id`, `reg_server`, `authenticate_qualify`, `via_addr`, `via_port`, `call_id`, `endpoint`)
> VALUES
> 	('10004-AV8V6SSI5^3B at 17beb9528af63118c13810c004a2826b', 'sip:8puacic4 at 185.161.124.172:54576^3Btransport=ws', 1499751903, 0, '', '', 'SIP.js/0.7.7', 3, '*******', 693065, 'osl1-voip-cluster01-asterisk04', 'no', '192.0.2.175', 0, 'rcdmgg305odojqsvprbfuo', '10004-AV8V6SSI5');
> INSERT INTO `ps_endpoints` (`id`, `tenants_id`, `transport`, `aors`, `auth`, `context`, `disallow`, `allow`, `direct_media`, `connected_line_method`, `direct_media_method`, `direct_media_glare_mitigation`, `disable_direct_media_on_nat`, `dtmf_mode`, `external_media_address`, `force_rport`, `ice_support`, `identify_by`, `mailboxes`, `moh_suggest`, `outbound_auth`, `outbound_proxy`, `rewrite_contact`, `rtp_ipv6`, `rtp_symmetric`, `send_diversion`, `send_pai`, `send_rpid`, `timers_min_se`, `timers`, `timers_sess_expires`, `callerid`, `callerid_privacy`, `callerid_tag`, `100rel`, `aggregate_mwi`, `trust_id_inbound`, `trust_id_outbound`, `use_ptime`, `use_avpf`, `media_encryption`, `inband_progress`, `call_group`, `pickup_group`, `named_call_group`, `named_pickup_group`, `device_state_busy_at`, `fax_detect`, `t38_udptl`, `t38_udptl_ec`, `t38_udptl_maxdatagram`, `t38_udptl_nat`, `t38_udptl_ipv6`, `tone_zone`, `language`, `one_touch_recording`, `record_on_feature`, `record_off_feature`, `rtp_engine`, `allow_transfer`, `allow_subscribe`, `sdp_owner`, `sdp_session`, `tos_audio`, `tos_video`, `sub_min_expiry`, `from_domain`, `from_user`, `mwi_from_user`, `dtls_verify`, `dtls_rekey`, `dtls_cert_file`, `dtls_private_key`, `dtls_cipher`, `dtls_ca_file`, `dtls_ca_path`, `dtls_setup`, `srtp_tag_32`, `media_address`, `redirect_method`, `set_var`, `cos_audio`, `cos_video`, `message_context`, `force_avp`, `media_use_received_transport`, `accountcode`, `media_encryption_optimistic`, `user_eq_phone`, `rpid_immediate`, `g726_non_standard`, `rtp_keepalive`, `rtp_timeout`, `rtp_timeout_hold`, `state`, `autopark_incoming`, `offline_forward_to`, `bind_rtp_to_media_address`, `allow_multiple_upstreams`, `default_outbound_trunk_numbers_id`, `voicemail_extension`, `mwi_subscribe_replaces_unsolicited`, `record`, `deny`, `permit`, `acl`, `contact_deny`, `contact_permit`, `contact_acl`, `subscribe_context`, `fax_detect_timeout`, `contact_user`, `asymmetric_rtp_codec`, `rtcp_mux`, `allow_overlap`)
> VALUES
> 	('10004-AV8V6SSI5', 379, 'wss', '10004-AV8V6SSI5', '10004-AV8V6SSI5', 'internal', 'all', 'ulaw,alaw', 'no', NULL, NULL, NULL, NULL, NULL, NULL, 'yes', 'yes', NULL, NULL, NULL, NULL, NULL, 'yes', NULL, 'yes', NULL, NULL, NULL, NULL, NULL, NULL, '10004-AV8V6SSI5', NULL, '10004-AV8V6SSI5', NULL, NULL, NULL, 'yes', NULL, 'yes', 'dtls', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'af11', 'af41', NULL, NULL, NULL, NULL, 'no', NULL, '/etc/sslmate/certs/****', '/etc/sslmate/keys/****', 'ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES256-SHA', NULL, NULL, 'actpass', NULL, NULL, NULL, NULL, 5, 3, NULL, NULL, 'yes', 'AV8V6SSI5', NULL, NULL, NULL, NULL, 20, NULL, NULL, 'offline', 'yes', NULL, NULL, 'no', NULL, NULL, NULL, 'no', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'yes', NULL);
> {code}
> Transport is set to "wss" on the endpoint.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list