I am currently not using qualify, but it seems like a nice way to know if
the phones are online.  I attempted to set it up, but am running into a 404
on the subscription.

1.  From the manager, Action: PJSIPNotify (with an endpoint).  This caused
the following OPTIONS packet to be sent to the phone.

OPTIONS sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 192.168.2.22:5060
;rport;branch=z9hG4bKPj232f200b-90a0-4c2b-8171-164f9961175d
From: <sip:[email protected]
>;tag=100c883f-a844-4a7a-9ab3-085b16825b30
To: <sip:[email protected]>
Contact: <sip:[email protected]:5060>
Call-ID: 68897833-b4d3-4a75-9ad1-939b752d5a5e
CSeq: 47099 OPTIONS
Max-Forwards: 70
User-Agent: Asterisk PBX 16.1.0
Content-Length:  0

2.  The phone acknowledges the OPTIONS

SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.2.22:5060
;rport;branch=z9hG4bKPj232f200b-90a0-4c2b-8171-164f9961175d
From: <sip:[email protected]
>;tag=100c883f-a844-4a7a-9ab3-085b16825b30
To: "64167f3a7955" <sip:[email protected]>;tag=B9366B50-E4C6248D
CSeq: 47099 OPTIONS
Call-ID: 68897833-b4d3-4a75-9ad1-939b752d5a5e
Contact: <sip:[email protected]>
Allow:
INVITE,ACK,BYE,CANCEL,OPTIONS,INFO,MESSAGE,SUBSCRIBE,NOTIFY,PRACK,UPDATE,REFER
Supported: replaces,100rel
User-Agent: PolycomVVX-VVX_450-UA/5.8.0.12848
Accept-Language: en
Accept:
application/sdp,text/plain,message/sipfrag,application/dialog-info+xml
Accept-Encoding: identity
Supported: 100rel,replaces,norefersub,sdp-anat
Content-Length: 0

3.  The phone sends the SUBSCRIBE

SUBSCRIBE sip:[email protected]:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.2.206;branch=z9hG4bK392bc0f56C717732
From: "64167f3a7955" <sip:[email protected]>;tag=A23DD37B-4BFEDFB8
To: <sip:[email protected]>
CSeq: 1 SUBSCRIBE
Call-ID: 40b12c267977075518c68280933a7955
Contact: <sip:[email protected]>
Allow:
INVITE,ACK,BYE,CANCEL,OPTIONS,INFO,MESSAGE,SUBSCRIBE,NOTIFY,PRACK,UPDATE,REFER
Event: message-summary
User-Agent: PolycomVVX-VVX_450-UA/5.8.0.12848
Accept-Language: en
Accept: application/simple-message-summary
Max-Forwards: 70
Expires: 3600
Content-Length: 0

4.  However, I am getting a 404 back.

SIP/2.0 404 Not Found
Via: SIP/2.0/UDP
192.168.2.205;rport=5060;received=192.168.2.205;branch=z9hG4bKd563e8de3F0F438D
Call-ID: adf2f90a0788a47d709d3b21dc39a92f
From: "sip:64167f39a92f" <sip:[email protected]
>;tag=D55C2C08-654F3C47
To: <sip:[email protected]>;tag=z9hG4bKd563e8de3F0F438D
CSeq: 1 SUBSCRIBE
Server: Asterisk PBX 16.1.0
Content-Length:  0

The phones are otherwise registered, and have working subscriptions to
hints (i.e. for activity on DAHDI channels, or parking lots).

What other configuration is required to get Qualify working?  Thank you in
advance.
-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
      https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to