<html><head><style type=text/css><!--
.email-body p.mcntMsoNormal, .email-body li.mcntMsoNormal, .email-body div.mcntMsoNormal { margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; }
.email-body a:link, .email-body span.mcntMsoHyperlink { color: blue; text-decoration: underline; }
.email-body a:visited, .email-body span.mcntMsoHyperlinkFollowed { color: purple; text-decoration: underline; }
.email-body span.mcntEmailStyle17 { font-family: Calibri, sans-serif; color: rgb(31, 73, 125); }
.email-body .mcntMsoChpDefault { font-family: Calibri, sans-serif; }
.email-body @page WordSection1 { size: 612pt 792pt; margin: 72pt; }
.email-body div.mcntWordSection1 { page: WordSection1; }
.email-body a {color: blue}
.email-body a:visible {color: purple}
--></style></head><body>Update didn't make any difference, when back to investigate reinvites <div>Added if statement that sets rtpengie direction if is invite with to tag , all ok now </div><div><br></div><div><br><br><div class="mcont"><div class="mcont">Gerry Kernan
<div>InfinityIT</div>
<div><br></div>
<div>Suite 17 The Mall</div>
<div>Beacon Court,</div>
<div>Sandyford,</div>
<div>Dublin 18.</div>
<div><br></div>
<div>p: +35312930090</div>
<div>f: +35312930137</div>
<div>w: www.infinityit.ie</div></div></div><br><br><br><div><strong>
From:
</strong>
gerry kernan <gerry.kernan@infinityit.ie>
<br>
<strong>
To:
</strong>
'Kamailio (SER) - Users Mailing List' <sr-users@lists.kamailio.org>
<br>
<strong>
Sent:
</strong>
23/03/2018 3:55 PM
<br>
<strong>
Subject:
</strong>
Re: [SR-Users] <UNJUNKED> Re: Audio stops after resuming call from hold
<br><br><blockquote class="mcnt mori" style="margin:0 0 0 .8ex;border-left:1px solid #CCC;padding-left:1ex;"><div class="email-body"><div class="mcntWordSection1"><p class="mcntMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Hi Segriu</span></p><p class="mcntMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"> </span></p><p class="mcntMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">I’ve updated to 4.3. I’ll let you know how I go on with the new version</span></p><p class="mcntMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"> </span></p><p class="mcntMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"> </span></p><p class="mcntMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Best Regards</span></p><p class="mcntMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span></p><p class="mcntMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Gerry Kernan</span></p><p class="mcntMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"> </span></p><p class="mcntMsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> sr-users [mailto:sr-users-bounces@lists.kamailio.org] <b>On Behalf Of </b>Sergiu Pojoga<br><b>Sent:</b> 23 March 2018 12:50<br><b>To:</b> Kamailio (SER) - Users Mailing List <sr-users@lists.kamailio.org><br><b>Subject:</b> Re: [SR-Users] <UNJUNKED> Re: Audio stops after resuming call from hold</span></p><p class="mcntMsoNormal"> </p><div><p class="mcntMsoNormal">Config code looks solid to me. Look at the 'c=' in SDP in the forward and reply re-INVITEs. If it gets properly overwritten (same way as it is for the dialog forming INVITE) when rtpengine is engaged, then I believe we are facing some kind of bug in the 4.2 version of Kamailio, something about this thread: <a href="https://lists.kamailio.org/pipermail/sr-users/2012-September/074567.html" target="_blank">https://lists.kamailio.org/pipermail/sr-users/2012-September/074567.html</a></p><div><p class="mcntMsoNormal"> </p></div><div><p class="mcntMsoNormal">I can't upgrade Kamailio at the moment to test my theory as it's a production environment, but may be you can?</p></div></div><div><p class="mcntMsoNormal"> </p><div><p class="mcntMsoNormal">On Fri, Mar 23, 2018 at 6:17 AM, gerry kernan <<a href="mailto:gerry.kernan@infinityit.ie" target="_blank" title="Send email to gerry.kernan@infinityit.ie" class="mailto">gerry.kernan@infinityit.ie</a>> wrote:</p><blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm"><div><div><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Hi </span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">I think my issue is related to rtpengine when the call is take off hold. Im using a private address and a public address . below is route section of our Kamailio.cfg and do I have somethimg setup incorrectly for handleing re-invites?</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">/usr/sbin/rtpengine --pidfile /var/run/rtpengine.pid --table=-1 --interface=priv/192.X.X.X --interface=pub/212.X.X.X --listen-ng=<a href="http://127.0.0.1:7722" target="_blank">127.0.0.1:7722</a> --tos=184 --timeout=60 --log-level=7 --log-facility=local5 --homer-protocol=udp --homer-id=2011</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">request_route {</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> </span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> route(SANITY);</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> </span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> force_rport();</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> </span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> # CANCEL processing</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> if (is_method("CANCEL")) {</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> if (t_check_trans()) {</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> route(RELAY);</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> }</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> exit;</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> }</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> </span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> # handle retransmissions</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> if (!is_method("ACK")) {</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> if(t_precheck_trans()) {</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> t_check_trans();</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> exit;</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> }</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> t_check_trans();</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> }</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> </span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> # handle requests within SIP dialogs</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> route(WITHINDLG);</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> </span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> ### only initial requests (no To tag)</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> </span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> # record routing for dialog forming requests (in case they are routed)</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> if (is_method("INVITE|SUBSCRIBE")) {</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> record_route();</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> }</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> </span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> if (af==INET) {</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> route(SIPIPV4);</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> } else {</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> route(SIPIPV6);</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> }</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">}</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> </span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""># Stateful fowarding</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">route[RELAY] {</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> if (!t_relay()) {</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> sl_reply_error();</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> }</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> exit;</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">}</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> </span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""># Handle requests within SIP dialogs</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">route[WITHINDLG] {</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> if (!has_totag()) return;</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> </span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> # sequential request withing a dialog should</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> # take the path determined by record-routing</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> if (loose_route()) {</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> route(DLGURI);</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> if ( is_method("ACK") ) {</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> # ACK is forwarded statelessly</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> if (has_body("application/sdp")) {</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> rtpengine_answer();</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> }</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> } else if ( is_method("NOTIFY") ) {</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> # Add Record-Route for in-dialog NOTIFY as per RFC 6665.</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> record_route();</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> }</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> route(DISPATCH);</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> exit;</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> }</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> </span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> if ( is_method("ACK") ) {</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> if ( t_check_trans() ) {</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> # no loose-route, but stateful ACK;</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> # must be an ACK after a 487</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> # or e.g. 404 from upstream server</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> route(RELAY);</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> exit;</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> } else {</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> # ACK without matching transaction ... ignore and discard</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> exit;</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> }</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> }</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> sl_send_reply("404","Not here");</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> exit;</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">}</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> </span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">route[SIPIPV4] {</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> if (src_ip != BACKEND_NET4)</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> {</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> # device (client) to server (backend)</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> route(V4DEVTOSRV);</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> } else {</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> # server (backend) to devuce (client)</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> route(V4SRVTODEV);</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> }</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">}</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> </span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">route[SIPIPV6] {</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> sl_send_reply("404", "Not routing for IPv6");</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> exit;</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">}</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> </span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">route[V4DEVTOSRV] {</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> xlog("L_NOTICE", "client->backend FROM CLIENT IP: $si $rm $ru $td ID=$ci\n");</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> </span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> # SIP request packet client->backend</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> </span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> # - remove preloaded route headers</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> remove_hf("Route");</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> </span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> if (!lookup_domain("$td", "dattr_")) {</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> xlog("L_ERR", "$si $rm $ru -- domain \"$td\" is not "</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> "found in domain table\n");</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> xlog("attempt to login with unkown domain from $si");</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> sl_send_reply("404", "No route for domain");</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> exit;</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> }</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> </span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> if (!defined $avp(dattr_routeset)) {</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> xlog("L_ERR", "$si $rm $ru -- attribute \"routeset\" is " +</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> "undefined for domain $td\n");</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> sl_send_reply("404", "No route id for domain");</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> exit;</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> }</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> </span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> if( !ds_select_dst(4000 + $avp(dattr_routeset), "1") ) {</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> xlog("L_NOTICE", "Drop....\n");</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> sl_send_reply("404", "No destination");</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> }</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> </span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> if (is_method("REGISTER")) {</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> add_path_received();</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> } else {</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> if (nat_uac_test("19")) {</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> if(is_first_hop()) {</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> add_contact_alias();</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> }</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> }</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> }</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> </span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> if (has_body("application/sdp")) {</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> rtpengine_offer("direction=pub direction=priv ICE=remove");</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> }</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> </span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> route(DISPATCH);</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> </span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> xlog("L_NOTICE", "DISPATCH: source address: $si SIP request's method: $rm SIP Request's URI: $ru ID=$ci\n");</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> exit;</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">}</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> </span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">route[V4SRVTODEV] {</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> # SIP request packet backend->client</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> </span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> # Invites from backend contain Route field and it should be used</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> # to reach the registered client</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> </span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> xlog("L_NOTICE", "backend->client FROM BACKEND: source address: $si"</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> " METHOD: $rm $ru To-URI: $tu ID=$ci \n");</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> </span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> xlog("L_NOTICE", "backend->client $rm: TO $ru FROM $fu ID=$ci\n");</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> if (has_body("application/sdp")) {</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> rtpengine_offer("direction=priv direction=pub ICE=remove");</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> }</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> </span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> if(!is_present_hf("Route")) {</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> sl_send_reply("404", "No record routing");</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> exit;</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> }</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> loose_route();</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> </span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> route(DISPATCH);</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">}</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> </span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">route[DISPATCH] {</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> </span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> xlog("L_NOTICE", "ROUTE-DISPATCH $si $rm $ru ID=$ci \n");</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> </span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> xlog("L_NOTICE", "ROUTE-DISPATCH Messege buff.... ID=$ci $rm \n $mb\n");</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> </span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> if(!is_method("ACK")) {</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> if (has_body("application/sdp")) {</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> xlog("L_NOTICE", "SDP Offer....ID=$ci\n");</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> t_on_reply("INVSDP");</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> } else {</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> t_on_reply("INVNOSDP");</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> }</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> }</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> xlog("L_NOTICE", "DISPATCH $si METHOD: $rm $ru $du ID=$ci\n");</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> xlog("L_NOTCIE", "Return code: $rc ID=$ci\n");</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> route(RELAY);</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> exit;</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">}</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> </span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> </span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""># URI update for dialog requests</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">route[DLGURI] {</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> if(!isdsturiset()) {</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> handle_ruri_alias();</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> }</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> return;</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">}</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> </span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">route[REPLYALIAS] {</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> if(src_ip != BACKEND_NET4) {</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> # SIP reply packet client->backend</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> xlog("L_NOTICE", "FROM CLIENT($si onreply_route- ): Method: $rm"</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> "$ru To: $tu Recieved on: $Ri ID=$ci ");</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> add_contact_alias();</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> } else {</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> # SIP reply packet backend->client</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> xlog("L_NOTICE", "FROM BACKEND($si onreply_route): Method: $rm"</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> " $ru To: $tu Recieved on: $Ri ID=$ci");</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> xlog("L_NOTICE", "FROM BACKEND #rtpengine_answer# ($si onreply_route):"</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> " source address: $si SIP request's method: $rm SIP Request's"</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> " URI: $ru ID=$ci\n");</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> }</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">}</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> </span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">onreply_route[INVSDP] {</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> if (af!=INET) {</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> exit;</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> }</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> if (has_body("application/sdp")) {</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> xlog("L_NOTICE", "INVSDP Route: Method: $rm"</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> " $ru To: $tu Recieved on: $Ri ID=$ci\n $mb\n");</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> </span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> rtpengine_answer();</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> }</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> route(REPLYALIAS);</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> exit;</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">}</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> </span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">onreply_route[INVNOSDP] {</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> if (af!=INET) {</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> exit;</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> }</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> if (has_body("application/sdp")) {</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> xlog("L_NOTICE", "INVNOSDP Route: Method: $rm"</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> " $ru To: $tu Recieved on: $Ri ID=$ci\n $mb\n");</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> </span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> </span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> if(src_ip == BACKEND_NET4) {</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> rtpengine_offer("direction=priv direction=pub ICE=remove");</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> } else {</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> rtpengine_offer("direction=pub direction=priv ICE=remove");</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> }</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> }</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> route(REPLYALIAS);</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> exit;</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">}</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> </span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span></p><div><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Best Regards</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Gerry Kernan</span></p></div><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span></p><div><div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> sr-users [mailto:<a href="mailto:sr-users-bounces@lists.kamailio.org" target="_blank" title="Send email to sr-users-bounces@lists.kamailio.org" class="mailto">sr-users-bounces@lists.kamailio.org</a>] <b>On Behalf Of </b>gerry kernan<br><b>Sent:</b> 23 March 2018 08:50<br><b>To:</b> 'Kamailio (SER) - Users Mailing List' <<a href="mailto:sr-users@lists.kamailio.org" target="_blank" title="Send email to sr-users@lists.kamailio.org" class="mailto">sr-users@lists.kamailio.org</a>><br><b>Subject:</b> Re: [SR-Users] <UNJUNKED> Re: Audio stops after resuming call from hold</span></p></div></div><div><div><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> </p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Hi Segriu</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">I think my issue is with rtpengine . I’m using direction parameter to set a LAN and WAN IP on the offer and I think it’s getting messed up during re-invites</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Best Regards</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Gerry Kernan</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> sr-users [<a href="mailto:sr-users-bounces@lists.kamailio.org" target="_blank" title="Send email to sr-users-bounces@lists.kamailio.org" class="mailto">mailto:sr-users-bounces@lists.kamailio.org</a>] <b>On Behalf Of </b>Sergiu Pojoga<br><b>Sent:</b> 23 March 2018 01:34<br><b>To:</b> Kamailio (SER) - Users Mailing List <<a href="mailto:sr-users@lists.kamailio.org" target="_blank" title="Send email to sr-users@lists.kamailio.org" class="mailto">sr-users@lists.kamailio.org</a>><br><b>Subject:</b> <UNJUNKED> Re: [SR-Users] Audio stops after resuming call from hold</span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> </p><div><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">OMG, what are the odds, a client reported the same problem today! Edge proxy running same 4.2.3, requests are forwarded to a farm of Asterisks v13 in a similar way based on $rd, far-end NAT traversal is handled by Kamailio.</p><div><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> </p></div><div><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">I've had only an hour or so to debug today. Re-invites containing SDP are handled the same way as invites in terms of SDP mangling, all looks good in that sense. There's nothing special to be done about re-invites.</p></div><div><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> </p></div><div><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Preliminary clue is that this happens (or not) depending on the type of firewall/NAT behind which the phone is located. In the case with the trouble, it's a Sonicwall, probably a Symmetric NAT. Is doesn't happen to a phone behind a Full/Restricted Cone NAT. </p></div><div><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> </p></div><div><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">What nat= are you setting for Asterisk peers?</p></div><div><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Do you engage rtpproxy/rtpengine?</p></div><div><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Any far-end NAT traversal manipulations involved such as SIP ALG or STUN?</p></div><div><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> </p></div><div><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Cheers.</p></div></div><div><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> </p><div><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">On Thu, Mar 22, 2018 at 3:55 PM, gerry kernan <<a href="mailto:gerry.kernan@infinityit.ie" target="_blank" title="Send email to gerry.kernan@infinityit.ie" class="mailto">gerry.kernan@infinityit.ie</a>> wrote:</p><blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt"><div><div><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Hi </p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> </p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Hoping someone can point me in the right direction.</p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">I have a Kamailio Ver: 4.2.3-1.1 running in front of a few asterisk servers Ver: 13.17.2 sip is routed to an asterisk server depending the domain name in the sip request, all working as expected . but if a call is put on hold after resuming the call the party that placed the call on hold can’t hear any audio. The other party can hear . do I need to do anything special to handle re-invites for calls put on hold?</p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> </p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> </p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span style="font-family:"Century Gothic",sans-serif;color:#4D4D4D">Gerry Kernan</span></b></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:"Century Gothic",sans-serif;color:gray"> </span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:"Century Gothic",sans-serif;color:gray"><img border="0" width="172" height="51" id="mcntm_3356021595017241306m_-3558173191276111519Picture_x0020_3" src="cid:image001.jpg@01D3C2BF.5400D880" alt="cid:image001.jpg@01D105A5.2701B0E0"></span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:"Century Gothic",sans-serif;color:gray"> </span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:115%"><b><span style="font-size:10.0pt;line-height:115%;font-family:"Century Gothic",sans-serif;color:#4D4D4D">Infinity IT | 17 The Mall | Beacon Court | Sandyford | Dublin D18 E3C8 | Ireland</span></b></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:115%"><b><span style="font-size:10.0pt;line-height:115%;font-family:"Century Gothic",sans-serif;color:#4D4D4D">Tel: +353 - (0)1 - 293 0090 | E-Mail: </span></b><span style="font-size:10.0pt;line-height:115%;font-family:"Century Gothic",sans-serif"><a href="mailto:gerry.kernan@infinityit.ie" target="_blank" title="Send email to gerry.kernan@infinityit.ie" class="mailto"><span style="color:#0563C1">gerry.kernan@infinityit.ie</span></a></span></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:115%"><b><span style="font-size:10.0pt;line-height:115%;font-family:"Century Gothic",sans-serif;color:red"> </span></b></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:115%"><b><span style="font-size:10.0pt;line-height:115%;font-family:"Century Gothic",sans-serif;color:red">Managed IT Services<u> </u>Infinity IT</span></b><span style="font-size:10.0pt;line-height:115%;font-family:"Century Gothic",sans-serif;color:red"> </span><span style="font-size:10.0pt;line-height:115%;font-family:"Century Gothic",sans-serif;color:#4D4D4D">- </span><a href="http://www.infinityit.ie/" target="_blank"><span style="font-size:10.0pt;line-height:115%;font-family:"Century Gothic",sans-serif;color:#0563C1">www.infinityit.ie</span></a></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:115%"><b><span style="font-size:10.0pt;line-height:115%;font-family:"Century Gothic",sans-serif;color:#767171">IP Telephony<u> </u>Asterisk Consulting</span></b><span style="font-size:10.0pt;line-height:115%;font-family:"Century Gothic",sans-serif;color:#767171"> </span><span style="font-size:10.0pt;line-height:115%;font-family:"Century Gothic",sans-serif;color:#4D4D4D">– </span><a href="http://www.asteriskconsulting.com" target="_blank"><span style="font-size:10.0pt;line-height:115%;font-family:"Century Gothic",sans-serif;color:#0563C1">www.asteriskconsulting.com</span></a></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:115%"><b><span style="font-size:10.0pt;line-height:115%;font-family:"Century Gothic",sans-serif;color:#FF8A15">Contact Centre<u> </u>Total Interact</span></b><span style="font-size:10.0pt;line-height:115%;font-family:"Century Gothic",sans-serif;color:#FFC000"> </span><span style="font-size:10.0pt;line-height:115%;font-family:"Century Gothic",sans-serif;color:#4D4D4D">– </span><a href="http://www.totalinteract.com" target="_blank"><span style="font-size:10.0pt;line-height:115%;font-family:"Century Gothic",sans-serif;color:#0563C1">www.totalinteract.com</span></a></p><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> </p></div></div><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;margin-bottom:12.0pt"><br>_______________________________________________<br>Kamailio (SER) - Users Mailing List<br><a href="mailto:sr-users@lists.kamailio.org" target="_blank" title="Send email to sr-users@lists.kamailio.org" class="mailto">sr-users@lists.kamailio.org</a><br><a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a></p></blockquote></div><p class="mcntMsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> </p></div></div></div></div></div><p class="mcntMsoNormal" style="margin-bottom:12.0pt"><br>_______________________________________________<br>Kamailio (SER) - Users Mailing List<br><a href="mailto:sr-users@lists.kamailio.org" title="Send email to sr-users@lists.kamailio.org" class="mailto" target="_blank">sr-users@lists.kamailio.org</a><br><a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a></p></blockquote></div><p class="mcntMsoNormal"> </p></div></div></div><br><br>_______________________________________________<br>Kamailio (SER) - Users Mailing List<br>sr-users@lists.kamailio.org<br>https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users<br></blockquote></div></div></body></html>