Score:0

Working on video configuration suitable for webrtc and sip/udp user agents. One way audio and rtcp timeouts

vn flag
eri

WebRTC-WebRTC call works well, but SIP-SIP and WebRTC-SIP no:

[Oct 21 18:27:22] DEBUG[59]: pjproject: <?>: icess0x7f66780b0c98 Controlled agent timed-out in waiting for the controlling agent to send nominated check. Setting state to fail now..
[Oct 21 18:27:22] DEBUG[59]: pjproject: <?>: icess0x7f66780b0c98 ICE process complete, status=Controlled agent timed out waiting for nomination (PJNATH_EICENOMTIMEOUT)
[Oct 21 18:27:22] DEBUG[59]: pjproject: <?>: icess0x7f66780b0c98 Valid list
[Oct 21 18:27:22] DEBUG[59]: pjproject: <?>: icess0x7f66780b0c98 0: [1] 45.*.*.57:15962-->93.*.*.165:46226 (not nominated, state=Succeeded)
[Oct 21 18:27:22] DEBUG[59]: pjproject: <?>: icess0x7f66780b0c98 1: [2] 45.*.*.57:15963-->93.*.*.165:28911 (not nominated, state=Succeeded)
[Oct 21 18:27:22] DEBUG[46]: pjproject: <?>: icess0x7f66741cdb78 .....Candidate 4 added: comp_id=2, type=host, foundation=H2d8b1839, addr=45.*.*.57:18285, base=45.*.*.57:18285, prio=0x7efffffe (2130706430)
[Oct 21 18:27:22] DEBUG[46]: pjproject: <?>: icess0x7f66741cdb78 .....Role changed to Controlled
[Oct 21 18:27:22] DEBUG[46]: pjproject: <?>: icess0x7f66741cdb78 .....Checklist created:
[Oct 21 18:27:22] DEBUG[46]: pjproject: <?>: icess0x7f66741cdb78 ..... 0: [1] 45.*.*.57:18284-->93.*.*.165:64644 (not nominated, state=Frozen)
[Oct 21 18:27:22] DEBUG[46]: pjproject: <?>: icess0x7f66741cdb78 ..... 1: [2] 45.*.*.57:18285-->93.*.*.165:34176 (not nominated, state=Frozen)
[Oct 21 18:27:22] DEBUG[46]: pjproject: <?>: icess0x7f66741cdb78 .....Starting ICE check..
[Oct 21 18:27:22] DEBUG[46]: pjproject: <?>: icess0x7f66741cdb78 ......Check 0: [1] 45.*.*.57:18284-->93.*.*.165:64644: state changed from Frozen to Waiting
[Oct 21 18:27:22] DEBUG[46]: pjproject: <?>: icess0x7f66741cdb78 .....Checklist: state changed from Idle to Running
[Oct 21 18:27:22] DEBUG[46]: pjproject: <?>: icess0x7f66741cdb78 .....Starting checklist periodic check
[Oct 21 18:27:22] DEBUG[46]: pjproject: <?>: icess0x7f66741cdb78 ......Sending connectivity check for check 0: [1] 45.*.*.57:18284-->93.*.*.165:64644
[Oct 21 18:27:22] DEBUG[46]: pjproject: <?>: icess0x7f66741cdb78 .......Check 0: [1] 45.*.*.57:18284-->93.*.*.165:64644: state changed from Waiting to In Progress
[Oct 21 18:27:22] DEBUG[59]: pjproject: <?>: icess0x7f66741cdb78 Starting checklist periodic check
[Oct 21 18:27:22] DEBUG[59]: pjproject: <?>: icess0x7f66741cdb78 .Sending connectivity check for check 1: [2] 45.*.*.57:18285-->93.*.*.165:34176
[Oct 21 18:27:22] DEBUG[59]: pjproject: <?>: icess0x7f66741cdb78 ..Check 1: [2] 45.*.*.57:18285-->93.*.*.165:34176: state changed from Frozen to In Progress
[Oct 21 18:27:22] DEBUG[59]: pjproject: <?>: icess0x7f66741cdb78 Starting checklist periodic check
[Oct 21 18:27:22] DEBUG[92][C-00000002]: pjproject: <?>: icess0x7f66741cdb78 .Check 1: [2] 45.*.*.57:18285-->93.*.*.165:34176 (not nominated): connectivity check SUCCESS
[Oct 21 18:27:22] DEBUG[92][C-00000002]: pjproject: <?>: icess0x7f66741cdb78 .Check 1: [2] 45.*.*.57:18285-->93.*.*.165:34176: state changed from In Progress to Succeeded
[Oct 21 18:27:22] DEBUG[92][C-00000002]: pjproject: <?>: icess0x7f66741cdb78 .Check 1 is successful
[Oct 21 18:27:22] DEBUG[92][C-00000002]: pjproject: <?>: icess0x7f66741cdb78 .Check 0: [1] 45.*.*.57:18284-->93.*.*.165:64644 (not nominated): connectivity check SUCCESS
[Oct 21 18:27:22] DEBUG[92][C-00000002]: pjproject: <?>: icess0x7f66741cdb78 .Check 0: [1] 45.*.*.57:18284-->93.*.*.165:64644: state changed from In Progress to Succeeded
[Oct 21 18:27:22] DEBUG[92][C-00000002]: pjproject: <?>: icess0x7f66741cdb78 .Check 0 is successful
[Oct 21 18:27:22] DEBUG[92][C-00000002]: pjproject: <?>: icess0x7f66741cdb78 .All checks have completed. Controlled agent now waits for nomination from controlling agent (timeout=10000 msec)
[Oct 21 18:27:24] DEBUG[94][C-00000002]: pjproject: <?>: icess0x7f6674242058 ..Received Binding Indication keep-alive for component 1
[Oct 21 18:27:25] DEBUG[92][C-00000002]: pjproject: <?>:
icess0x7f66780b0c98 ..Received Binding Indication keep-alive for component 2
[Oct 21 18:27:25] DEBUG[92][C-00000002]: pjproject: <?>: icess0x7f66780b0c98 ..Received Binding Indication keep-alive for component 1

