Hello,

 

already tried this functions? You can call by any RPC methods available.

 

https://kamailio.org/docs/modules/5.5.x/modules/tm.html#tm.rpc.cancel

https://kamailio.org/docs/modules/5.5.x/modules/dialog.html#dlg.r.terminate_dlg

 

Cheers,

 

Henning

 

--

Henning Westerholt – https://skalatan.de/blog/

Kamailio services – https://gilawa.com

 

From: sr-users <sr-users-bounces@lists.kamailio.org> On Behalf Of Antonio Couto
Sent: Wednesday, June 15, 2022 3:36 PM
To: Kamailio (SER) - Users Mailing List <sr-users@lists.kamailio.org>
Subject: [SR-Users] terminate a call on 183 state

 

Someone know how to terminate a call on TM module from a external application, http, websocket, udp or using other modules when the call on 183 state? I am making a answering machine detection analising audio from RTPEngine recording daemon , but i need to disconnect the call before is anwered byt remote side.

Kamailio        INVITE       >>    Destination
                  <<  100 trying
                  << 183 session progress

I need to comand Kamailio to drop this call from a external application in this point.

I searched on each module but I can not find any solution.

Thanks in advance