- Joined
- Oct 30, 2007
- Messages
- 112
- Reaction score
- 0
I enabled a cdr_custom file which has data that needs to go over IP to a certain port.
I want to use nc to send every new line to the remote machine on creation.
A simple tail command with netcat gives me the results i want, but i don't want to rely on the tail command. That is why i want to locate the code which writes the cdr line every time a call gets terminated. There i want to add netcat to send the same line over ip to a networkip+port.
Help?
I want to use nc to send every new line to the remote machine on creation.
A simple tail command with netcat gives me the results i want, but i don't want to rely on the tail command. That is why i want to locate the code which writes the cdr line every time a call gets terminated. There i want to add netcat to send the same line over ip to a networkip+port.
Help?