[Oct 21 18:27:20] WARNING[92][C-00000002]: res_rtp_asterisk.c:3209 __rtp_recvfrom: PJ ICE Rx error status code: 70004 'Invalid value or argument (PJ_EINVAL)'.
[Oct 21 18:27:21] WARNING[92][C-00000002]: res_rtp_asterisk.c:3209 __rtp_recvfrom: PJ ICE Rx error status code: 70004 'Invalid value or argument (PJ_EINVAL)'.

Hangup after 31 seconds, but rtp data goes to both sides.

asterisk*CLI> pjsip show endpoint 700401

 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:  700401                                               Not in use    0 of inf
     InAuth:  700401/700401
        Aor:  700401                                            10
      Contact:  700401/sip:[email protected]:5061        dbc30bf8bd NonQual         nan


 ParameterName                      : ParameterValue
 ===================================================================================================
 100rel                             : yes
 accept_multiple_sdp_answers        : false
 accountcode                        : 
 acl                                : 
 aggregate_mwi                      : true
 allow                              : (alaw|ulaw|opus|h264|vp8)
 allow_overlap                      : true
 allow_subscribe                    : true
 allow_transfer                     : true
 allow_unauthenticated_options      : false
 aors                               : 700401
 asymmetric_rtp_codec               : false
 auth                               : 700401
 bind_rtp_to_media_address          : false
 bundle                             : true
 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                        : 
 context                            : intercom
 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        : true
 dtls_auto_generate_cert            : Yes
 dtls_ca_file                       : 
 dtls_ca_path                       : 
 dtls_cert_file                     : 
 dtls_cipher                        : 
 dtls_fingerprint                   : SHA-256
 dtls_private_key                   : 
 dtls_rekey                         : 0
 dtls_setup                         : actpass
 dtls_verify                        : Yes
 dtmf_mode                          : rfc4733
 fax_detect                         : false
 fax_detect_timeout                 : 0
 follow_early_media_fork            : true
 force_avp                          : false
 force_rport                        : true
 from_domain                        : ds.domofon-sip.ru
 from_user                          : 
 g726_non_standard                  : false
 ice_support                        : true
 identify_by                        : ip,username
 ignore_183_without_sdp             : false
 inband_progress                    : false
 incoming_call_offer_pref           : local
 incoming_mwi_mailbox               : 
 language                           : 
 mailboxes                          : 
 max_audio_streams                  : 1
 max_video_streams                  : 1
 media_address                      : 
 media_encryption                   : dtls
 media_encryption_optimistic        : false
 media_use_received_transport       : true
 message_context                    : messages
 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                      : 
 outbound_proxy                     : 
 outgoing_call_offer_pref           : remote_merge
 pickup_group                       : 
 preferred_codec_only               : false
 record_off_feature                 : automixmon
 record_on_feature                  : automixmon
 refer_blind_progress               : true
 rewrite_contact                    : true
 rpid_immediate                     : false
 rtcp_mux                           : true
 rtp_engine                         : asterisk
 rtp_ipv6                           : false
 rtp_keepalive                      : 15
 rtp_symmetric                      : true
 rtp_timeout                        : 0
 rtp_timeout_hold                   : 0
 sdp_owner                          : -
 sdp_session                        : Asterisk
 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                        : false
 sub_min_expiry                     : 0
 subscribe_context                  : subscribe
 suppress_q850_reason_headers       : 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                          : 
 trust_connected_line               : yes
 trust_id_inbound                   : false
 trust_id_outbound                  : false
 use_avpf                           : true
 use_ptime                          : false
 user_eq_phone                      : false
 voicemail_extension                : 
 webrtc                             : yes
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.