test Adding test configuration starting point
[sip-router] / test / mod_httpapitest / test / Makefile
1 config:=curlapi.cfg
2 KAMBIN:=/usr/local/sbin
3
4 # Find the IP address
5 include ../../mkinclude/ipaddr.mak
6
7
8 # Log the version
9 include ../../mkinclude/kamversion.mak
10
11 all:
12         @echo Our IP address $(ipaddr) on interface $(interface)  - Redo to fly Kamailio?
13         @/usr/local/sbin/kamailio -f $(config)  -l udp:$(ipaddr):5060 -D 1 -E -M 2000
14
15 debug:
16         @/usr/local/sbin/kamailio -f $(config)  -l udp:$(ipaddr):5060 -D 1 -E > /tmp/kamcurl.$$$$ 2>&1
17         grep curl /tmp/kamcurl.$$$$
18