[SR-Users] From URI == Myself

Daniel-Constantin Mierla miconda at gmail.com
Fri Mar 9 16:06:45 CET 2018


Hello,

do you have in config an alias for myalias hostname?

alias=myalias

Cheers,
Daniel

On 09.03.18 13:55, Nicolas Breuer wrote:
>
> Ok i can understand that but why the behavior is different between a
> hostname & an ip-address 😊
>
>  
>
>  
>
> -----Message d'origine-----
> De : Fred Posner [mailto:fred at palner.com]
> Envoyé : vendredi 9 mars 2018 13:04
> À : Nicolas Breuer <Nicolas.Breuer at belcenter.biz>
> Cc : Kamailio (SER) - Users Mailing List <sr-users at lists.kamailio.org>
> Objet : Re: [SR-Users] From URI == Myself
>
>  
>
> 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.
>
>  
>
> Fred Posner
>
> direct: +1 (224) 334-FRED (3733)
>
>  
>
> > On Mar 9, 2018, at 6:52 AM, Nicolas Breuer
> <Nicolas.Breuer at belcenter.biz <mailto:Nicolas.Breuer at belcenter.biz>>
> wrote:
>
> >
>
> > --_000_VI1PR0402MB359898CF4C2CDFCD4EBA5DA189DE0VI1PR0402MB3598_
>
> > Content-Type: text/plain; charset="us-ascii"
>
> > Content-Transfer-Encoding: quoted-printable
>
> >
>
> > Hello the List,
>
> >
>
> > I saw a strange behavior on the last Kamailio v4.
>
> >
>
> > The Kamailio is binding on port 5060.
>
> >
>
> > If (from_uri=3D=3Dmyself){
>
> > ......
>
> > }
>
> >
>
> >
>
> >  *   When the From uri in the INVITE is <xxxx at myalias:5070>
>
> >  *   When the myalias is an alias > No issue the IF routine is executed.
>
> >  *   When the myalias is the ip address of the server > The IF
> Routine is =
>
> > NOT executed because there is a mismatch in the port (5060 >< 5070)
>
> >
>
> >
>
> > Is it the expected behavior ?
>
> >
>
> > Thanks
>
> >
>
> >
>
> >
>
> >
>
> >
>
> >
>
> > --_000_VI1PR0402MB359898CF4C2CDFCD4EBA5DA189DE0VI1PR0402MB3598_
>
> > Content-Type: text/html; charset="us-ascii"
>
> > Con
>
>  
>
>
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - April 16-18, 2018, Berlin - www.asipto.com
Kamailio World Conference - May 14-16, 2018 - www.kamailioworld.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180309/d1147471/attachment.html>


More information about the sr-users mailing list