Hi,
In Asterisk i am using Transfer Command and i added Diversion Header.
In 302 request I see the Diversion Header successfully,
While in the Contact section I can see before the information there was added “Transfer” prefix the sip details of the contact.
Is there a way to remove the “Transfer”? if so can any one advise how?
Currently displayed: Contact: Transfer sip:003B0123456789
Desired: Contact: sip:003B0123456789
The Code part: (You comment see different tries which i have done by changing it to Dial \ Remove and Adding Headers)
exten => 797406001,1,Verbose(STAR 0123456789 ******0987654321 ************************:${CALLERID(num)} ---- ${EXTEN} —0${EXTEN:3})
same => n,Verbose(addDiversionHeader:${EXTEN})
same => n,SET(REDIRECTING(from-num,i)=${EXTEN})
same => n,SET(REDIRECTING(reason,i)=cfu)
;same => n,SIPRemoveHeader(Contact)
;same => n,SIPAddHeader(Contact: 003B0123456789})
same => n,Transfer(SIP/003B0123456789)
;same => n,Dial(SIP/003B0123456789)
same => n,Hangup()
Asterisk version is 16