[Home]

Summary:ASTERISK-22987: No handler for event dialog BLF
Reporter:Zane Conkle (zconkle)Labels:
Date Opened:2013-12-13 15:15:18.000-0600Date Closed:2013-12-15 18:22:53.000-0600
Priority:MajorRegression?
Status:Closed/CompleteComponents:Resources/res_pjsip
Versions:12.0.0-beta2 Frequency of
Occurrence
Related
Issues:
is duplicated byASTERISK-21443 New SIP Channel Driver - Create a state provider for dialog-info+xml
Environment:Attachments:
Description:When trying to subscribe to BLF events I get the following warning:

WARNING[31048]: res_pjsip_pubsub.c:786 pubsub_on_rx_subscribe_request: No registered subscribe handler for event dialog

Hints are setup. I believe I recall talking to someone earlier in the IRC about this and they said it needed to be built out in v12.
Comments:By: Anthony Messina (amessina) 2013-12-15 17:26:19.235-0600

I do see the same using an Aastra 480i CT, which uses application/dialog-info+xml SUBSCRIBE events.  chan_sip appears to offer some guidance on this in terms of code comments.  I think this may be related to (or the same thing as) https://issues.asterisk.org/jira/browse/ASTERISK-21443.
{code}
/*! \brief Subscription types that we support. We support
* - dialoginfo updates (really device status, not dialog info as was the original intent of the standard)
* - SIMPLE presence used for device status
* - Voicemail notification subscriptions
*/
static const struct cfsubscription_types {
enum subscriptiontype type;
const char * const event;
const char * const mediatype;
const char * const text;
} subscription_types[] = {
{ NONE,   "-",        "unknown",             "unknown" },
/* RFC 4235: SIP Dialog event package */
{ DIALOG_INFO_XML, "dialog",   "application/dialog-info+xml", "dialog-info+xml" },
{ CPIM_PIDF_XML,   "presence", "application/cpim-pidf+xml",   "cpim-pidf+xml" },  /* RFC 3863 */
{ PIDF_XML,        "presence", "application/pidf+xml",        "pidf+xml" },       /* RFC 3863 */
{ XPIDF_XML,       "presence", "application/xpidf+xml",       "xpidf+xml" },       /* Pre-RFC 3863 with MS additions */
{ MWI_NOTIFICATION, "message-summary", "application/simple-message-summary", "mwi" } /* RFC 3842: Mailbox notification */
};
{code}

By: Matt Jordan (mjordan) 2013-12-15 18:22:17.732-0600

Yup, that'd be the same thing :-)

As such, I'm going to go ahead and close this out to that issue.