title: Ejabbered Offline message API requests
body: <p>I'm currently looking to get an existing ejabbered 17.09 instance to call against an API when offline messages are received.</p>
  
  <p>I found a number of modules online, the best of which appeared to be the mod_offline_post from <a href="https://github.com/adamvduke/mod_interact" rel="nofollow noreferrer">https://github.com/adamvduke/mod_interact</a></p>
  
  <p>When I couldn't progress with this, I tried to follow the guide at 
  <a href="https://jasonrowe.com/2011/12/30/ejabberd-offline-messages/" rel="nofollow noreferrer">https://jasonrowe.com/2011/12/30/ejabberd-offline-messages/</a>  but hit the same erlang compile issues:</p>
  
  <pre><code>12&gt; c(mod_offline_post).
  mod_offline_post.erl: undefined parse transform 'lager_transform'
  error
  </code></pre>
  
  <p>My user folder looks like this</p>
  
  <p><a href="https://i.stack.imgur.com/AjKU2.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/AjKU2.png" alt="enter image description here"></a></p>
  
  <p>Not sure on the best way to proceed: to fix the compile error, or if there's a different module I should be using.</p>