lt;https://www.facebook.com/Genesys>[aX4aUWQBJRU5ErkJggg==]<https://www.youtube.com/Genesys>[wFxOBHaJBbmQQBJRU5ErkJggg==]<http://blog.genesys.com/>
From: Users on behalf of Mehdi Shirazi
Date: Saturday, June 18, 2022 at 1:44 AM
To: OpenSIPS users mailling list
Subjec
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
__
OpenSIPS and their purposes and capabilities:
https://www.opensips.org/Documentation/Script-Routes-3-3
Ben Newlin
From: Users on behalf of Mehdi Shirazi
Date: Friday, June 17, 2022 at 1:50 AM
To: OpenSIPS users mailling list
Subject: Re: [OpenSIPS-Users] Drop the call from onreply_route with
*Hi Alexey*
*Thanks for the reply, so how can we read a reply message(even outside
reply_route) and based on the information in it, decide to send a
reply with special cause code and terminate the initiated call ? *
Regards
M.Shirazi
>Hi Mehdi,
>onreply_route [1] is used not for generating rep
Hi Mehdi,
onreply_route [1] is used not for generating replies by your OpenSIPS,
it it used for actions to be taken for SIP replies which are going towards
OpenSIPS
from other VoIP entities.
To drop a call with some code you may use these functions:
sl_send_reply(); [2]
send_repl
Hi
How can we disconnect a call from on reply_route with a cause value ?
Regards
M.Shirazi
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users