[asterisk-bugs] [JIRA] (ASTERISK-19192) ERROR we couldn't allocate a port for RTP instance

Joshua Colp (JIRA) noreply at issues.asterisk.org
Thu Jul 14 13:05:57 CDT 2016


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

Joshua Colp commented on ASTERISK-19192:
----------------------------------------

[~smcgowan] Please open a new issue. It may have the same symptoms but the issue here was fixed long ago.

> ERROR we couldn't allocate a port for RTP instance
> --------------------------------------------------
>
>                 Key: ASTERISK-19192
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-19192
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_rtp_asterisk
>    Affects Versions: 1.8.8.1
>            Reporter: Tyuta Vitalii
>            Assignee: Tyuta Vitalii
>            Severity: Blocker
>         Attachments: ASTERISK-19192.patch, issue_19192_full_log.7z
>
>
> Good afternoon. Once a day there's a problem and asterisk stops processing calls:
> [Jan 12 12:41:01] ERROR[28213] res_rtp_asterisk.c: Oh dear... we couldn't allocate a port for RTP instance '0x7f0c981f8d28'
> [Jan 12 12:41:35] ERROR[28216] res_rtp_asterisk.c: Oh dear... we couldn't allocate a port for RTP instance '0x12b8818'
> [Jan 12 12:41:41] ERROR[25298] res_rtp_asterisk.c: Oh dear... we couldn't allocate a port for RTP instance '0x7f0ca0538218'
> If you look at when the server is working properly, that is strange::
> {noformat}
> CLI> sip show channels
> Peer             User/ANR         Call ID          Format           Hold     Last Message    Expiry     Peer
> 192.168.254.95   (None)           b6d1d2d4-afa76a  0x0 (nothing)    No       Rx: NOTIFY                 <guest>
> 192.168.250.107  7306             5922             0x200000000 (sp  No       Rx: ACK                    7306
> 212.53.40.40     78314142019      666b8e9348f9b60  0x8 (alaw)       No       Tx: ACK                    sipnet
> 192.168.254.75   (None)           ec5f0901-6b5631  0x0 (nothing)    No       Rx: NOTIFY                 <guest>
> 192.168.245.81   (None)           18391270948646-  0x0 (nothing)    No       Rx: REGISTER               <guest>
> 192.168.250.111  (None)           13f78bd1c5b582a  0x0 (nothing)    No       Rx: REGISTER               <guest>
> 192.168.254.33   (None)           37b30012763ae7e  0x0 (nothing)    No       Rx: REGISTER               <guest>
> 192.168.250.109  7304             acdf1de6-1106-1  0x200200000 (sp  No       Rx: ACK                    7304
> 192.168.245.74   (None)           5710313997309-2  0x0 (nothing)    No       Rx: REGISTER               <guest>
> 192.168.250.108  (None)           27588            0x0 (nothing)    No       Rx: REGISTER               <guest>
> 78.46.95.118     380679754572     4786e4cd0c9f03f  0x8 (alaw)       No       Tx: INVITE                 zadarma_ua
> 192.168.254.96   (None)           eac1fa18-aa31ce  0x0 (nothing)    No       Rx: NOTIFY                 <guest>
> 192.168.250.74   (None)           f2347a64-dc52a8  0x0 (nothing)    No       Rx: NOTIFY                 <guest>
> 192.168.254.97   (None)           34a5d163-618d67  0x0 (nothing)    No       Rx: NOTIFY                 <guest>
> 192.168.245.80   (None)           294091669921902  0x0 (nothing)    No       Rx: OPTIONS                <guest>
> 192.168.250.75   (None)           632a5364-bae66b  0x0 (nothing)    No       Rx: NOTIFY                 <guest>
> 192.168.245.77   (None)           23185318496852-  0x0 (nothing)    No       Rx: REGISTER               <guest>
> 192.168.250.103  (None)           28354            0x0 (nothing)    No       Rx: REGISTER               <guest>
> 192.168.245.73   (None)           23851116934316-  0x0 (nothing)    No       Rx: REGISTER               <guest>
> 19 active SIP dialogs
> {noformat}
> {noformat}
> netstat -lup | grep 10
> (Not all processes could be identified, non-owned process info
>  will not be shown, you would have to be root to see it all.)
> udp        0      0 *:10218                 *:*                                 -
> udp     3600      0 *:10346                 *:*                                 -
> udp        0      0 *:10219                 *:*                                 -
> udp        0      0 *:10347                 *:*                                 -
> udp     3960      0 *:10092                 *:*                                 -
> udp        0      0 *:10093                 *:*                                 -
> udp     3600      0 *:10224                 *:*                                 -
> udp        0      0 *:10225                 *:*                                 -
> udp     3600      0 *:10356                 *:*                                 -
> udp        0      0 *:10357                 *:*                                 -
> udp     3960      0 *:10360                 *:*                                 -
> udp        0      0 *:10361                 *:*                                 -
> udp     3600      0 *:10362                 *:*                                 -
> udp        0      0 *:10363                 *:*                                 -
> udp     3600      0 *:10368                 *:*                                 -
> udp        0      0 *:10369                 *:*                                 -
> udp     3240      0 *:10370                 *:*                                 -
> udp        0      0 *:10371                 *:*                                 -
> udp     3960      0 *:10246                 *:*                                 -
> udp        0      0 *:10247                 *:*                                 -
> udp        0      0 *:10248                 *:*                                 -
> udp        0      0 *:10249                 *:*                                 -
> udp     3600      0 *:10378                 *:*                                 -
> udp     3600      0 *:10250                 *:*                                 -
> udp        0      0 *:10379                 *:*                                 -
> udp        0      0 *:10251                 *:*                                 -
> udp     3600      0 *:10252                 *:*                                 -
> udp     3600      0 *:10124                 *:*                                 -
> udp        0      0 *:10253                 *:*                                 -
> udp        0      0 *:10125                 *:*                                 -
> udp        0      0 *:10382                 *:*                                 -
> udp        0      0 *:10383                 *:*                                 -
> udp     3600      0 *:10002                 *:*                                 -
> udp        0      0 *:10003                 *:*                                 -
> udp     3600      0 *:10268                 *:*                                 -
> udp     3600      0 *:10396                 *:*                                 -
> udp        0      0 *:10269                 *:*                                 -
> udp        0      0 *:10397                 *:*                                 -
> udp     3240      0 *:10270                 *:*                                 -
> udp        0      0 *:10271                 *:*                                 -
> udp     3600      0 *:10144                 *:*                                 -
> udp        0      0 *:10145                 *:*                                 -
> udp     3600      0 *:10018                 *:*                                 -
> udp        0      0 *:10019                 *:*                                 -
> udp     3600      0 *:10278                 *:*                                 -
> udp     3600      0 *:10150                 *:*                                 -
> udp        0      0 *:10279                 *:*                                 -
> udp        0      0 *:10151                 *:*                                 -
> udp     3600      0 *:10280                 *:*                                 -
> udp        0      0 *:10281                 *:*                                 -
> udp     3600      0 *:10026                 *:*                                 -
> udp        0      0 *:10027                 *:*                                 -
> udp     3600      0 *:10158                 *:*                                 -
> udp        0      0 *:10159                 *:*                                 -
> udp     3960      0 *:10160                 *:*                                 -
> udp        0      0 *:10161                 *:*                                 -
> udp     3600      0 *:10034                 *:*                                 -
> udp     3960      0 *:10290                 *:*                                 -
> udp        0      0 *:10035                 *:*                                 -
> udp        0      0 *:10291                 *:*                                 -
> udp     3600      0 *:10292                 *:*                                 -
> udp        0      0 *:10293                 *:*                                 -
> udp     3240      0 *:10294                 *:*                                 -
> udp        0      0 *:10295                 *:*                                 -
> udp     3600      0 *:10040                 *:*                                 -
> udp        0      0 *:10041                 *:*                                 -
> udp     3240      0 *:10042                 *:*                                 -
> udp        0      0 *:10043                 *:*                                 -
> udp     3600      0 *:10300                 *:*                                 -
> udp     3960      0 *:10044                 *:*                                 -
> udp        0      0 *:10301                 *:*                                 -
> udp        0      0 *:10045                 *:*                                 -
> udp     3960      0 *:10302                 *:*                                 -
> udp     3600      0 *:10174                 *:*                                 -
> udp     3960      0 *:10046                 *:*                                 -
> udp        0      0 *:10303                 *:*                                 -
> udp        0      0 *:10175                 *:*                                 -
> udp        0      0 *:10047                 *:*                                 -
> udp     3600      0 *:10306                 *:*                                 -
> udp        0      0 *:10307                 *:*                                 -
> udp     3600      0 *:10052                 *:*                                 -
> udp     3600      0 *:10180                 *:*                                 -
> udp        0      0 *:10053                 *:*                                 -
> udp        0      0 *:10181                 *:*                                 -
> udp     3600      0 *:10310                 *:*                                 -
> udp     3600      0 *:10182                 *:*                                 -
> udp        0      0 *:10311                 *:*                                 -
> udp        0      0 *:10183                 *:*                                 -
> udp     3600      0 *:10184                 *:*                                 -
> udp        0      0 *:10185                 *:*                                 -
> udp     3600      0 *:10186                 *:*                                 -
> udp        0      0 *:10187                 *:*                                 -
> udp     3600      0 *:10188                 *:*                                 -
> udp        0      0 *:10189                 *:*                                 -
> udp     3600      0 *:10190                 *:*                                 -
> udp        0      0 *:10191                 *:*                                 -
> udp     3600      0 *:10192                 *:*                                 -
> udp     3600      0 *:10320                 *:*                                 -
> udp        0      0 *:10193                 *:*                                 -
> udp        0      0 *:10321                 *:*                                 -
> udp     3600      0 *:10322                 *:*                                 -
> udp        0      0 *:10323                 *:*                                 -
> udp     3240      0 *:10326                 *:*                                 -
> udp     3600      0 *:10070                 *:*                                 -
> udp        0      0 *:10327                 *:*                                 -
> udp        0      0 *:10071                 *:*                                 -
> udp     3240      0 *:10200                 *:*                                 -
> udp        0      0 *:10201                 *:*                                 -
> udp     3600      0 *:10202                 *:*                                 -
> udp        0      0 *:10203                 *:*                                 -
> udp     3600      0 *:10332                 *:*                                 -
> udp     3960      0 *:10204                 *:*                                 -
> udp        0      0 *:10333                 *:*                                 -
> udp        0      0 *:10205                 *:*                                 -
> udp     3600      0 *:10334                 *:*                                 -
> udp        0      0 *:10335                 *:*                                 -
> udp     3600      0 *:10336                 *:*                                 -
> udp        0      0 *:10337                 *:*                                 -
> udp     3240      0 *:10082                 *:*                                 -
> udp        0      0 *:10083                 *:*                                 -
> udp     3600      0 *:10084                 *:*                                 -
> udp        0      0 *:10085                 *:*                                 -
> udp     3960      0 *:10216                 *:*                                 -
> udp        0      0 *:10217                 *:*                                 -
> {noformat}
> /etc/asterisk/rtp.conf
> [general]
> rtpstart=10000
> rtpend=10400



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



More information about the asterisk-bugs mailing list