<div dir="ltr"><div style="font-size:small" class="gmail_default">if a PJSIP call fails, how can I capture SIP code, like 503,603 etc?<br></div><div style="font-size:small" class="gmail_default">in old SIP channel, we had ${HASH(SIP_CAUSE,<channel-name>)}<br></div><div style="font-size:small" class="gmail_default">but in PJSIP it has to be the outbound channel, which is gone when the control returns to the calling channel. <br></div><br></div>