Hello,

if you want to drop all sip traffic:

request_route {
    exit;
}

reply_route {
   drop();
}

Cheers,
Daniel

On 14.01.19 11:24, Mojtaba wrote:
Hello,
I am using siptrace module in Kamailio. As you know, it sends a copy of signalling message for specific destination. Like HOMER project.
Because of  i won't run main route block in destination, i just  have changed this block like below:
request_route {
        //do some works.
        drop();
        exit;
}
I know it would make a question in your mind why i do this? No problem, Let's come back to question. All things works correct except Replying SIP message. The destination is trying to relay Replying SIP message that it get from siptrace module in other server.
How can i disable replying SIP mesages?
With Best Regards 
--Mojtaba Esfandiari.S

_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio World Conference - May 6-8, 2019 -- www.kamailioworld.com
Kamailio Advanced Training - Mar 4-6, 2019 in Berlin; Mar 25-27, 2019, in Washington, DC, USA -- www.asipto.com