Hi,
As per docs [1], you have in event_route :
id - represents the identifier of the call for which that event was
received.
is_callid - is 0 if the id parameter represents the Dialog ID, or 1 if
it is a callid.
[1]
https://opensips.org/html/docs/modules/3.2.x/rtpproxy.html#event_E_RTPPROXY_DTMF
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
https://www.opensips-solutions.com
OpenSIPS Summit 27-30 Sept 2022, Athens
https://www.opensips.org/events/Summit-2022Athens/
On 9/14/22 10:46 AM, Saint Michael wrote:
My goal is to close the call as soon as the callee presses any DTMF
when any DTMF is detected, then I need to access the callID variable, $ci
but it's nowhere to be found
Also I need $avp(start_time) and $avp(duration)
I am at a loss as to how to retrieve this information. The call is
connected
I need to fire a database query to close the call.
I imagine that when the call got connected, some variable stored that
unix-time .
But it does not seem to be available in this part of the code.
Philip
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users