<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Heya Rodrigo<div><br></div><div>My apologies for the misunderstanding re the delay.</div><div><br></div><div>I think the 183 messages problem stems from Asterisk being a B2BUA not a proxy and therefore not the tool or this job. But others have more skill around that area than I do so please confirm that before accepting it as fact!</div><div><br></div><div>Hope you get it resolved. Sorry to muddy the waters :)</div><div><br></div><div>Pete</div><div><br></div><div><br></div><div><div><div><font face="Calibri, Arial, Helvetica, sans-serif"><span style="font-size: 16px;"></span></font>On 16/07/2015, at 9:24 AM, Rodrigo Pimenta Carvalho <<a href="mailto:pimenta@inatel.br">pimenta@inatel.br</a>> wrote:<div apple-content-edited="true"><br></div><div apple-content-edited="true"><br></div><div><blockquote type="cite"><div dir="ltr" style="font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: 12pt; background-color: rgb(255, 255, 255); font-family: Calibri, Arial, Helvetica, sans-serif; position: static; z-index: auto; "><div style="margin-top: 0px; margin-bottom: 0px; ">Hi Sammy and Pete.</div><div style="margin-top: 0px; margin-bottom: 0px; "><br></div><div style="margin-top: 0px; margin-bottom: 0px; ">Sammy, you are correct. But your example doesn't allow Asterisk forward every SIP 183 message to the caller.</div><div style="margin-top: 0px; margin-bottom: 0px; "><br></div><div style="margin-top: 0px; margin-bottom: 0px; ">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:</div><div style="margin-top: 0px; margin-bottom: 0px; "><br></div><div style="margin-top: 0px; margin-bottom: 0px; ">exten = _6XXX,1,Dial(${PJSIP_DIAL_CONTACTS(${EXTEN})}, 60)</div><div style="margin-top: 0px; margin-bottom: 0px; "><br></div><div style="margin-top: 0px; margin-bottom: 0px; ">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.</div><div style="margin-top: 0px; margin-bottom: 0px; "><br></div><div style="margin-top: 0px; margin-bottom: 0px; ">Thanks and regards.<br></div><div style="margin-top: 0px; margin-bottom: 0px; "><br></div><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: 1303px; "><div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size: 11pt; "><b>De:</b><span class="Apple-converted-space"> </span><a href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</a><span class="Apple-converted-space"> </span><<a href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</a>> em nome de Pete Mundy <<a href="mailto:pete@fiberphone.co.nz">pete@fiberphone.co.nz</a>><br><b>Enviado:</b><span class="Apple-converted-space"> </span>quarta-feira, 15 de julho de 2015 18:16<br><b>Para:</b><span class="Apple-converted-space"> </span>Asterisk Users Mailing List - Non-Commercial Discussion<br><b>Assunto:</b><span class="Apple-converted-space"> </span>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 dir="ltr"><div dir="ltr">exten => _600.wait5,n,Hangup</div><div dir="ltr"><br></div></div></div><div dir="ltr">exten => 555,1,Dial(LOCAL/6001&LOCAL/6002.wait5)</div></div><div><div dir="ltr">exten => 555,n,Hangup</div><div dir="ltr"><br></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>--<span class="Apple-converted-space"> </span><br>_____________________________________________________________________<br>-- Bandwidth and Colocation Provided by<span class="Apple-converted-space"> </span><a href="http://www.api-digital.com/">http://www.api-digital.com</a><span class="Apple-converted-space"> </span>--<br>New to Asterisk? Join us for a live introductory webinar every Thurs:<br> <a href="http://www.asterisk.org/hello">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">http://lists.digium.com/mailman/listinfo/asterisk-users</a></div></blockquote></div><br></div></div></div></body></html>