[asterisk-bugs] [JIRA] (ASTERISK-26548) Subscribe to MWI expires early

Carl Fortin (JIRA) noreply at issues.asterisk.org
Wed Nov 2 07:13:10 CDT 2016


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

Carl Fortin commented on ASTERISK-26548:
----------------------------------------

Detailed info of my endpoint and aor

pjsip show endpoint EGCMBNNI

 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:  <ip/cidr.........................>
    Channel:  <ChannelId......................................>  <State.....>  <Time.....>
        Exten: <DialedExten...........>  CLCID: <ConnectedLineCID.......>
==========================================================================================

 Endpoint:  EGCMBNNI/3419                                        Not in use    0 of 3
    OutAuth:  EGCMBNNI/EGCMBNNI
     InAuth:  EGCMBNNI/EGCMBNNI
        Aor:  EGCMBNNI                                           1
      Contact:  EGCMBNNI/sip:EGCMBNNI at 192.168.0.2:5062     e7821484c2 Unknown         nan
  Transport:  transport-udp             udp      3    104  192.168.0.10:5060


 ParameterName                      : ParameterValue
 =========================================================
 100rel                             : yes
 accountcode                        : garneau
 acl                                :
 aggregate_mwi                      : false
 allow                              : (ulaw)
 allow_subscribe                    : true
 allow_transfer                     : true
 aors                               : EGCMBNNI
 auth                               : EGCMBNNI
 bind_rtp_to_media_address          : false
 call_group                         :
 callerid                           : "PROVI TEST" <3419>
 callerid_privacy                   : allowed_not_screened
 callerid_tag                       :
 connected_line_method              : invite
 contact_acl                        :
 context                            : garneau-interne
 cos_audio                          : 6
 cos_video                          : 0
 device_state_busy_at               : 3
 direct_media                       : true
 direct_media_glare_mitigation      : none
 direct_media_method                : invite
 disable_direct_media_on_nat        : true
 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                          : rfc4733
 fax_detect                         : false
 fax_detect_timeout                 : 0
 force_avp                          : false
 force_rport                        : true
 from_domain                        : 192.168.0.10
 from_user                          :
 g726_non_standard                  : false
 ice_support                        : false
 identify_by                        : username
 inband_progress                    : false
 language                           : fr
 mailboxes                          : 3419 at default
 media_address                      :
 media_encryption                   : no
 media_encryption_optimistic        : false
 media_use_received_transport       : false
 message_context                    :
 moh_passthrough                    : false
 moh_suggest                        : default
 mwi_from_user                      :
 mwi_subscribe_replaces_unsolicited : true
 named_call_group                   :
 named_pickup_group                 :
 one_touch_recording                : false
 outbound_auth                      : EGCMBNNI
 outbound_proxy                     :
 pickup_group                       :
 record_off_feature                 : automixmon
 record_on_feature                  : automixmon
 rewrite_contact                    : false
 rpid_immediate                     : false
 rtp_engine                         : asterisk
 rtp_ipv6                           : false
 rtp_keepalive                      : 0
 rtp_symmetric                      : false
 rtp_timeout                        : 0
 rtp_timeout_hold                   : 0
 sdp_owner                          : -
 sdp_session                        : Asterisk
 send_diversion                     : true
 send_pai                           : true
 send_rpid                          : true
 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              : 400
 t38_udptl_nat                      : false
 timers                             : yes
 timers_min_se                      : 90
 timers_sess_expires                : 1800
 tone_zone                          : us
 tos_audio                          : 184
 tos_video                          : 0
 transport                          : transport-udp
 trust_id_inbound                   : false
 trust_id_outbound                  : false
 use_avpf                           : false
 use_ptime                          : false
 user_eq_phone                      : false
 voicemail_extension                :

dti-asterisk*CLI> pjsip show aor EGCMBNNI

      Aor:  <Aor..............................................>  <MaxContact>
    Contact:  <Aor/ContactUri............................> <Hash....> <Status> <RTT(ms)..>
==========================================================================================

      Aor:  EGCMBNNI                                             1
    Contact:  EGCMBNNI/sip:EGCMBNNI at 192.168.0.2:5062       e7821484c2 Unknown         nan


 ParameterName        : ParameterValue
 ====================================================
 authenticate_qualify : false
 contact              : sip:EGCMBNNI at 192.168.0.2:5062
 default_expiration   : 3600
 mailboxes            : 3419 at default
 max_contacts         : 1
 maximum_expiration   : 7200
 minimum_expiration   : 60
 outbound_proxy       :
 qualify_frequency    : 0
 qualify_timeout      : 3.000000
 remove_existing      : true
 support_path         : false
 voicemail_extension  :

=============================================================
=== Configured Voicemail Users ==============================
=============================================================
===
=== Mailbox ...
===
=== ==> uniqueid: 12364
=== ==> mailbox: 3419
=== ==> fullname: PROVI TEST
=== ==> password: 34191
=== ==> context: default
=== ==> garneau_email: test at company.ca
=== ==> email: test at company.ca
=== ==> deletevoicemail: no
=== ==> attach: no
=== ==> review: yes
=== ==> language: fr
=== ==> serveremail:
=== ==> hidefromdir: yes
=== ==> tempgreetwarn: no
=== ==> sayduration: 1



> Subscribe to MWI expires early
> ------------------------------
>
>                 Key: ASTERISK-26548
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26548
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_pjsip_mwi
>    Affects Versions: 14.1.0
>         Environment: Asterisk Realtime 14.1 PJSIP Driver
> mysql Ver 14.14
> pjproject 2.5.5
> spandsp 0.0.6
> jansson 2.7
> CentOS 6.6 64 bits on Vmware
> Phones : Cisco SPA514G FW: 7.5.7
> ATA : Audiocodes MP124
> T1 : Mediatrix 3532 ISDN 
> CPU : Quadcore Intel(R) Xeon(R) CPU E5-2650
> RAM : 8 GB
> HDD : 35 GB
>            Reporter: Carl Fortin
>            Severity: Minor
>         Attachments: Sip_MWI_Subscribe.pcap, Subscribe_cisco.pcap
>
>
> We are using the mailboxes in the AOR table so our Cisco phones can subscribe to Message Waiting Indications.
> Once in a while the light would not be on even with new messages, so I did a trace with wireshark and found something weird.
> The phone boots and subscribe sucessfully to MWI with a voicemail subscribe interval of 86400.
> If I look at my wireshark trace I can see that asterisk sends a sollicited notify 5 times. Is this normal?
> I have also noticed that the Subscription state is going from 83544 seconds to 432 seconds and it expires in the last notify.



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



More information about the asterisk-bugs mailing list