If you want to control it from within Kamailio, you should be able to do
` stop_recording("pause") ` and then later ` start_recording() ` again.
If you control it from something external, you can use the `pause
recording` method directly.
The control module is mostly agnostic about flags and options supported
by rtpengine these days, so it's best to go by the rtpengine docs.
Cheers
On 27/01/2025 16.48, Who AmI via sr-users wrote:
> Hi list,
>
> I have been looking at the recording daemon in RTPengine with Kamailio
> controlling this via rtpengine_manage() flags: "record-call=on" in the
> initial Invite, or 200OK based on direction.
>
> I tested and this works brilliantly for the full calls, but when
> looking at pause/resume the module documentation is bare and I am a
> bit confused.
>
> It looks like the ngcp docs and Opensips module docs (for RTPengine)
> describe the pause/resume as just another start/stop flag.
>
> Use case is simple, all calls are recorded, but we want the option to
> pause, then resume once any private or personal information exchange
> has completed.
>
> My question is also simple - Is this the recommended way to pause and
> then resume recordings or have I missed something?
>
> The Kamailio documentation doesn't explicitly say this
> (https://www.kamailio.org/docs/modules/stable/modules/rtpengine.html#rtpengine.f.start_recording)
> so just looking for advice if this is the best route to go.
>
> Thanks,
>
> John.
>
> __________________________________________________________
> Kamailio - Users Mailing List - Non Commercial Discussions -- sr-users@lists.kamailio.org
> To unsubscribe send an email to sr-users-leave@lists.kamailio.org
> Important: keep the mailing list in the recipients, do not reply only to the sender!
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions -- sr-users@lists.kamailio.org
To unsubscribe send an email to sr-users-leave@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender!