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, <raz...@opensips.org
<mailto:raz...@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-boun...@lists.opensips.org
<mailto:users-boun...@lists.opensips.org>> On Behalf Of vasilevalex
> Sent: Wednesday, January 30, 2019 8:13 AM
> To: users@lists.opensips.org <mailto:users@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@lists.opensips.org <mailto:Users@lists.opensips.org>
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
> _______________________________________________
> Users mailing list
> Users@lists.opensips.org <mailto:Users@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@lists.opensips.org <mailto:Users@lists.opensips.org>
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
Users@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@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users