<div>Hi Benjamin,</div>
<div> </div>
<div>This error happens when you try to compile the module with an old kamailio version.</div>
<div>The module compiles fine when it has been checked out with kamailio trunk.</div>
<div> </div>
<div>If you wanna use it with an oldier kamailio, you'll need to fix module/pua/hash.h file in order to add the PURPLE_PUBLISH macro :</div>
<div>after</div>
<div>#define DIALOG_PUBLISH 1<<10</div>
<div>just add</div>
<div>#define PURPLE_PUBLISH 1<<11</div>
<div> </div>
<div>Regards,</div>
<div> </div>
<div>Eric.</div>
<div><br><br> </div>
<div class="gmail_quote">2009/2/9 <span dir="ltr"><<a href="mailto:benccf@gmail.com">benccf@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi Eric, and thanks for your module. I just have a question on how to use it.<br>When i try to compile your module i got the following error :<br>
<br><br>purple_sip.c: In function purple_send_sip_publish:<br>purple_sip.c:219: error: PURPLE_PUBLISH undeclared (first use in this function)<br>purple_sip.c:219: error: (Each undeclared identifier is reported only once<br>
purple_sip.c:219: error: for each function it appears in.)<br>make[1]: *** [purple_sip.o] Error 1<br><br>Do you have any idea on how to fix it ?<br><br>Regards,<br><br>Benjamin<br></blockquote></div><br>