[asterisk-bugs] [JIRA] (ASTERISK-28367) Servname not supported for ai_socktype / Could not resolve socket address

Raul Chiarella (JIRA) noreply at issues.asterisk.org
Mon Apr 1 15:49:47 CDT 2019


Raul Chiarella created ASTERISK-28367:
-----------------------------------------

             Summary: Servname not supported for ai_socktype / Could not resolve socket address
                 Key: ASTERISK-28367
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28367
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Channels/chan_sip/General
    Affects Versions: 13.24.1
         Environment: Asterisk 13.24.1 CentOS 7 
            Reporter: Raul Chiarella


Where X.X.X.X is my IP Address,

netsock2.c:305 ast_sockaddr_resolve: getaddrinfo("X.X.X.X", "5060branch=z9hG4bK-d87543-fd7c5e7dbc5b1b52-1--d87543-", ...): Servname not supported for ai_socktype

chan_sip.c:19021 check_via: Could not resolve socket address for 'X.X.X.X:5060branch=z9hG4bK-d87543-fd7c5e7dbc5b1b52-1--d87543-'
Sending to X.X.X.X:5060 (NAT)

This happens because the Source ( MicroSIP / XLite / EyeBeam and other softphones - Except for Zoiper 5, it did'nt happened with Zoiper 5 ) did'nt include the ; after the IP:PORT

Log ( Zoiper 5 and MicroSIP / EyeBeam compared ):

MicroSIP ( Error ):  Via: SIP/2.0/UDP X.X.X.X:5060rport;branch=z9hG4bKPj3ee85d5343ed4f32977e90636290d564

EyeBeam ( Error ): Via: SIP/2.0/UDP X.X.X.X:5060branch=z9hG4bK-d87543-e70b013bc501015a-1--d87543-;rport

Zoiper 5 ( OK ) :
Via: SIP/2.0/UDP X.X.X.X:38353;branch=z9hG4bK-524287-1---0e6b7691ba41fb4a;rport

Also MicroSIP on another network ( OK ):
Via: SIP/2.0/UDP X.X.X.X:5060;branch=z9hG4bKPjc28765bbf301467b8048ee338272af06;rport



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list