Asterisk send notify!

hello ;

in my final project I installed Asterisk, and it works. is not the problem, let me explain: I have a specification to follow, and in this specification must have a SIP registration cycle after recording a voicemail:

Gateway sends : register
server responds; 100 trying
server responds: 200 ok (if the user exists)

Gateway sends :subscribe
server responds: 100 trying
server responds: 202 accepted
server replied: notify
Gateway: 200 ok

after capturing a trace using wireshark I conduct in this case we define the parameter in the mailbox of a user in the sip.conf file ,but when in the active voice mail (voicemail.conf), asterisk send NOTIFY before it receives subscribe:

Gateway sends : register
server responds; 100 trying
server responds: 200 ok

serveur responds : notify

Gateway sends :subscribe
server responds: 100 trying
server responds: 202 accepted
Gateway: 200 ok

I ask if there is a way to configure it.

please ,exuse my english I’m from Tunisia.

thank you in advance.

Your English is actually pretty good :wink:. From what I understand you want the phone to re-register after you leave a voice mail message ? I don’t think Asterisk supports that. You would need to have something that would connect to the phone and tell it to re-register.