I am developing a SIP client which connects to an Asterisk. There is a listener connected to that Asterisk. Now, I am trying to “trigger” some event by sending some SIP message from the client to the Asterisk. How could I do that?
So far I tried sending INFO messages but I cannot get Asterisk to send events on receiving those.
The reasoning behind this is, that I cannot directly communicate with the program which is listening to the Asterisk events. So I have to take this detour.
BTW, I use the mjsip stack for the SIP client, the Asterisk server is also the registrar server and the messages should be sent while not being in a call. I have the stupid feeling that I am just missing something…
Thanks in advance!