I am building an Asterisk solution and I want to establish MWI functionality on SIP signaling.
After communicating with the provider, he consulted to use the SIP NOTIFY signaling.
I am therefore using the “pjsip send notify” utility, in order to trigger the corresponding SIP NOTIFY messages and it seems to be working fine.
However, I need to somehow know the response of a SIP NOTIFY, in order to proceed with actions,
in case for example that a 403 FORBIDDEN is received.
I am triggering the SIP NOTIFY from a PHP script via using the system command /usr/sbin/asterisk -rx ‘pjsip send notify …’
How could I somehow parse the response on this NOTIFY message? Should I send the NOTIFY with another way? Could you please advice?
Thank you in advance for your time.