Executing a system command calling an extension

Hi to all

I'm trying to setting up a dummy extension that when called runs a system command (curl -s http://192.168...../something).

Copying the [exten_dial_config] section and appended something like:
exten = 512,1,System(/bin/curl -s http://192.168..../something > /dev/null)

it works, but then I cannot add anymore new extension, via web interface.

Is there another way to execute a command, or even sending HTTP GET, calling and extension?


Please sign in to leave a comment.