[asterisk-bugs] [JIRA] (ASTERISK-25689) pjsip show contacts now working in Asterisk 13.7rc2

Marcelo Terres (JIRA) noreply at issues.asterisk.org
Tue Jan 12 06:40:33 CST 2016


Marcelo Terres created ASTERISK-25689:
-----------------------------------------

             Summary: pjsip show contacts now working in Asterisk 13.7rc2
                 Key: ASTERISK-25689
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25689
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: pjproject/pjsip
    Affects Versions: 13.7.0
         Environment: Asterisk 13.7rc2, Ubuntu 14.04.3 LTS, Linux rtc 4.1.5-x86_64-linode61 #7 SMP Mon Aug 24 13:46:31 EDT 2015 x86_64 x86_64 x86_64 GNU/Linux

            Reporter: Marcelo Terres


When I was testing Asterisk 13.7rc2 I noticed that pjsip show contacts can't show realtime contacts.

Contacts 10 and 99 are realtime. Contact mos is configured in pjsip.conf.

In Asterisk 13.6.0:

Connected to Asterisk 13.6.0 currently running on rtc (pid = 321)
Core debug is still 3.
rtc*CLI> pjsip show contacts

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

  Contact:  10/sip:10 at XXX.XX.XX.XXX:34440;ob                     Avail             681.245
  Contact:  99/sip:99 at XXX.XX.X.XXX:62091;transport=UDP;rinstanc  Avail             187.123
  Contact:  mos/sip:voip.XXXXXX.com.br:5060                Avail             152.910

Now in Asterisk 13.7.0 rc2

Connected to Asterisk 13.7.0-rc2 currently running on rtc (pid = 1392)
Core debug is still 3.
    -- Added contact 'sip:99 at XXX.XX.X.XXX:62091;transport=UDP;rinstance=c1f5348bf94c822d' to AOR '99' with expiration of 60 seconds
 Contact 99/sip:99 at XXX.XX.X.XXX:62091;transport=UDP;rinstance=c1f5348bf94c822d has been created
 Contact 99/sip:99 at XXX.XX.X.XXX:62091;transport=UDP;rinstance=c1f5348bf94c822d is now Reachable.  RTT: 160.179 msec
    -- Added contact 'sip:10 at XXX.XX.XX.XXX:34440;ob' to AOR '10' with expiration of 900 seconds
 Contact 10/sip:10 at XXX.XX.XX.XXX:34440;ob has been created
 Endpoint 10 is now Reachable
 Contact 10/sip:10 at XXX.XX.XX.XXX:34440;ob is now Reachable.  RTT: 717.956 msec
[Jan 12 10:27:16] NOTICE[1422]: res_pjsip_mwi.c:719 mwi_new_subscribe: AOR 10 has no configured mailboxes. MWI subscription failed.
rtc*CLI> pjsip show contacts

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

  Contact:  mos/sip:voip.XXXXXX.com.br:5060          d5d93e25df Avail       153.807

As you can see, contacts are registered, but not listed. 

But if 10 try to call 99 it works.





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



More information about the asterisk-bugs mailing list