[SR-Users] terminate a call on 183 state

Antonio Couto couto.a at gmail.com
Wed Jun 15 16:35:12 CEST 2022


You save my day, I forgot the rtp commands for TM,
now i sent via jsonrcp and works!

Thanks a lot.
best regards.
Antonio Couto

Exemple using jsonrcp:

POST http://192.168.0.213:8181/RPC
Content-Type: application/json

{
  "jsonrpc": "2.0",
  "method": "tm.cancel",
  "params": {
    "Callid": "f2c0411264d442f1aca784193d3475b0",
    "CSeq": "160"
  }
}

On Wed, Jun 15, 2022 at 11:05 AM Henning Westerholt <hw at gilawa.com> wrote:

> 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 at lists.kamailio.org> *On Behalf Of *Antonio
> Couto
> *Sent:* Wednesday, June 15, 2022 3:36 PM
> *To:* Kamailio (SER) - Users Mailing List <sr-users at 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20220615/eb797937/attachment.htm>


More information about the sr-users mailing list