<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
I'm trying to set up a SIP IM server that will parse incoming messages and respond to specific key words.&nbsp; I have parsing up and running in my module, but I can't seem to figure out how to properly send my response.&nbsp; Within the TM module, the functions provided by uac.h seem to be exactly what I'm looking for (specifically the "request" method).&nbsp; They don't seem to be exported by the TM module, however, so I was thinking I might be able to include the code and use them directly.<br><br>Since I don't fully understand the make process used in Kamailio I seem to be having issues with linking.&nbsp; I've included uac.h in my module (#include ../tm/uac.h) and the code compiles fine with "make modules".&nbsp; When I install the module and restart the server I get <br><br>ERROR:core:sr_load_module: could not open module &lt;/usr/local/lib/openser/modules/&lt;my_module&gt;.so&gt;: /usr/local/lib/openser/modules/&lt;my_module&gt;.so: undefined symbol: request<br><br>Any pointers here (with the make process or with a better approach to sending outbound messages) would be greatly appreciated.<br><br>Thanks,<br>Jason<br><br /><hr />Windows Live™: E-mail. Chat. Share. Get more ways to connect.  <a href='http://windowslive.com/howitworks?ocid=TXT_TAGLM_WL_t2_allup_howitworks_022009' target='_new'>See how it works.</a></body>
</html>