[OpenSIPS-Users] topology_hiding : ACK has extra via header.

Johan De Clercq Johan at democon.be
Thu Jan 31 07:30:27 EST 2019


I will send this evening a small trace.

On Thu, 31 Jan 2019, 13:27 Răzvan Crainea, <razvan at opensips.org> wrote:

> Can you upload somewhere a SIP trace, so we can understand the setup and
> SIP flow.
> Also, is the VIA appearing only in ACK, or in INVITE too?
>
> Best regards,
> Razvan
>
> On 1/31/19 2:21 PM, Johan De Clercq wrote:
> > 2 different ones and I use 244
> >
> > On Thu, 31 Jan 2019, 13:20 Răzvan Crainea, <razvan at opensips.org
> > <mailto:razvan at opensips.org>> wrote:
> >
> >     Hi, Johan!
> >
> >     Are there two identical via headers, or only one?
> >     What is the OpenSIPS version you are using?
> >
> >     Best regards,
> >     Răzvan
> >
> >     On 1/30/19 9:27 PM, johan de clercq wrote:
> >      > Hi,
> >      >
> >      > I found it :
> >      >
> >      > 1. This code results in having only one VIA header:
> >      >      ##initial INVITE
> >      >      if (is_method("INVITE") && !has_totag())
> >      >      {
> >      >          xlog("callid=$ci: Route[0]: initial INVITE is coming in
> >     from A: $fU to B: $rU");
> >      >          xlog("callid=$ci: Route[0]: let's do accounting first");
> >      >          do_accounting("db","cdr");
> >      >          topology_hiding();
> >      >
> >      > 2. The code resulting in 2 VIA headers:
> >      >      ##initial INVITE
> >      >      if (is_method("INVITE") && !has_totag())
> >      >      {
> >      >          xlog("callid=$ci: Route[0]: initial INVITE is coming in
> >     from A: $fU to B: $rU");
> >      >          xlog("callid=$ci: Route[0]: let's do accounting first");
> >      >          topology_hiding();
> >      >          do_accounting("db","cdr");
> >      >
> >      > Is this now a bug or can somebody please explain why the code in
> >     2 results in 2 VIA headers ?
> >      >
> >      > -----Original Message-----
> >      > From: Users <users-bounces at lists.opensips.org
> >     <mailto:users-bounces at lists.opensips.org>> On Behalf Of vasilevalex
> >      > Sent: Wednesday, January 30, 2019 8:13 AM
> >      > To: users at lists.opensips.org <mailto:users at lists.opensips.org>
> >      > Subject: Re: [OpenSIPS-Users] topology_hiding : ACK has extra via
> >     header.
> >      >
> >      > Hi Johan,
> >      >
> >      > We are using topology_hiding in tm mode.
> >      > I've checked your case, ACK has only one VIA header.
> >      >
> >      > What about BYE from the phone (if phone ends call)? Does it has
> >     extra VIA?
> >      > Do you use dialog or tm mode for topology hiding?
> >      >
> >      >
> >      >
> >      > -----
> >      > ---
> >      > Alexey Vasilyev
> >      > --
> >      > Sent from:
> >
> http://opensips-open-sip-server.1449251.n2.nabble.com/OpenSIPS-Users-f1449235.html
> >      >
> >      > _______________________________________________
> >      > Users mailing list
> >      > Users at lists.opensips.org <mailto:Users at lists.opensips.org>
> >      > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> >      >
> >      >
> >      > _______________________________________________
> >      > Users mailing list
> >      > Users at lists.opensips.org <mailto:Users at lists.opensips.org>
> >      > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> >      >
> >
> >     --
> >     Răzvan Crainea
> >     OpenSIPS Core Developer
> >     http://www.opensips-solutions.com
> >     Meet the OpenSIPS team at the next OpenSIPS Summit:
> >     https://www.opensips.org/events
> >
> >     _______________________________________________
> >     Users mailing list
> >     Users at lists.opensips.org <mailto:Users at lists.opensips.org>
> >     http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> >
> >
> > _______________________________________________
> > Users mailing list
> > Users at lists.opensips.org
> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> >
>
> --
> Răzvan Crainea
> OpenSIPS Core Developer
>    http://www.opensips-solutions.com
> Meet the OpenSIPS team at the next OpenSIPS Summit:
>    https://www.opensips.org/events
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20190131/ad3861a2/attachment.html>


More information about the Users mailing list