<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!--P{margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hi Sammy and Pete.</p>
<p><br>
</p>
<p>Sammy, you are correct. But your example doesn't allow Asterisk forward every SIP 183 message to the caller.</p>
<p><br>
</p>
<p>Pete, in fact, I'm not looking for a delayed ring. All extensions must ring at same time. I got  a kind of solution by using:</p>
<p><br>
</p>
<p>exten = _6XXX,1,Dial(${PJSIP_DIAL_CONTACTS(${EXTEN})}, 60)</p>
<p><br>
</p>
<p>However, the Asterisk is rewriting the SDP content of SIP 183 messages, before forwarding it to the caller. That is the new question I would like to solve, because in my project the caller must receive the SIP 183 from callee as it was originally wrote.</p>
<p><br>
</p>
<p>Thanks and regards.<br>
</p>
<p><br>
</p>
<div id="Signature">
<div class="BodyFragment"><font size="2">
<div class="PlainText">RODRIGO PIMENTA CARVALHO<br>
Inatel Competence Center<br>
Software<br>
Ph: +55 35 3471 9200 RAMAL 979   (Brasil)</div>
</font></div>
</div>
<div style="word-wrap:break-word">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>De:</b> asterisk-users-bounces@lists.digium.com <asterisk-users-bounces@lists.digium.com> em nome de Pete Mundy <pete@fiberphone.co.nz><br>
<b>Enviado:</b> quarta-feira, 15 de julho de 2015 18:16<br>
<b>Para:</b> Asterisk Users Mailing List - Non-Commercial Discussion<br>
<b>Assunto:</b> Re: [asterisk-users] How to dial extensions asynchronous-sequentially ?</font>
<div> </div>
</div>
<div>
<div>Heya Rodrigo</div>
<div><br>
</div>
<div>Not sure, but this expansion on Sammy's concept may help you achieve the delayed ring on the secondary extensions you were looking for.</div>
<div><br>
</div>
<div>
<div dir="ltr">exten => _600.,1,Dial(PJSIP/${EXTEN})</div>
<div>
<div dir="ltr">
<div dir="ltr">exten => _600.,n,Hangup</div>
<div dir="ltr"><br>
</div>
<div dir="ltr">exten => _600.wait5,1,Wait(5)</div>
</div>
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">exten => _600.wait5,n,Dial(PJSIP/${EXTEN:0:4})</div>
</div>
<div dir="ltr"></div>
</div>
</div>
<div dir="ltr">
<div>
<div dir="ltr">
<div dir="ltr">exten => _600.wait5,n,Hangup</div>
<div dir="ltr"><br>
</div>
</div>
</div>
</div>
<div dir="ltr">exten => 555,1,Dial(LOCAL/6001&LOCAL/6002.wait5)</div>
</div>
<div>
<div>
<div dir="ltr">exten => 555,n,Hangup</div>
<div dir="ltr"><br>
</div>
</div>
</div>
<div dir="ltr">So you dial '555' and it rings 6001, then 5 second later (assuming 6001 isn't answered yet) 6002 starts ringing too (first to answer gets it).</div>
<div dir="ltr"><br>
</div>
Pete</div>
<div><br>
</div>
<div><font size="2"></font><br>
<div>
<div>On 14/07/2015, at 7:24 AM, SamyGo <<a href="mailto:govoiper@gmail.com">govoiper@gmail.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div dir="ltr">
<div>Anyway here's one way of how I think you can do.</div>
<div><br>
</div>
<div>Have a context created to dial the individual user</div>
<div><br>
</div>
<div>[dial_user]</div>
<div>exten => _600X.,1,Dial(PJSIP/${EXTEN})</div>
<div>...</div>
<div><br>
</div>
<div>and in your code change it to.</div>
<div><br>
</div>
<div><span style="font-size:12.8000001907349px">same = n,Dial(local/6001@dial_user/n&</span><span style="font-size:12.8000001907349px">local/6002@dial_user/n</span><span style="font-size:12.8000001907349px">)</span></div>
<div><span style="font-size:12.8000001907349px">same = n,Hangup()</span></div>
</div>
</blockquote>
</div>
</div>
</div>
</div>
</body>
</html>