[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:20:51 CEST 2015


Rodrigo,

See more on the MI interface in OpenSIPS:
     http://www.opensips.org/Documentation/Interface-MI-1-11

And about the MI commands exposed by the dialog module:
http://www.opensips.org/html/docs/modules/1.11.x/dialog.html#id296664

Regards,

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

On 18.08.2015 15:19, Rodrigo Pimenta Carvalho wrote:
>
> Ok Thanks.
>
>
> I still have to know what is  a 'dlg_list_dlg command' and what is a 
> 'dlg_end_dlg​ command'. But, your hint will serve as a direction to me.
>
> Best regards.
>
>
> RODRIGO PIMENTA CARVALHO
> Inatel Competence Center
> Software
> Ph: +55 35 3471 9200 RAMAL 979
> ------------------------------------------------------------------------
> *De:* Bogdan-Andrei Iancu <bogdan at opensips.org>
> *Enviado:* terça-feira, 18 de agosto de 2015 09:15
> *Para:* OpenSIPS users mailling list; Rodrigo Pimenta Carvalho
> *Assunto:* Re: [OpenSIPS-Users] How to tear down a call, when the UA 
> receives a new INVITE? Is it possible?
> 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/13a22f2b/attachment-0001.htm>


More information about the Users mailing list