On 18 Apr 2015, at 21:59, Daniel-Constantin Mierla <miconda(a)gmail.com> wrote:
uac: option to execute event_route[uac:reply] for
uac_req_send() replies
- $uac(evroute) has to be set to 1 and event_route[uac:reply] defined
- inside event_route[uac_reply] the $uac_req(...) variable is restored
back as before uac_req_send(), having the values from that time,
excepting:
- $uac_req(evcode) is set to the reply code
- $uac_req(evtype) is set to 1 if the reply was received or to 2 if
the reply was self generated (e.g., case of transmission timeout)
- if $uac_req(evtype)==1, the message processed inside the event route is the
received reply, otherwise is a faked request with no relation to the
request sent out by uac_req_send()
Very cool! Thank you Daniel!
/O