[OpenSIPS-Users] How to tear down a call, when the UA receives a new INVITE? Is it possible?

Bogdan-Andrei Iancu bogdan at opensips.org
Tue Aug 18 14:15:15 CEST 2015


Hi Rodrigo,

What you can do is to write down an external script to look for the S1 
calls (using the MI dlg_list_dlg command) and to terminate the call 
(using the dlg_end_dlg MI command).
You can invoke such an external script via exec() module.

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 18.08.2015 15:03, Rodrigo Pimenta Carvalho wrote:
>
>
> Dear OpenSIPS-users,
>
>
> Let´s suppose someone (S1) is talking at a softphone.
>
> Let´s suppose another person (S2) needs to talk to S1 at same time.
>
> So, S2 calls S1.
>
>
> How to configure OpenSIPS to tear down ("hang up") the current S1 call 
> and then  send the S2 INVITE message to S1? Some example?
>
>
> In my scenery, the user in S2 has a kind of high priority when calling 
> any another one. So, S2 must be answered as soon as possible.
>
>
> Any hint will be very helpful!
>
>
> Best regards.
>
>>
>
> RODRIGO PIMENTA CARVALHO
> Inatel Competence Center
> Software
> Ph: +55 35 3471 9200 RAMAL 979
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20150818/8b103b15/attachment.htm>


More information about the Users mailing list