I am looking for to implement the following situation in my asterisk dialplan:
Caller XXX calls my number YYY which is hosted on my ASTERISK.
The SIP INVITE message has a custom header with the call duration Z in seconds (eg. 300 seconds). When the call duration reach Z, Asterisk automatically Hangup the call.
Is it feasable ? How ?