Re: [asterisk-users] Dial multiple device cancellation
Hi! You could do a sequence of Dial cmds and dispatch the various hangup causes. If a device is busy, the time delay is pretty short. Then you can decide whether inviting another device makes any sense. jg Am 15.04.2013 11:08, schrieb Santi Anton: Hi, Can a call to multiple devices be cancelled in all of them at same time? With next dialplan, exten = 100,1,Dial(SIP/101SIP/102) when a call rings on 101 and 102 and one of them rejects the call with 486 Busy here, is it possible to reject the call in the other device at same time? I read application dial options but I can't find any that can help me to achieve this behavior. Thanks in advance, Santi Antón, -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Dial multiple device cancellation
On Mon, Apr 15, 2013 at 2:38 PM, Santi Anton santi.an...@quarea.com wrote: Hi, Can a call to multiple devices be cancelled in all of them at same time? With next dialplan, exten = 100,1,Dial(SIP/101SIP/102) when a call rings on 101 and 102 and one of them rejects the call with 486 Busy here, is it possible to reject the call in the other device at same time? I read application dial options but I can't find any that can help me to achieve this behavior. Thanks in advance, Santi Antón, A very ugly way to achieve this! exten = 100,1,Dial(Local/101@extensionsLocal/102@extensions) [extensions] exten = _X.,1,Dial(SIP/${EXTEN}) same = n,Execif($[${DIALSTATUS}=BUSY]?Answer():) I couldn't test the code and has obvious side effects on CDR. --Satish Barot Ahmedabad, India. -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Dial multiple device cancellation
If I correctly understood your question, the only way I can think of to force extension 102 to stop ringing (because of extension 101 rejecting incoming call) is to pass Asterisk a soft hangup command (using CLI or AMI) with appropriate ringing channel identification. Hop this helps. 2013/4/15 Santi Anton santi.an...@quarea.com Hi, Can a call to multiple devices be cancelled in all of them at same time? With next dialplan, exten = 100,1,Dial(SIP/101SIP/102) when a call rings on 101 and 102 and one of them rejects the call with 486 Busy here, is it possible to reject the call in the other device at same time? I read application dial options but I can't find any that can help me to achieve this behavior. Thanks in advance, Santi Antón, -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Dial multiple device cancellation
Hi, Yes, I thought this option too, but I was looking for a magic dial option or something a little bit easier to implement :P Thanks, Santi Antón De: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] En nombre de Olivier Enviado el: lunes, 15 de abril de 2013 14:27 Para: Asterisk Users Mailing List - Non-Commercial Discussion Asunto: Re: [asterisk-users] Dial multiple device cancellation If I correctly understood your question, the only way I can think of to force extension 102 to stop ringing (because of extension 101 rejecting incoming call) is to pass Asterisk a soft hangup command (using CLI or AMI) with appropriate ringing channel identification. Hop this helps. 2013/4/15 Santi Anton santi.an...@quarea.com Hi, Can a call to multiple devices be cancelled in all of them at same time? With next dialplan, exten = 100,1,Dial(SIP/101SIP/102) when a call rings on 101 and 102 and one of them rejects the call with 486 Busy here, is it possible to reject the call in the other device at same time? I read application dial options but I can't find any that can help me to achieve this behavior. Thanks in advance, Santi Antón, -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users No se encontraron virus en este mensaje. Comprobado por AVG - www.avg.com Versión: 2013.0.2904 / Base de datos de virus: 3162/6245 - Fecha de publicación: 04/14/13 -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users