Try using local channel to accomplish that.<br> by example :<br><br> you have 2 phones in the group and want to dial those phones in the following fashion. Dial phone 1 first after 15 sec if phone1 does not pickup dial phone2 :<br>
<br>[group-call]<br>exten => group1,Dial(Local/phone1@group-call&Local/phone2@group-call, 30)<br><br>exten => phone1,1,Dial(SIP/100,15)<br> same => n,Hangup()<br><br>exten => phone2,1,Wait(15)<br>
same => n,Dial(SIP/101)<br> same => n,Hangup()<br><br><br>Hope that will help.<br><br>"asterisk the definitive guide"<br><br><br><br><div class="gmail_quote">2011/7/20 Antonio Modesto <span dir="ltr"><<a href="mailto:modesto@isimples.com.br">modesto@isimples.com.br</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><u></u>
<div>
Good morning,<br>
<br>
I am writing a Asterisk dialplan from scratch (for learning and testing purposes), but i'm having trouble with a algorithm to dial a SIP group using round-robin. I want that asterisk dial the member of the group in a circular way, until the call be answered. For example, i have the group TEST="SIP/1&SIP/2&SIP/3&SIP/4", asterisk would dial SIP/1, if it doesn't answer in a period of time then asterisk would dial SIP/2 and so on. Can somebody help me?<br>
<br>
<br>
Thanks.
</div>
<br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br><br clear="all"><br>-- <br><b>Adolphe CHER-AIME<br>
Network / VoIP Engineer<br>CCNA, CCNA VOICE, Global VSAT Forum Certified<br>(509) 3449-4280</b><br>