Hi Liviu,

Just found another similar related issue so thought I'd pop it on the same
thread.

$socket_in(af) returns INET or INET6 as expected but after passing through
$json it's numeric and 0 in both cases.

Redacted examples below. I'm on 3.1.1 from Debian/Ubuntu packages.

Thanks,
Alex

Feb  2 16:24:11 [1095] INVITE request from XX to XX received
Feb  2 16:24:11 [1095] AF is INET proto is udp
Feb  2 16:24:11 [1095] Making request to invite service...
Feb  2 16:24:11 [1095] Request is { "call_id": "XX", "ts": "2021-02-02
16:24:11Z", "src_ip": "XX", "src_port": 63412, "dst_ip": "XX", "dst_port":
5060, "dst_af": 0, "proto": "udp", "method": "INVITE", "sip_from":
"sip:XX", "sip_to": "sip:XX", "dialled": "XX" }

Feb  2 16:24:13 [1119] INVITE request from XX to XX received
Feb  2 16:24:13 [1119] AF is INET6 proto is udp
Feb  2 16:24:13 [1119] Making request to invite service...
Feb  2 16:24:13 [1119] Request is { "call_id": "XX", "ts": "2021-02-02
16:24:13Z", "src_ip": "XX", "src_port": 50505, "dst_ip": "XX", "dst_port":
5060, "dst_af": 0, "proto": "udp", "method": "INVITE", "sip_from":
"sip:XX", "sip_to": "sip:XX", "dialled": "XX" }


On Tue, 19 Jan 2021 at 17:22, Alex Kinch <a...@alexkinch.com> wrote:

> On Tue, 19 Jan 2021 at 17:17, Liviu Chircu <li...@opensips.org> wrote:
>
>
>> For 3.1, I think we're still in the right time window to backport this
>> fix without breaking any opensips.cfg files.
>
>
> I'm using 3.1 so quite happy with that proposal :) Thanks for the fast
> response and fix, much appreciated.
>
> Alex
>
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to