Just to add for those not aware of it yet -- instead of captagent, one can also use sngrep to push traffic from network to Kamailio sipcapture/Homer server; it might not be as flexible as captagent, but for SIP traffic is good enough, allowing to do filtering from command line as well.