I have a business problem that is killing me. I do SIP2SIP, only. I place a call after receiving the incoming request, and I need to send a Hangup(Code) to the caller, based on the result of the outbound leg. How can I do that in Asterisk? Is that even possible at all?<br>
I can use Hangup(code), but how do I extract it from the received BYE? This is only for calls that fail to connect on the outbound leg.<br>Philip<br>