On 19/04/15 15:17, Olle E. Johansson wrote:
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!
Thank you and welcome! With the side note that real testing was not done
yet, as we are going to freeze for v4.3 soon and the plan is to do it
during that period. Of course, testing and feedback by anyone out there
is very appreciated!
Cheers,
Daniel
--
Daniel-Constantin Mierla
http://twitter.com/#!/miconda -
http://www.linkedin.com/in/miconda
Kamailio World Conference, May 27-29, 2015
Berlin, Germany -
http://www.kamailioworld.com