[asterisk-bugs] [JIRA] (ASTERISK-26860) netsock2.c:210 ast_sockaddr_split_hostport: Port missing in (null)

Evers Lab (JIRA) noreply at issues.asterisk.org
Fri Mar 24 11:34:10 CDT 2017


    [ https://issues.asterisk.org/jira/browse/ASTERISK-26860?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=236111#comment-236111 ] 

Evers Lab commented on ASTERISK-26860:
--------------------------------------

sip.conf
[my-astrfe01]
type=friend
host=10.20.10.20
insecure=port,invite
nat=no
dtmfmode=auto
disallow=all
allow=alaw
canreinvite=no
qualify=yes
context=callcentre-be-in

[1000]
username=1000
secret=**********
type=friend
host=dynamic
nat=no
dtmfmode=auto
disallow=all
allow=alaw
canreinvite=no
qualify=4000
context=test
insecure=port,invite
deny=0.0.0.0/0.0.0.0
permit=10.10.14.0/24
callcounter=yes
busylevel=1

__________________________________________________________


[callcentre-be-in]
exten => 0440000000,1,Goto(test1000,1000,1)

[test1000]
exten => 1000,1,NoOp()
same => n,Dial(SIP/1000,,tT)
same => n,Hangup

________________________________________________________________

CLI 

my-astrbe03*CLI>
my-astrbe03*CLI>
my-astrbe03*CLI>
  == Using SIP RTP CoS mark 5
    -- Executing [0440000000 at callcentre-be-in:1] Goto("SIP/my-astrfe01-0000000c", "test1000,1000,1") in new stack
    -- Goto (test1000,1000,1)
    -- Executing [1000 at test1000:1] NoOp("SIP/my-astrfe01-0000000c", "") in new stack
    -- Executing [1000 at test1000:2] Dial("SIP/my-astrfe01-0000000c", "SIP/1000,,tT") in new stack
  == Using SIP RTP CoS mark 5
    -- Called SIP/1000
    -- SIP/1000-0000000d is ringing
    -- SIP/1000-0000000d is ringing
    -- SIP/1000-0000000d redirecting info has changed, passing it to SIP/my-astrfe01-0000000c
    -- SIP/1000-0000000d is busy
  == Everyone is busy/congested at this time (1:1/0/0)
    -- Executing [1000 at test1000:3] Hangup("SIP/my-astrfe01-0000000c", "") in new stack
  == Spawn extension (test1000, 1000, 3) exited non-zero on 'SIP/my-astrfe01-0000000c'
  == Using SIP RTP CoS mark 5
    -- Executing [0440000000 at callcentre-be-in:1] Goto("SIP/my-astrfe01-0000000e", "test1000,1000,1") in new stack
    -- Goto (test1000,1000,1)
    -- Executing [1000 at test1000:1] NoOp("SIP/my-astrfe01-0000000e", "") in new stack
    -- Executing [1000 at test1000:2] Dial("SIP/my-astrfe01-0000000e", "SIP/1000,,tT") in new stack
  == Using SIP RTP CoS mark 5
    -- Called SIP/1000
    -- SIP/1000-0000000f is ringing
[Mar 24 18:12:47] WARNING[2559]: netsock2.c:210 ast_sockaddr_split_hostport: Port missing in (null)
       > 0x7fd9bc0075b0 -- Probation passed - setting RTP source address to 10.10.10.15:20344
    -- SIP/1000-0000000f answered SIP/my-astrfe01-0000000e
    -- Channel SIP/1000-0000000f joined 'simple_bridge' basic-bridge <ac76dbc0-89e4-4357-a749-d3a052ddc8c0>
       > 0x7fd9bc0075b0 -- Probation passed - setting RTP source address to 10.10.10.15:20344
    -- Channel SIP/my-astrfe01-0000000e joined 'simple_bridge' basic-bridge <ac76dbc0-89e4-4357-a749-d3a052ddc8c0>
       > 0x7fd910025590 -- Probation passed - setting RTP source address to 10.20.10.20:11274
[Mar 24 18:12:49] NOTICE[2550]: chan_sip.c:28276 handle_request_subscribe: Received SIP subscribe for peer without mailbox: 1000
    -- Started music on hold, class 'default', on channel 'SIP/my-astrfe01-0000000e'
       > 0x7fd9bc0075b0 -- Probation passed - setting RTP source address to 10.10.10.15:20344
[Mar 24 18:12:53] WARNING[2559]: netsock2.c:210 ast_sockaddr_split_hostport: Port missing in (null)
[Mar 24 18:12:56] WARNING[2559]: netsock2.c:210 ast_sockaddr_split_hostport: Port missing in (null)
[Mar 24 18:12:59] WARNING[2559]: netsock2.c:210 ast_sockaddr_split_hostport: Port missing in (null)
[Mar 24 18:13:02] WARNING[2559]: netsock2.c:210 ast_sockaddr_split_hostport: Port missing in (null)
[Mar 24 18:13:05] WARNING[2559]: netsock2.c:210 ast_sockaddr_split_hostport: Port missing in (null)
[Mar 24 18:13:08] WARNING[2559]: netsock2.c:210 ast_sockaddr_split_hostport: Port missing in (null)
[Mar 24 18:13:11] WARNING[2559]: netsock2.c:210 ast_sockaddr_split_hostport: Port missing in (null)
[Mar 24 18:13:14] WARNING[2559]: netsock2.c:210 ast_sockaddr_split_hostport: Port missing in (null)
my-astrbe03*CLI>


> netsock2.c:210 ast_sockaddr_split_hostport: Port missing in (null)
> ------------------------------------------------------------------
>
>                 Key: ASTERISK-26860
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26860
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>    Affects Versions: 13.14.0
>         Environment: CentOS7
>            Reporter: Evers Lab
>            Assignee: Evers Lab
>            Severity: Minor
>
> When the call arrives to the Queue and listens to music on hold, the console continually gives an error. When the agent answers the call, the error stops



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



More information about the asterisk-bugs mailing list