Commit a7cb065a authored by Simon Morlat's avatar Simon Morlat

add lp-sendmsg tool, a new tool to send arbitrary SIP MESSAGE requests through a server.

parent fdaca52e
mediastreamer2 @ 7053d54e
Subproject commit 18bea4f5b9e36e0873443cf961164bed1d81e6bc
Subproject commit 7053d54e7e3375944ee54671b82c3b5f63eac072
......@@ -75,3 +75,26 @@ install(TARGETS lp-auto-answer
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
)
set(LP_SENDMSG_SOURCE_FILES
lpsendmsg.c
)
add_definitions(
-DIN_LINPHONE
)
apply_compile_flags(LP_SENDMSG_SOURCE_FILES "CPP" "C")
add_executable(lp-sendmsg ${LP_SENDMSG_SOURCE_FILES})
target_link_libraries(lp-sendmsg linphone)
install(TARGETS lp-sendmsg
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
)
......@@ -19,7 +19,7 @@ EXTRA_DIST=xml2lpc_jni.cc lpc2xml_jni.cc
if BUILD_TOOLS
bin_PROGRAMS=xml2lpc_test lpc2xml_test lp-gen-wrappers lp-autoanswer lp-test-ecc
bin_PROGRAMS=xml2lpc_test lpc2xml_test lp-gen-wrappers lp-autoanswer lp-test-ecc lp-sendmsg
xml2lpc_test_SOURCES=\
xml2lpc_test.c
......@@ -52,6 +52,10 @@ lp_test_ecc_SOURCES=test_ecc.c
lp_test_ecc_CFLAGS=$(COMMON_CFLAGS)
lp_test_ecc_LDADD=$(top_builddir)/coreapi/liblinphone.la
lp_sendmsg_SOURCES=lpsendmsg.c
lp_sendmsg_CFLAGS=$(COMMON_CFLAGS)
lp_sendmsg_LDADD=$(top_builddir)/coreapi/liblinphone.la
endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment