[asterisk-bugs] [JIRA] (ASTERISK-27825) Sometimes when the call is intercepted, the asterisk reloads

Richard Mudgett (JIRA) noreply at issues.asterisk.org
Fri Jun 1 16:00:54 CDT 2018


    [ https://issues.asterisk.org/jira/browse/ASTERISK-27825?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=243301#comment-243301 ] 

Richard Mudgett edited comment on ASTERISK-27825 at 6/1/18 4:00 PM:
--------------------------------------------------------------------

srv-platforma1*CLI> pjsip show endpoint 5815
{noformat}
 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:  5815/5815                                            Not in use    0 of inf
     InAuth:  5815/5815
        Aor:  5815                                              10
      Contact:  5815/sip:5815 at 10.40.1.121:5060             d9f5a723a3 Avail        35.102
  Transport:  udp-transport             udp      0     96  0.0.0.0:5060


 ParameterName                      : ParameterValue
 ==========================================================================================
 100rel                             : no
 QFBusy                             : managers
 QFNoAns                            : managers
 QFUnavail                          : managers
 accountcode                        : 
 acl                                : 
 aggregate_mwi                      : true
 allow                              : (alaw|g729)
 allow_overlap                      : true
 allow_subscribe                    : true
 allow_transfer                     : true
 aors                               : 5815
 asymmetric_rtp_codec               : false
 auth                               : 5815
 bind_rtp_to_media_address          : false
 call_group                         : 
 callerid                           : "Досик Наталья Сергеевна" <5815>
 callerid_privacy                   : allowed_not_screened
 callerid_tag                       : 
 connected_line_method              : invite
 contact_acl                        : 
 context                            : from-local
 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_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
 force_avp                          : false
 force_rport                        : true
 from_domain                        : 
 from_user                          : 
 g726_non_standard                  : false
 ice_support                        : false
 identify_by                        : username
 inband_progress                    : true
 incoming_mwi_mailbox               : 
 language                           : ru
 mailboxes                          : 
 media_address                      : 
 media_encryption                   : no
 media_encryption_optimistic        : false
 media_use_received_transport       : false
 message_context                    : 
 moh_suggest                        : default
 mwi_from_user                      : 
 mwi_subscribe_replaces_unsolicited : false
 named_call_group                   : managers
 named_pickup_group                 : managers
 notify_early_inuse_ringing         : false
 one_touch_recording                : false
 outbound_auth                      : 
 outbound_proxy                     : 
 pickup_group                       : 
 record_off_feature                 : automixmon
 record_on_feature                  : automixmon
 refer_blind_progress               : true
 rewrite_contact                    : true
 rpid_immediate                     : false
 rtcp_mux                           : false
 rtp_engine                         : asterisk
 rtp_ipv6                           : false
 rtp_keepalive                      : 0
 rtp_symmetric                      : false
 rtp_timeout                        : 60
 rtp_timeout_hold                   : 300
 sdp_owner                          : -
 sdp_session                        : Asterisk
 send_diversion                     : true
 send_pai                           : false
 send_rpid                          : false
 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                          : 0
 tos_video                          : 0
 transport                          : udp-transport
 trust_id_inbound                   : false
 trust_id_outbound                  : false
 use_avpf                           : false
 use_ptime                          : false
 user_eq_phone                      : false
 voicemail_extension                : 
{noformat}
 
 srv-platforma1*CLI> pjsip show endpoint 5811
{noformat}
 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:  5811/5811                                            In use        34 of inf
     InAuth:  5811/5811
        Aor:  5811                                              10
      Contact:  5811/sip:5811 at 10.40.1.51:5060              3df635780e Avail        31.335
  Transport:  udp-transport             udp      0     96  0.0.0.0:5060
    Channel: PJSIP/5811-00002ac7/AppQueue                        Up            00:00:13   
        Exten: 903576                    CLCID: "kaluga" <084842724565>


 ParameterName                      : ParameterValue
 ============================================================================================
 100rel                             : no
 accountcode                        : 
 acl                                : 
 aggregate_mwi                      : true
 allow                              : (g729)
 allow_overlap                      : true
 allow_subscribe                    : true
 allow_transfer                     : true
 aors                               : 5811
 asymmetric_rtp_codec               : false
 auth                               : 5811
 bind_rtp_to_media_address          : false
 call_group                         : 
 callerid                           : "Марченко Анна Николаевна" <5811>
 callerid_privacy                   : allowed_not_screened
 callerid_tag                       : 
 connected_line_method              : invite
 contact_acl                        : 
 context                            : from-local
 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_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
 force_avp                          : false
 force_rport                        : true
 from_domain                        : 
 from_user                          : 
 g726_non_standard                  : false
 ice_support                        : false
 identify_by                        : username
 inband_progress                    : true
 incoming_mwi_mailbox               : 
 language                           : ru
 mailboxes                          : 
 media_address                      : 
 media_encryption                   : no
 media_encryption_optimistic        : false
 media_use_received_transport       : false
 message_context                    : 
 moh_suggest                        : default
 mwi_from_user                      : 
 mwi_subscribe_replaces_unsolicited : false
 named_call_group                   : managers
 named_pickup_group                 : managers
 notify_early_inuse_ringing         : false
 one_touch_recording                : false
 outbound_auth                      : 
 outbound_proxy                     : 
 pickup_group                       : 
 record_off_feature                 : automixmon
 record_on_feature                  : automixmon
 refer_blind_progress               : true
 rewrite_contact                    : true
 rpid_immediate                     : false
 rtcp_mux                           : false
 rtp_engine                         : asterisk
 rtp_ipv6                           : false
 rtp_keepalive                      : 0
 rtp_symmetric                      : false
 rtp_timeout                        : 60
 rtp_timeout_hold                   : 300
 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                          : 0
 tos_video                          : 0
 transport                          : udp-transport
 trust_id_inbound                   : false
 trust_id_outbound                  : false
 use_avpf                           : false
 use_ptime                          : false
 user_eq_phone                      : false
 voicemail_extension                : 
{noformat}
 
 pickup from extensions.lua
{noformat}
--[[
Функция для перехвата звонка в рамках pickupgroup
Входные параметры
    -
Выходные значения
    -
]]
    app.Set("OutgoingContext=to-features")
    channel["DB(PickUP/".. channel["CHANNEL"]:get() ..")"]:set(channel["CALLERID(num)"]:get())
    app.NoOp(string.format("DB(PickUP/%s = %s", channel["CHANNEL"]:get(), channel["CALLERID(num)"]:get()))
    app.Set('pick_up_channel=' .. channel["UNIQUEID"]:get())
    app.PickUP()
end
{noformat}



was (Author: tensor):
srv-platforma1*CLI> pjsip show endpoint 5815

 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:  5815/5815                                            Not in use    0 of inf
     InAuth:  5815/5815
        Aor:  5815                                              10
      Contact:  5815/sip:5815 at 10.40.1.121:5060             d9f5a723a3 Avail        35.102
  Transport:  udp-transport             udp      0     96  0.0.0.0:5060


 ParameterName                      : ParameterValue
 ==========================================================================================
 100rel                             : no
 QFBusy                             : managers
 QFNoAns                            : managers
 QFUnavail                          : managers
 accountcode                        : 
 acl                                : 
 aggregate_mwi                      : true
 allow                              : (alaw|g729)
 allow_overlap                      : true
 allow_subscribe                    : true
 allow_transfer                     : true
 aors                               : 5815
 asymmetric_rtp_codec               : false
 auth                               : 5815
 bind_rtp_to_media_address          : false
 call_group                         : 
 callerid                           : "Досик Наталья Сергеевна" <5815>
 callerid_privacy                   : allowed_not_screened
 callerid_tag                       : 
 connected_line_method              : invite
 contact_acl                        : 
 context                            : from-local
 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_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
 force_avp                          : false
 force_rport                        : true
 from_domain                        : 
 from_user                          : 
 g726_non_standard                  : false
 ice_support                        : false
 identify_by                        : username
 inband_progress                    : true
 incoming_mwi_mailbox               : 
 language                           : ru
 mailboxes                          : 
 media_address                      : 
 media_encryption                   : no
 media_encryption_optimistic        : false
 media_use_received_transport       : false
 message_context                    : 
 moh_suggest                        : default
 mwi_from_user                      : 
 mwi_subscribe_replaces_unsolicited : false
 named_call_group                   : managers
 named_pickup_group                 : managers
 notify_early_inuse_ringing         : false
 one_touch_recording                : false
 outbound_auth                      : 
 outbound_proxy                     : 
 pickup_group                       : 
 record_off_feature                 : automixmon
 record_on_feature                  : automixmon
 refer_blind_progress               : true
 rewrite_contact                    : true
 rpid_immediate                     : false
 rtcp_mux                           : false
 rtp_engine                         : asterisk
 rtp_ipv6                           : false
 rtp_keepalive                      : 0
 rtp_symmetric                      : false
 rtp_timeout                        : 60
 rtp_timeout_hold                   : 300
 sdp_owner                          : -
 sdp_session                        : Asterisk
 send_diversion                     : true
 send_pai                           : false
 send_rpid                          : false
 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                          : 0
 tos_video                          : 0
 transport                          : udp-transport
 trust_id_inbound                   : false
 trust_id_outbound                  : false
 use_avpf                           : false
 use_ptime                          : false
 user_eq_phone                      : false
 voicemail_extension                : 
 
 
 
 
 srv-platforma1*CLI> pjsip show endpoint 5811

 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:  5811/5811                                            In use        34 of inf
     InAuth:  5811/5811
        Aor:  5811                                              10
      Contact:  5811/sip:5811 at 10.40.1.51:5060              3df635780e Avail        31.335
  Transport:  udp-transport             udp      0     96  0.0.0.0:5060
    Channel: PJSIP/5811-00002ac7/AppQueue                        Up            00:00:13   
        Exten: 903576                    CLCID: "kaluga" <084842724565>


 ParameterName                      : ParameterValue
 ============================================================================================
 100rel                             : no
 accountcode                        : 
 acl                                : 
 aggregate_mwi                      : true
 allow                              : (g729)
 allow_overlap                      : true
 allow_subscribe                    : true
 allow_transfer                     : true
 aors                               : 5811
 asymmetric_rtp_codec               : false
 auth                               : 5811
 bind_rtp_to_media_address          : false
 call_group                         : 
 callerid                           : "Марченко Анна Николаевна" <5811>
 callerid_privacy                   : allowed_not_screened
 callerid_tag                       : 
 connected_line_method              : invite
 contact_acl                        : 
 context                            : from-local
 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_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
 force_avp                          : false
 force_rport                        : true
 from_domain                        : 
 from_user                          : 
 g726_non_standard                  : false
 ice_support                        : false
 identify_by                        : username
 inband_progress                    : true
 incoming_mwi_mailbox               : 
 language                           : ru
 mailboxes                          : 
 media_address                      : 
 media_encryption                   : no
 media_encryption_optimistic        : false
 media_use_received_transport       : false
 message_context                    : 
 moh_suggest                        : default
 mwi_from_user                      : 
 mwi_subscribe_replaces_unsolicited : false
 named_call_group                   : managers
 named_pickup_group                 : managers
 notify_early_inuse_ringing         : false
 one_touch_recording                : false
 outbound_auth                      : 
 outbound_proxy                     : 
 pickup_group                       : 
 record_off_feature                 : automixmon
 record_on_feature                  : automixmon
 refer_blind_progress               : true
 rewrite_contact                    : true
 rpid_immediate                     : false
 rtcp_mux                           : false
 rtp_engine                         : asterisk
 rtp_ipv6                           : false
 rtp_keepalive                      : 0
 rtp_symmetric                      : false
 rtp_timeout                        : 60
 rtp_timeout_hold                   : 300
 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                          : 0
 tos_video                          : 0
 transport                          : udp-transport
 trust_id_inbound                   : false
 trust_id_outbound                  : false
 use_avpf                           : false
 use_ptime                          : false
 user_eq_phone                      : false
 voicemail_extension                : 

 
 
 pickup from extensions.lua
 
--[[
Функция для перехвата звонка в рамках pickupgroup
Входные параметры
    -
Выходные значения
    -
]]
    app.Set("OutgoingContext=to-features")
    channel["DB(PickUP/".. channel["CHANNEL"]:get() ..")"]:set(channel["CALLERID(num)"]:get())
    app.NoOp(string.format("DB(PickUP/%s = %s", channel["CHANNEL"]:get(), channel["CALLERID(num)"]:get()))
    app.Set('pick_up_channel=' .. channel["UNIQUEID"]:get())
    app.PickUP()
end





>  Sometimes when the call is intercepted, the asterisk reloads
> -------------------------------------------------------------
>
>                 Key: ASTERISK-27825
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27825
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_directed_pickup
>    Affects Versions: 13.18.2
>         Environment: hardware: Intel(R) Core(TM) i3-2120 CPU @ 3.30GHz, 4GB RAM, CentOS Linux release 7.4.1708 (Core), kernel 3.10.0-693.5.2.el7.x86_64, 
> asterisk version is 13.18.2
>            Reporter: Nikolay
>            Assignee: Unassigned
>              Labels: fax, pjsip
>         Attachments: pickup.png
>
>
>  Sometimes when the call is intercepted, the asterisk reloads.Log in the attachment.



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



More information about the asterisk-bugs mailing list