freeswitch / sofia-sip

Sofia-SIP is an open-source SIP User-Agent library, compliant with the IETF RFC3261 specification.
GNU Lesser General Public License v2.1
270 stars 175 forks source link

How to get NOTIFY message to nua_create callback which was sent without SUBSCRIBE #220

Open redexp opened 1 year ago

redexp commented 1 year ago

Hello. I have a SIP server that sends me NOTIFY messages without a SUBSCRIBE. Looks like sofia rejects such NOTIFY messages with 481 "Subscription Does Not Exist" and I can't get them in my callback of nua_create. Is there any parameter to tell sofia to pass these NOTIFY to nua_create callback or maybe there some other callback for this?