Yes, there is that one, I hadn’t thought of that. But you will not be able to 
control the response code sent back upstream from there. You still need to do 
that in the failure_route.

Ben Newlin
Lead Voice Network Engineer
Genesys Cloud Voice

[X+8ADXwmpWwAAAABJRU5ErkJggg==]<http://www.genesys.com/>
[eJAO5L8CpOPwG+vPB9q3Mq3SAAAAAElFTkSuQmCC]<https://twitter.com/Genesys>[NZOfBSD5zhNaRvrLBVF2igAAAABJRU5ErkJggg==]<http://www.linkedin.com/company/601919?trk=tyah>[xf4wOBtofx3lYAAAAAElFTkSuQmCC]<https://www.instagram.com/genesyscx>[L5hfZJ73LJyNk7AAAAABJRU5ErkJggg==]<https://www.facebook.com/Genesys>[aX4aUWQAAAABJRU5ErkJggg==]<https://www.youtube.com/Genesys>[wFxOBHaJBbmQQAAAABJRU5ErkJggg==]<http://blog.genesys.com/>

From: Users <[email protected]> on behalf of Mehdi Shirazi 
<[email protected]>
Date: Saturday, June 18, 2022 at 1:44 AM
To: OpenSIPS users mailling list <[email protected]>
Subject: Re: [OpenSIPS-Users] Drop the call from onreply_route with cause code
 EXTERNAL EMAIL - Please use caution with links and attachments

________________________________
Thanks Ben for your reply.
It seems there is one way to cancel initiated call from reply_route:

onreply_route[3] {

...

        if ($hdr(User-Agent)=~"Snom") {

               # drop calls involving snom UA

               t_cancel_branch();

        }

...

}



Regards
M.Shirazi


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

Reply via email to