<div dir="ltr">Hi,<div><br></div><div>I am using opensips 2.1 as a SIP proxy and I am trying to figure out how to best handle SUBSCRIBE messages which need to be routed through to another SIP component. As I read in the <a href="https://tools.ietf.org/html/rfc3265#ref-1">rfc3265</a> an initial (out of call) SUBSCRIBE creates a dialog which NOTIFYs and following SUBSCRIBE messages are part of and are routed within the same dialog. </div><div><br></div><div>From looking at the opensips code I see that when "create_dialog" is called then the request is only handled if it is an INVITE request. So I'm trying to understand what is the proper way of handling the SUBSCRIBEs that come from the devices and the NOTIFYs that come from the PBX after the SUBSCRIBE is accepted.</div><div><br></div><div>If there are examples for handling such SUBSCRIBEs that would be great.</div><div><br></div><div>Thanks,</div><div>Royee</div><div><br></div><div><br></div></div>