[asterisk-users] Adding Subscribe Handlers in PJSIP
Trey Hilyard
kctrey at gmail.com
Wed Mar 1 14:02:54 CST 2017
Is there any "easy" way to add a custom subscribe handler? I have a set of
users with Polycom phones that attempt to Events that Asterisk/PJSIP
doesn't recognize, "call-info" and "as-feature-event". It just generates a
warning, but it got me wondering if I could add my own handlers for those
that didn't actually do anything but simply responded with a 200 OK.
Yes, I can probably stop the phones from subscribing, but this is more
academic at this point. I assume there are things that I could do if I
wanted to make changes and recompile, but is there an easier way to add a
handler? I am a little confused about whether there is a subscribe handler
in front of res_pjsip_pubsub, or if that is the first place that a
SUBSCRIBE could get caught.
-Trey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20170301/48589082/attachment.html>
More information about the asterisk-users
mailing list