[Kamailio-Devel] Utilizing UAC Question

Jason George jasonmgeorge at hotmail.com
Sat Feb 14 20:15:42 CET 2009


I'm trying to set up a SIP IM server that will parse incoming messages and respond to specific key words.  I have parsing up and running in my module, but I can't seem to figure out how to properly send my response.  Within the TM module, the functions provided by uac.h seem to be exactly what I'm looking for (specifically the "request" method).  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.

Since I don't fully understand the make process used in Kamailio I seem to be having issues with linking.  I've included uac.h in my module (#include ../tm/uac.h) and the code compiles fine with "make modules".  When I install the module and restart the server I get 

ERROR:core:sr_load_module: could not open module </usr/local/lib/openser/modules/<my_module>.so>: /usr/local/lib/openser/modules/<my_module>.so: undefined symbol: request

Any pointers here (with the make process or with a better approach to sending outbound messages) would be greatly appreciated.

Thanks,
Jason

_________________________________________________________________
Windows Live™: E-mail. Chat. Share. Get more ways to connect. 
http://windowslive.com/howitworks?ocid=TXT_TAGLM_WL_t2_allup_howitworks_022009
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kamailio.org/pipermail/devel/attachments/20090214/bd1e3749/attachment.htm 


More information about the Devel mailing list