[asterisk-users] howto cancel simultaneous calls - dial(sip/phone1&sip/phone2)

Rusty Newton rnewton at digium.com
Wed Oct 15 17:24:32 CDT 2014


On Fri, Oct 10, 2014 at 8:14 AM, Marek Cervenka <cervajs at fpf.slu.cz> wrote:
> hi.
>
> i have dialplan with 2 simultaneous calls - dial(sip/phone1&sip/phone2).
>
> when i cancel call on phone1 (push "reject" button), the call is still
> ringing on phone2
>
> can i cancel call on both phones from one place(one phone)?
> thanks

The calls to each destination are separate call legs (channels).
Rejecting the call from one phone will only cancel that one channel.

This seems like something that should be easy to do, but I can't think
of an easy way to do it at the moment. After talking with some others,
I don't think there is a *simple* way to do it.

If you are using external scripts with Asterisk APIs such as AMI or
ARI, then you can probably accomplish what you want using those
interfaces.

-- 
Rusty Newton
Digium, Inc. | Community Support Manager
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
direct: +1 256 428 6200

Check us out at: http://digium.com & http://asterisk.org



More information about the asterisk-users mailing list