Skip to content

fix a regression from previous commit

Wenpeng Song requested to merge testing-regression-fix into devel

for those internal extension that list in extension.conf like call-forward(*21*).
The Read() function that used to got the target number could not retrieve the DTMF with the previous fix as it was not handled by asterisk core.

[sip0-direct]
exten => _*21*,1,       GoSub(sub-create_cfim,s,1(sip0))
exten => _*61*,1,       GoSub(sub-create_cfbs,s,1(sip0))
exten => _*67*,1,    GoSub(sub-create_cfb,s,1(sip0))

[sub-create_cfim]
;
; ${ARG1} - Associated SIP peer
;
exten => s,1,           Read(input,,,,,300)
exten => s,n,           Set(DB(CFIM/${ARG1})=${input})
exten => s,n,           Playback(beep)
exten => s,n,           Hangup()

Merge request reports