[asterisk-bugs] [Asterisk 0018670]: chan_h323.c:977 __oh323_rtp_create: Unable to create RTP session: Address family not supported by protocol

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Jan 25 03:40:47 CST 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18670 
====================================================================== 
Reported By:                dread
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18670
Category:                   Channels/chan_h323
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           1.8.2.2 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2011-01-24 14:56 CST
Last Modified:              2011-01-25 03:40 CST
====================================================================== 
Summary:                    chan_h323.c:977 __oh323_rtp_create: Unable to create
RTP session: Address family not supported by protocol
Description: 


[Jan 20 19:10:46] WARNING[9920]: res_rtp_asterisk.c:422 create_new_socket:
Unable to allocate RTP socket: Address family not supported by protocol
[Jan 20 19:10:46] WARNING[9920]: chan_h323.c:977 __oh323_rtp_create:
Unable to create RTP session: Address family not supported by protocol
====================================================================== 

---------------------------------------------------------------------- 
 (0130987) mthawk (reporter) - 2011-01-25 03:40
 https://issues.asterisk.org/view.php?id=18670#c130987 
---------------------------------------------------------------------- 
Have the same trouble.

*CLI> h323 show version
*CLI> H.323 version: 1.18.0
*CLI> core show version
Asterisk 1.8.1.1 built by root @ asterisk on a i686 running Linux on
2011-01-20 16:06:32 UTC

---- h.323.conf ---
[general]
port = 1720
bindaddr = X.Y.Z.W
disallow=all
allow=g729
dtmfmode=rfc2833:101
gatekeeper = DISABLE
FastStart=yes
H245Tunneling=yes
AllowGKRouted = no
AcceptAnonymous = yes
UserByAlias=no
context=default
progress_setup = 3
progress_alert = 8
hold=h450 

Here what I have in CLI during incoming call (h323 trace on, h323 debug
on):

*CLI>   == New H.323 Connection created.                                  
                                                                           
       
        --Received SETUP message                                          
                                                                           
       
    -- Setting up Call                                                    
                                                                           
       
    --          Call token:  [ip$A.B.C.D:20644/720]                       
                                                                           

    --          Calling party name:  [addpac_22]                          
                                                                           
       
    --          Calling party number:  [XXXXXX]                           
                                                                           
       
    --          Called party name:  [456]                                 
                                                                           
       
    --          Called party number:  [456]                               
                                                                           
       
    --          Calling party IP:  [A.B.C.D]                              
                                                                           

Setting capabilities to 0x100 (g729)                                      
                                                                           
       
Capabilities in preference order is (g729)                                
                                                                           
       
DTMF mode is 1                                                            
                                                                           
       
Allowed Codecs for ip$A.B.C.D:20644/720 (ip$A.B.C.D:1720):                
                                                                      
         Table:                                                           
                                                                           
       
   G.729A <1>                                                             
                                                                           
       
   G.729 <2>                                                              
                                                                           
       
   UserInput/hookflash <3>                                                
                                                                           
       
   UserInput/dtmf <4>                                                     
                                                                           
       
 Set:                                                                     
                                                                           
       
   0:                                                                     
                                                                           
       
     0:                                                                   
                                                                           
       
       G.729A <1>                                                         
                                                                           
       
       G.729 <2>                                                          
                                                                           
       
     1:                                                                   
                                                                           
       
       UserInput/hookflash <3>                                            
                                                                           
       
     2:                                                                   
                                                                           
       
       UserInput/dtmf <4>                                                 
                                                                           
       

[Jan 25 10:58:09] WARNING[2158]: res_rtp_asterisk.c:422 create_new_socket:
Unable to allocate RTP socket: Address family not supported by protocol
[Jan 25 10:58:09] WARNING[2158]: chan_h323.c:977 __oh323_rtp_create:
Unable to create RTP session: Address family not supported by protocol     
 
[Jan 25 10:58:09] ERROR[2158]: chan_h323.c:1943 external_rtp_create: No
RTP stream is available for call ip$A.B.C.D:20644/720 (720)      ERROR:
on_external_rtp_create failure                                             
                                                                           
             
[Jan 25 10:58:09] WARNING[2158]: res_rtp_asterisk.c:422 create_new_socket:
Unable to allocate RTP socket: Address family not supported by protocol    
       
[Jan 25 10:58:09] WARNING[2158]: chan_h323.c:977 __oh323_rtp_create:
Unable to create RTP session: Address family not supported by protocol     
             
[Jan 25 10:58:09] ERROR[2158]: chan_h323.c:1943 external_rtp_create: No
RTP stream is available for call ip$A.B.C.D:20644/720 (720)      ERROR:
on_external_rtp_create failure                                             
                                                                           
             
        =-= In OnAnswerCall for call 720                                  
                                                                           
       
                - Progress Indicator: 0                                   
                                                                           
       
                - Inserting PI of 8 into ALERTING message                 
                                                                           
       
[Jan 25 10:58:09] WARNING[2158]: res_rtp_asterisk.c:422 create_new_socket:
Unable to allocate RTP socket: Address family not supported by protocol    
       
[Jan 25 10:58:09] WARNING[2158]: chan_h323.c:977 __oh323_rtp_create:
Unable to create RTP session: Address family not supported by protocol     
             
        -- Started logical channel: sending G.729                         
                                                                           
       
                -- channelsOpen = 1                                       
                                                                           
       
                External RTP Session Starting                             
                                                                           
       
                RTP channel id 1 parameters:                              
                                                                           
       
    -- Executing [456 at default:1] Answer("H323/ip$A.B.C.D:20644/720", "")
in new stack                                                               
  
Segmentation fault.

Here Asterisk crashes. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-01-25 03:40 mthawk         Note Added: 0130987                          
======================================================================




More information about the asterisk-bugs mailing list