[OpenSIPS-Users] Drop the call from onreply_route with cause code

Mehdi Shirazi m.shirazi at gmail.com
Sat Jun 18 05:41:33 UTC 2022


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20220618/67067795/attachment.html>


More information about the Users mailing list