api_hangup_hook=system curl

EvilMeasures

New Member
Nov 8, 2023
7
0
1
35
Hi guys,

do you know how I can make this work:

api_hangup_hook=system curl -X https://..... ?

I am always getting [DEBUG] switch_core_state_machine.c:777 Hangup Command with no Session system(curl -X https://....)

My XML line looks like this:
<action application="set" data="api_hangup_hook=system curl -X https//:... />

I am using my curl command in another way already, so this is proven it works.
Can anybody help?