[asterisk-users] Dedicated hangup extension h
Aldo Bergamini
aaberga at gmail.com
Wed Aug 28 03:38:02 CDT 2013
On 28 Aug 2013, at 09:50, Grant Bagdasarian <GB at cm.nl> wrote:
Hi Grant!
I do not know of a way to have multiple 'h' extensions in the same context.
But you can easily make an appropriate context for your custom need!
exten => _X.,1,Playback(invalid)
exten => _X.,n,Hangup
exten => 1000,1,Noop(Go to CURL Hangup)
exten => 1000,n,Goto(CURL_Hangup,${EXTEN},1)
; ..... your context goes on ....
; Added Custom Context
[CURL_Hangup]
exten => _X.,1,Playback(welcome)
exten =>_X.,n,Read(dtmfinput,,,,,15)
exten =>_X.,n,Hangup
exten => h,1,Set(response=${CURL(http://sample.company.local/PostHandler.ashx,var1=${dtmfinput}&var2=1000)})
HTH,
Aldo
More information about the asterisk-users
mailing list