Changing the subject back to the original topic; Is there bug in the asterisk hint/presence implementation, or an intentional omission, or a lack of understanding on my part?
A SIP debug of a subscribed extension shows that asterisk only sends the SIP presence notification to the subscriber when a call starts ringing, and then when it is hung up. A "show hints" reveals that asterisk changes the hint state twice, once from idle to ringing, and again from ringing to inuse, but it does not notify the subscriber on the change from ringing to inuse. Here are the relevant packets for a hint extension subscriber during the time where the state changed both times, note that the first change goes right to "on the phone", but the notify was sent when the ringing started, not when the call was answered. Ringing started here>>> Reliably Transmitting (no NAT) to 207.138.248.85:5060: NOTIFY sip:[EMAIL PROTECTED] SIP/2.0 Via: SIP/2.0/UDP 255.255.255.79:5060;branch=z9hG4bK491df6fc;rport From: <sip:[EMAIL PROTECTED]>;tag=as34e8536c To: "SBB Test" <sip:[EMAIL PROTECTED]>;tag=7AB691E6-26D89B2D Contact: <sip:[EMAIL PROTECTED]> Call-ID: [EMAIL PROTECTED] CSeq: 135 NOTIFY User-Agent: Asterisk PBX Max-Forwards: 70 Event: presence Content-Type: application/xpidf+xml Subscription-State: active Content-Length: 371 <?xml version="1.0"?> <!DOCTYPE presence PUBLIC "-//IETF//DTD RFCxxxx XPIDF 1.0//EN" "xpidf.dtd"> <presence> <presentity uri="sip:[EMAIL PROTECTED];method=SUBSCRIBE" /> <atom id="3035551201"> <address uri="sip:[EMAIL PROTECTED];user=ip" priority="0.800000"> <status status="inuse" /> <msnsubstatus substatus="onthephone" /> </address> </atom> </presence> Call hung up here >>>>>>>> Reliably Transmitting (no NAT) to 207.138.248.85:5060: NOTIFY sip:[EMAIL PROTECTED] SIP/2.0 Via: SIP/2.0/UDP 255.255.255.79:5060;branch=z9hG4bK6793e1a6;rport From: <sip:[EMAIL PROTECTED]>;tag=as34e8536c To: "SBB Test" <sip:[EMAIL PROTECTED]>;tag=7AB691E6-26D89B2D Contact: <sip:[EMAIL PROTECTED]> Call-ID: [EMAIL PROTECTED] CSeq: 136 NOTIFY User-Agent: Asterisk PBX Max-Forwards: 70 Event: presence Content-Type: application/xpidf+xml Subscription-State: active Content-Length: 366 <?xml version="1.0"?> <!DOCTYPE presence PUBLIC "-//IETF//DTD RFCxxxx XPIDF 1.0//EN" "xpidf.dtd"> <presence> <presentity uri="sip:[EMAIL PROTECTED];method=SUBSCRIBE" /> <atom id="3035551201"> <address uri="sip:[EMAIL PROTECTED];user=ip" priority="0.800000"> <status status="open" /> <msnsubstatus substatus="online" /> </address> </atom> </presence> _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users