[sr-dev] onsend route also for replies
Daniel-Constantin Mierla
miconda at gmail.com
Thu Dec 29 15:58:39 CET 2011
Hello,
On 12/29/11 2:53 PM, Juha Heinanen wrote:
> would it be a big deal to extend onsend route to work also on replies or
> introduce a new onsend_reply_route for that purpose?
>
> for example, i would like to be able to change response code/reason to
> something else in such a route based on some conditions (flags, avp
> values).
in onsend_route, the content of outgoing buffer cannot be changed for
requests, it is the one printed with via/record-route/route headers. It
should be the same for replies (e.g., via stack updated), so even
extended, the route block does not seem to meet your needs.
Do you want for local replies also, or just for received?
Cheers,
Daniel
--
Daniel-Constantin Mierla -- http://www.asipto.com
http://linkedin.com/in/miconda -- http://twitter.com/miconda
More information about the sr-dev
mailing list