<div dir="ltr">Hello,<br><br>I'm trying to figure out what was the return code of SIP for a call.<br>The problem is that HASH(SIP_CAUSE) require a peer name, but when I try to retrieve the peer name using ${CHANNEL(peername)}, I have an error message that CHANNEL does not have peername or it is not available to be used.<br>
I tried to print it with NOOP on a live channel, and also after hangup, both with the same error message.<br><br>So how can I get SIP_CAUSE, or how can I get the peer name ?<br><br>Thanks,<br><br>Ido<br>
</div>