I am doing a transfer as per this dial plan (external endpoint) …
exten => 2404988961,1,NoOp()
exten => 2404988961,n,Transfer(PJSIP/sip:email@example.com)
I have not changed the send_diversion flag which by default is set to true. I was expecting to see a diversion header in the SIP/2.0 302 Moved Temporarily response that asterisk sends out but this is not the case. Should asterisk by default create one?
I am running asterisk 15.5.0 with PJSIP.