I am switching AST 16 from 13. I use Set(peer=${CHANNEL(peername)}) to get the peer that dialed the channel. I am trying to look through the Function_PJSIP_ENDPOINT to see if there is an equivalent.
Would anyone know how I can get the peer name in pjsip.
Thank you.