On Wed, Feb 24, 2010 at 2:28 AM, mayamatakeshi <[email protected]>wrote:

> Hello,
> is it possible to do conditional processing for each branch after lookup()
> is called (branch_route) based on data saved with the contact?
> Specifically, I would like to add a different header like Alert-Info based
> on the field user_agent.
>

Reading the docs, I believe this cannot be done.
But a limited conditional processing could be done indirectly using bflags:
we can identify the User-Agent during registration and set bflags based on
it. Then those bflags will be available in the branches when lookup() is
performed.

regards,
takeshi
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to