<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 2/18/15 9:44 PM, Will Ferrer wrote:<br>
</div>
<blockquote
cite="mid:CA+pifNQZNF490sg59A8BCc6TBt7RpuegAANPdLZ6wbik4pqTxQ@mail.gmail.com"
type="cite">
<div dir="ltr">Hi Alex
<div><br>
</div>
<div>Thanks so much for the reply.</div>
<div><br>
</div>
<div>Is there anything that we could do perhaps that is a more
creative solution, for instance not passing the re-invite all
the way to the softphone and just responding from the kamailio
box handling the call?</div>
<div><br>
</div>
<div>We tried this as well actually, but we didn't get it to
work. We just sent a 200 ok from the kamailio box, no sdp or
anything on the packet since we sent it with just send_reply
and the carrier just sent a bye.</div>
<div><br>
</div>
<div>Hopefully there is something clever we could do to correct
the problem, it is preventing us from using alot of our
carriers since the re-invite breaks our clients softphones.</div>
<div><br>
</div>
<div>Thanks again for the assistance.</div>
</div>
</blockquote>
We have struggled with this issue ourselves. The problem was that
we did not want our SIP server to behave like an open relay. We
were seeing that the session-timer Re-Invites have a Request-URI
with the IP of the other<br>
endpoint instead of the Proxy. If the SIP server is an open relay
then no problem, but ours is not so the config file was very strict
and dropped the Re-Invite (since the Request-URI had an external IP)
thus dropping the call. The config file could be enhanced by
testing for has_totag() since the Re-Invite has the totag but an
original Invite does not, but the hacker could put a bogus totag and
make calls so its more secure to leave it this way. We ended up
disabling session-timers at some our clients PBXs. Its always a
balancing act between convenience/services and more security. We
chose more security.
<blockquote
cite="mid:CA+pifNQZNF490sg59A8BCc6TBt7RpuegAANPdLZ6wbik4pqTxQ@mail.gmail.com"
type="cite">
<div dir="ltr">
<div><br>
</div>
<div>All the best.</div>
<div><br>
</div>
<div>Will Ferrer</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Wed, Feb 18, 2015 at 6:07 PM, Alex
Balashov <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:abalashov@evaristesys.com" target="_blank">abalashov@evaristesys.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div
style="background-color:rgb(255,255,255);line-height:initial">
<div
style="width:100%;font-size:initial;font-family:Calibri,'Slate
Pro',sans-serif;color:rgb(31,73,125);text-align:initial;background-color:rgb(255,255,255)">Kamailio
cannot correct this. This is an endpoint issue. The
whole point of Record-Route is to hairpin sequential
requests (and indeed, their replies) through the proxy.
The endpoints need to comply by affixing the correct
Route header to the end-to-end ACK.</div>
<div
style="width:100%;font-size:initial;font-family:Calibri,'Slate
Pro',sans-serif;color:rgb(31,73,125);text-align:initial;background-color:rgb(255,255,255)"><br
style="display:initial">
</div>
<div style="font-size:initial;font-family:Calibri,'Slate
Pro',sans-serif;color:rgb(31,73,125);text-align:initial;background-color:rgb(255,255,255)">--<br>
Sent from my BlackBerry. Please excuse errors and brevity.<br>
</div>
<table style="background-color:white;border-spacing:0px"
width="100%">
<tbody>
<tr>
<td colspan="2"
style="font-size:initial;text-align:initial;background-color:rgb(255,255,255)">
<div style="border-style:solid none
none;border-top-color:rgb(181,196,223);border-top-width:1pt;padding:3pt
0in 0in;font-family:Tahoma,'BB Alpha
Sans','Slate Pro';font-size:10pt">
<div><b>From: </b>Will Ferrer</div>
<div><b>Sent: </b>Wednesday, February 18, 2015
9:01 PM</div>
<div><b>To: </b>Kamailio (SER) - Users Mailing
List</div>
<div><b>Reply To: </b>Kamailio (SER) - Users
Mailing List</div>
<div><b>Subject: </b>[SR-Users] Re-invites from
carrier breaks the call</div>
</div>
</td>
</tr>
</tbody>
</table>
<div>
<div class="h5"><br>
<div>
<div dir="ltr">Hi All
<div><br>
</div>
<div>We have any issue with re invites coming from
the carrier.</div>
<div><br>
</div>
<div>When a reinvite occurs, our softphone client
gets the invite, sends a 100, and then sends 200
ok. However the 200 ok does not have the
softphones ip in the record route. Since it's
not in the record route the ack from the carrier
never makes it's way all the back to the
softphone.</div>
<div><br>
</div>
<div>This causes the softphone to keep sending 200
oks since it never gets the ack.</div>
<div><br>
</div>
<div>Eventually the softphone gets tired of
sending 200 oks and sends a bye.</div>
<div><br>
</div>
<div>Is there any way that Kamailio can help me
correct for this, or do we need to have our
clients use different softphones? If it has to
be handled via softphones is there even a
softphone that can account for this?</div>
<div><br>
</div>
<div>Thanks for all your assistance in advance.</div>
<div><br>
All the best.</div>
<div><br>
</div>
<div>Will Ferrer</div>
<div><br>
</div>
<div>Switchsoft</div>
<div><br>
</div>
<div><br>
</div>
</div>
<br>
</div>
</div>
</div>
</div>
<br>
_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users
mailing list<br>
<a moz-do-not-send="true"
href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a moz-do-not-send="true"
href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users"
target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Technical Support
<a class="moz-txt-link-freetext" href="http://www.cellroute.net">http://www.cellroute.net</a></pre>
</body>
</html>