I believe Address Family (AF) 2 is IPv6 [1].

The protocol number is not the index of the listener, it refers to the actual 
protocol being used. I think that proto 3 in OpenSIPS is TLS, but I don’t have 
a reference for that one.

So the error is saying you are attempting to send a message to an IPv6 address 
using TLS, but you have no listener defined for that combination.

[1] - 
https://www.iana.org/assignments/address-family-numbers/address-family-numbers.xhtml

Ben Newlin

From: Devel <[email protected]> on behalf of Donat Zenichev 
<[email protected]>
Reply-To: OpenSIPS devel mailling list <[email protected]>
Date: Monday, April 8, 2019 at 8:39 AM
To: "[email protected]" <[email protected]>
Subject: [OpenSIPS-Devel] PROTO numbers

Hi there.
Lately I came across such messages in opensips logs:

"ERROR:tm:update_uac_dst: failed to fwd to af 2, proto 3 (no corresponding 
listening socket)"

The error is pretty descriptive and says that certain request is unable to be 
forwarded, since of absence of needed socket. But I cannot get what means:

"to af 2" - I found, that it's a member of this structure 
uac->request.dst.to.s.sa_family   ,
but still no wonder what means number "2".

And "proto 3" - does it correlate to a number of a listener defined in my 
openips configuration file? And if yes, does the count starts at 0 or at 1 ?

Thanks for help in advance!





--
--
BR, Donat Zenichev
_______________________________________________
Devel mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

Reply via email to