I was trying out 6941’s with an asterisk that was patched with https://issues.asterisk.org/jira/browse/ASTERISK-13145 Long story short, it worked well, but still not enough functionality.
Moving along, we tested call forwarding. It worked. But then the call forwarding disappeared from the phone, so no way to remove the forwarded call.
/etc/asterisk/extensions_custom.conf
trip the x-cisco-serviceuri- prefix
exten => _[x]-cisco-serviceuri-.,1,Goto(${EXTEN:19},1)
; Enable forwarding
exten => _cfwdall-.,1,Answer
same => next,Set(SIPPEER(${CHANNEL(peername)},callforward)=${EXTEN:8})
same => next,Hangup(normal_clearing)
; Disable forwarding
exten => cfwdall,1,Answer
same => next,Set(SIPPEER(${CHANNEL(peername)},callforward)=)
same => next,Hangup(normal_clearing)
I tried over at that jira page, but nobody answered; is there any way to remove a forwarded call that was forwarded with that type of dial plan?