Module: sip-router Branch: master Commit: bdba8801cdea18d5cd2852cdecf692a15d349925 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=bdba8801...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: Tue May 25 16:14:32 2010 +0200
xhttp: new module to handle http requests
- the module can handle http requests sent over TCP/TLS to SIP server - event_route[xhttp:request] is executed in such case - if you need to handle HTTP requests without Content-Lenght header, set tcp_accept_no_cl=1 - it may conflict in HTTP handling with xmlrpc as they use same concept, you can set parameter mode=1 for xmrpc module and then call xmlrpc functions from event_route[xhttp:request] - you can use url_match parameter to filter which HTTP requests are handled by this module
---
modules/xhttp/Makefile | 14 ++ modules/xhttp/README | 114 +++++++++ modules/xhttp/doc/Makefile | 4 + modules/xhttp/doc/xhttp.xml | 37 +++ modules/xhttp/doc/xhttp_admin.xml | 108 +++++++++ modules/xhttp/xhttp_mod.c | 468 +++++++++++++++++++++++++++++++++++++ 6 files changed, 745 insertions(+), 0 deletions(-)
Diff: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=bdba...