[asterisk-bugs] [JIRA] (ASTERISK-25712) Second call to already-on-call phone and Asterisk sends "Ready"

Richard Mudgett (JIRA) noreply at issues.asterisk.org
Thu Jan 21 15:57:33 CST 2016


Richard Mudgett created ASTERISK-25712:
------------------------------------------

             Summary: Second call to already-on-call phone and Asterisk sends "Ready"
                 Key: ASTERISK-25712
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25712
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Resources/res_pjsip
    Affects Versions: 13.7.0
            Reporter: Richard Mudgett


Alice is a D70 with 2_0_2_0_76822.
Bob is a D45 with a random 2_0_1 build from our dev team.
Alice has a Rapid Dial key subscribed to auto_hint_114, Bob.
Bob calls Charlie.
Alice's light for Bob goes green.
David calls Bob
Alice's light for Bob goes dark.
When David stops ringing Bob, Alice's light turns back on.

So..when Bob calls Charlie, we see, to Alice:
{noformat}
<--- Transmitting SIP request (1366 bytes) to UDP:10.24.74.223:5060 --->
NOTIFY sip:109 at 10.24.74.223:5060;ob SIP/2.0
Via: SIP/2.0/UDP 10.24.22.61:5060;rport;branch=z9hG4bKPjc5f4b4d3-714f-4330-98ea-27c5b93026b4
From: <sip:auto_hint_114 at 10.24.22.61>;tag=86d7abc7-56b1-4481-8360-f5aa46939869
To: "\"Person 109\" <109>" <sip:109 at 10.24.22.61>;tag=t2FAwIjkixKMnj0Yu6t82DXTnRQHcCct
Contact: <sip:10.24.22.61:5060>
Call-ID: f9edRXDPrE.Lo10H-FxVFEfmwFvZN61Q
CSeq: 19305 NOTIFY
Event: presence
Subscription-State: active;expires=314
Allow-Events: message-summary, presence, dialog, refer
Max-Forwards: 70
User-Agent: Asterisk PBX certified/13.1-cert3-rc1
Content-Type: application/pidf+xml
Content-Length:   721

<?xml version="1.0" encoding="UTF-8"?>
<presence entity="sip:auto_hint_114 at 10.24.22.61:5060" xmlns="urn:ietf:params:xml:ns:pidf" xmlns:pp="urn:ietf:params:xml:ns:pidf:person" xmlns:es="urn:ietf:params:xml:ns:pidf:rpid:status:rpid-status" xmlns:ep="urn:ietf:params:xml:ns:pidf:rpid:rpid-person">
 <note>On the phone</note>
 <tuple id="auto_hint_114">
  <status>
   <basic>closed</basic>
  </status>
  <contact priority="1">"\"Person 109\" <109>" <sip:109 at 10.24.22.61></contact>
 </tuple>
 <tuple id="digium-presence">
  <status>
   <digium_presence type="chat" />
  </status>
 </tuple>
 <pp:person>
  <status>
   <ep:activities>ep:busy</ep:activities>
  </status>
 </pp:person>
</presence>
{noformat}

Then, surprisingly, when we place a second call into Bob, Alice's phone gets:

{noformat}
<--- Transmitting SIP request (1305 bytes) to UDP:10.24.74.223:5060 --->
NOTIFY sip:109 at 10.24.74.223:5060;ob SIP/2.0
Via: SIP/2.0/UDP 10.24.22.61:5060;rport;branch=z9hG4bKPje3bcbe3f-2777-4610-b056-a9f6639d341e
From: <sip:auto_hint_114 at 10.24.22.61>;tag=86d7abc7-56b1-4481-8360-f5aa46939869
To: "\"Person 109\" <109>" <sip:109 at 10.24.22.61>;tag=t2FAwIjkixKMnj0Yu6t82DXTnRQHcCct
Contact: <sip:10.24.22.61:5060>
Call-ID: f9edRXDPrE.Lo10H-FxVFEfmwFvZN61Q
CSeq: 19308 NOTIFY
Event: presence
Subscription-State: active;expires=219
Allow-Events: message-summary, presence, dialog, refer
Max-Forwards: 70
User-Agent: Asterisk PBX certified/13.1-cert3-rc1
Content-Type: application/pidf+xml
Content-Length:   660

<?xml version="1.0" encoding="UTF-8"?>
<presence entity="sip:auto_hint_114 at 10.24.22.61:5060" xmlns="urn:ietf:params:xml:ns:pidf" xmlns:pp="urn:ietf:params:xml:ns:pidf:person" xmlns:es="urn:ietf:params:xml:ns:pidf:rpid:status:rpid-status" xmlns:ep="urn:ietf:params:xml:ns:pidf:rpid:rpid-person">
 <note>Ready</note>
 <tuple id="auto_hint_114">
  <status>
   <basic>open</basic>
  </status>
  <contact priority="1">"\"Person 109\" <109>" <sip:109 at 10.24.22.61></contact>
 </tuple>
 <tuple id="digium-presence">
  <status>
   <digium_presence type="chat" />
  </status>
 </tuple>
 <pp:person>
  <status />
 </pp:person>
</presence>
{noformat}

which is weird that Alice is getting "Ready"



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



More information about the asterisk-bugs mailing list