<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hello,</p>
<p>do you have in config an alias for myalias hostname?</p>
<p>alias=myalias<br>
</p>
Cheers,<br>
Daniel<br>
<br>
<div class="moz-cite-prefix">On 09.03.18 13:55, Nicolas Breuer
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:VI1PR0402MB359871EFC79BF443088EAE6C89DE0@VI1PR0402MB3598.eurprd04.prod.outlook.com">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
{mso-style-priority:99;
mso-style-link:"Texte brut Car";
margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.TextebrutCar
{mso-style-name:"Texte brut Car";
mso-style-priority:99;
mso-style-link:"Texte brut";
font-family:"Calibri",sans-serif;
mso-fareast-language:FR-BE;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoPlainText"><span style="mso-fareast-language:EN-US"
lang="EN-US">Ok i can understand that but why the behavior
is different between a hostname & an ip-address
</span><span style="font-family:"Segoe UI
Emoji",sans-serif;mso-fareast-language:EN-US"
lang="EN-US">😊</span><span
style="mso-fareast-language:EN-US" lang="EN-US"><o:p></o:p></span></p>
<p class="MsoPlainText"><span style="mso-fareast-language:EN-US"
lang="EN-US"><o:p>Â </o:p></span></p>
<p class="MsoPlainText"><span style="mso-fareast-language:EN-US"
lang="EN-US"><o:p>Â </o:p></span></p>
<p class="MsoPlainText"><span lang="FR">-----Message
d'origine-----<br>
De : Fred Posner [<a class="moz-txt-link-freetext" href="mailto:fred@palner.com">mailto:fred@palner.com</a>] <br>
Envoyé : vendredi 9 mars 2018 13:04<br>
À : Nicolas Breuer <a class="moz-txt-link-rfc2396E" href="mailto:Nicolas.Breuer@belcenter.biz"><Nicolas.Breuer@belcenter.biz></a><br>
Cc : Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-rfc2396E" href="mailto:sr-users@lists.kamailio.org"><sr-users@lists.kamailio.org></a><br>
Objet : Re: [SR-Users] From URI == Myself</span></p>
<p class="MsoPlainText"><o:p>Â </o:p></p>
<p class="MsoPlainText">If you're not listening or identifying
that IP and specific port as an alias, then yes, this is
expected. One reason why would be to run another program on
that port.
<o:p></o:p></p>
<p class="MsoPlainText"><o:p>Â </o:p></p>
<p class="MsoPlainText">Fred Posner<o:p></o:p></p>
<p class="MsoPlainText">direct: +1 (224) 334-FRED (3733)<o:p></o:p></p>
<p class="MsoPlainText"><o:p>Â </o:p></p>
<p class="MsoPlainText">> On Mar 9, 2018, at 6:52 AM, Nicolas
Breuer <<a href="mailto:Nicolas.Breuer@belcenter.biz"
moz-do-not-send="true"><span
style="color:windowtext;text-decoration:none">Nicolas.Breuer@belcenter.biz</span></a>>
wrote:<o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText">>
--_000_VI1PR0402MB359898CF4C2CDFCD4EBA5DA189DE0VI1PR0402MB3598_<o:p></o:p></p>
<p class="MsoPlainText">> Content-Type: text/plain;
charset="us-ascii"<o:p></o:p></p>
<p class="MsoPlainText">> Content-Transfer-Encoding:
quoted-printable<o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText">> Hello the List,<o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText">> I saw a strange behavior on the
last Kamailio v4.<o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText">> The Kamailio is binding on port
5060.<o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText">> If (from_uri=3D=3Dmyself){<o:p></o:p></p>
<p class="MsoPlainText">> ......<o:p></o:p></p>
<p class="MsoPlainText">> }<o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText">>Â *Â Â When the From uri in the
INVITE is <xxxx@myalias:5070><o:p></o:p></p>
<p class="MsoPlainText">>Â *Â Â When the myalias is an alias
> No issue the IF routine is executed.<o:p></o:p></p>
<p class="MsoPlainText">>Â *Â Â When the myalias is the ip
address of the server > The IF Routine is =<o:p></o:p></p>
<p class="MsoPlainText">> NOT executed because there is a
mismatch in the port (5060 >< 5070)<o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText">> Is it the expected behavior ?<o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText">> Thanks<o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText">>
--_000_VI1PR0402MB359898CF4C2CDFCD4EBA5DA189DE0VI1PR0402MB3598_<o:p></o:p></p>
<p class="MsoPlainText">> Content-Type: text/html;
charset="us-ascii"<o:p></o:p></p>
<p class="MsoPlainText">> Con<o:p></o:p></p>
<p class="MsoPlainText"><o:p>Â </o:p></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - April 16-18, 2018, Berlin - <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
Kamailio World Conference - May 14-16, 2018 - <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a></pre>
</body>
</html>