-
-
Notifications
You must be signed in to change notification settings - Fork 28
Example: HTTP relay
Lorenzo Mangani edited this page Aug 27, 2017
·
11 revisions
paStash can be used to spin up a simple HTTP Relay or Fork w/ optional filters and path routing
paStash itself needs to be installed in order to use this recipe:
# git clone https://github.com/sipcapture/paStash
# cd paStash/
# npm install
input {
http {
host => 127.0.0.1
port => 8090
}
}
output {
http_post {
host => ['10.0.0.1','10.0.0.2']
port => 18090
path => '#{path}'
}
}
./bin/pastash --config_file=/path/to/pastash_recipe.json