[asterisk-bugs] [JIRA] (ASTERISK-21960) ooh323 channels stuck

Richard Mudgett (JIRA) noreply at issues.asterisk.org
Fri Sep 6 10:37:03 CDT 2013


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

Richard Mudgett edited comment on ASTERISK-21960 at 9/6/13 10:36 AM:
---------------------------------------------------------------------

Hello!

Wrote the same to you directly.
I tried to reproduce this by another way. 
I create nonexistant peer:

{noformat}
[dm]
type=friend
;type=peer
context=default
ip=192.168.22.22
port=1720
;e164=101
disallow=all
allow=alaw
allow=ulaw
;allow=g729
fastStart=no
h245tunneling=yes
;canreinvite=no
directmedia=yes
directrtpsetup=yes
dtmfmode=inband 
{noformat}

Then called it:

{noformat}
exten => 6016,1,SET(FAXOPT(t38gateway)=yes)
exten => 6016,n,Dial(OOH323/6401 at dm)
{noformat}

Hear nothing for several minutes.
Then hang up.

See:
{noformat}
asterisk*CLI> core show channels
Channel              Location             State Application(Data)
OOH323/dm-176        6401 at default:1       Down (None)
DAHDI/i1/6401-2ce    6016 at default:2       Ring Dial(OOH323/6401 at dm)
2 active channels
1 active call 
{noformat}


but, what is more interesting , all other calls to ooh323 stuck too:

{noformat}
asterisk*CLI> pri show channels
PRI       B    Chan Call       PRI  Channel
Span Chan Chan Idle Level      Call Name
   1    1 Yes  Yes  Idle       No   
   1    2 Yes  Yes  Idle       No   
   1    3 Yes  No   Proceeding Yes  DAHDI/i1/6401-2ce
   1    4 Yes  Yes  Idle       No   
   1    5 Yes  Yes  Idle       No   
   1    6 Yes  Yes  Idle       No   
   1    7 Yes  Yes  Idle       No   
   1    8 Yes  No   Proceeding Yes  DAHDI/i1/6469-2d9
   1    9 Yes  Yes  Idle       No   
   1   10 Yes  Yes  Idle       No   
   1   11 Yes  Yes  Idle       No   
   1   12 Yes  Yes  Idle       No   
   1   13 Yes  Yes  Idle       No   
   1   14 Yes  Yes  Idle       No   
   1   15 Yes  Yes  Idle       No   
   1   17 Yes  Yes  Idle       No   
   1   18 Yes  Yes  Idle       No   
   1   19 Yes  Yes  Idle       No   
   1   20 Yes  Yes  Idle       No   
   1   21 Yes  Yes  Idle       No   
   1   22 Yes  No   Proceeding Yes  DAHDI/i1/6207-2d0
   1   23 Yes  Yes  Idle       No   
   1   24 Yes  No   Proceeding Yes  DAHDI/i1/6469-2d3
   1   25 Yes  No   Proceeding Yes  DAHDI/i1/6469-2d2
   1   26 Yes  No   Proceeding Yes  DAHDI/i1/6469-2d1
   1   27 Yes  Yes  Idle       No   
   1   28 Yes  Yes  Idle       No   
   1   29 Yes  Yes  Idle       No   
   1   30 Yes  Yes  Idle       No   
   1   31 Yes  No   Proceeding Yes  DAHDI/i1/6469-2d8
{noformat}

{noformat}
asterisk*CLI> core show channels
Channel              Location             State   Application(Data)             
SIP/6054-00000103    (None)               Up      AppDial((Outgoing Line))      
DAHDI/i1/6469-2d1    116011 at default:5     Ring    Dial(OOH323/6011 at neftisa,,g)  
DAHDI/i1/6469-2d2    116011 at default:5     Ring    Dial(OOH323/6011 at neftisa,,g)  
DAHDI/i1/6469-2d3    116031 at default:5     Ring    Dial(OOH323/6031 at neftisa,,g)  
DAHDI/i1/6469-2d8    116030 at default:5     Ring    Dial(OOH323/6030 at neftisa,,g)  
DAHDI/i1/6469-2d9    116024 at default:5     Ring    Dial(OOH323/6024 at neftisa,,g)  
OOH323/neftisa-178   6066 at default:1       Down    (None)                        
OOH323/neftisa-179   6011 at default:1       Down    (None)                        
OOH323/neftisa-181   6031 at default:1       Down    (None)                        
OOH323/neftisa-180   6011 at default:1       Down    (None)                        
OOH323/neftisa-183   6024 at default:1       Down    (None)                        
OOH323/neftisa-182   6030 at default:1       Down    (None)                        
OOH323/dm-176        6401 at default:1       Down    (None)                        
DAHDI/i1/6401-2ce    6016 at default:2       Ring    Dial(OOH323/6401 at dm)          
DAHDI/i1/6207-2d0    116066 at default:5     Ring    Dial(OOH323/6066 at neftisa,,g)  
DAHDI/i1/6287-2db    6054 at default:1       Up      Dial(SIP/6054)                
16 active channels
8 active calls
{noformat}

So real problem is deeper...

                
      was (Author: slesru):
    Hello!

Wrote the same to you directly.
I tried to reproduce this by another way. 
I create nonexistant peer:

[dm]
type=friend
;type=peer
context=default
ip=192.168.22.22
port=1720
;e164=101
disallow=all
allow=alaw
allow=ulaw
;allow=g729
fastStart=no
h245tunneling=yes
;canreinvite=no
directmedia=yes
directrtpsetup=yes
dtmfmode=inband 

Then called it:

exten => 6016,1,SET(FAXOPT(t38gateway)=yes)
exten => 6016,n,Dial(OOH323/6401 at dm)

Hear nothing for several minutes.
Then hang up.

See:
asterisk*CLI> core show channels
Channel              Location             State Application(Data)
OOH323/dm-176        6401 at default:1       Down (None)
DAHDI/i1/6401-2ce    6016 at default:2       Ring Dial(OOH323/6401 at dm)
2 active channels
1 active call 


but, what is more interesting , all other calls to ooh323 stuck too:

asterisk*CLI> pri show channels
PRI       B    Chan Call       PRI  Channel
Span Chan Chan Idle Level      Call Name
   1    1 Yes  Yes  Idle       No   
   1    2 Yes  Yes  Idle       No   
   1    3 Yes  No   Proceeding Yes  DAHDI/i1/6401-2ce
   1    4 Yes  Yes  Idle       No   
   1    5 Yes  Yes  Idle       No   
   1    6 Yes  Yes  Idle       No   
   1    7 Yes  Yes  Idle       No   
   1    8 Yes  No   Proceeding Yes  DAHDI/i1/6469-2d9
   1    9 Yes  Yes  Idle       No   
   1   10 Yes  Yes  Idle       No   
   1   11 Yes  Yes  Idle       No   
   1   12 Yes  Yes  Idle       No   
   1   13 Yes  Yes  Idle       No   
   1   14 Yes  Yes  Idle       No   
   1   15 Yes  Yes  Idle       No   
   1   17 Yes  Yes  Idle       No   
   1   18 Yes  Yes  Idle       No   
   1   19 Yes  Yes  Idle       No   
   1   20 Yes  Yes  Idle       No   
   1   21 Yes  Yes  Idle       No   
   1   22 Yes  No   Proceeding Yes  DAHDI/i1/6207-2d0
   1   23 Yes  Yes  Idle       No   
   1   24 Yes  No   Proceeding Yes  DAHDI/i1/6469-2d3
   1   25 Yes  No   Proceeding Yes  DAHDI/i1/6469-2d2
   1   26 Yes  No   Proceeding Yes  DAHDI/i1/6469-2d1
   1   27 Yes  Yes  Idle       No   
   1   28 Yes  Yes  Idle       No   
   1   29 Yes  Yes  Idle       No   
   1   30 Yes  Yes  Idle       No   
   1   31 Yes  No   Proceeding Yes  DAHDI/i1/6469-2d8


asterisk*CLI> core show channels
Channel              Location             State   Application(Data)             
SIP/6054-00000103    (None)               Up      AppDial((Outgoing Line))      
DAHDI/i1/6469-2d1    116011 at default:5     Ring    Dial(OOH323/6011 at neftisa,,g)  
DAHDI/i1/6469-2d2    116011 at default:5     Ring    Dial(OOH323/6011 at neftisa,,g)  
DAHDI/i1/6469-2d3    116031 at default:5     Ring    Dial(OOH323/6031 at neftisa,,g)  
DAHDI/i1/6469-2d8    116030 at default:5     Ring    Dial(OOH323/6030 at neftisa,,g)  
DAHDI/i1/6469-2d9    116024 at default:5     Ring    Dial(OOH323/6024 at neftisa,,g)  
OOH323/neftisa-178   6066 at default:1       Down    (None)                        
OOH323/neftisa-179   6011 at default:1       Down    (None)                        
OOH323/neftisa-181   6031 at default:1       Down    (None)                        
OOH323/neftisa-180   6011 at default:1       Down    (None)                        
OOH323/neftisa-183   6024 at default:1       Down    (None)                        
OOH323/neftisa-182   6030 at default:1       Down    (None)                        
OOH323/dm-176        6401 at default:1       Down    (None)                        
DAHDI/i1/6401-2ce    6016 at default:2       Ring    Dial(OOH323/6401 at dm)          
DAHDI/i1/6207-2d0    116066 at default:5     Ring    Dial(OOH323/6066 at neftisa,,g)  
DAHDI/i1/6287-2db    6054 at default:1       Up      Dial(SIP/6054)                
16 active channels
8 active calls

So real problem is deeper...

                  
> ooh323 channels stuck
> ---------------------
>
>                 Key: ASTERISK-21960
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-21960
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Addons/chan_ooh323
>    Affects Versions: 11.4.0
>         Environment: Centos 6/x86-64
>            Reporter: Dmitry Melekhov
>            Assignee: Alexander Anikin
>         Attachments: ASTERISK-21690.patch
>
>
> Hello!
> I just ( about 10 minutes ago ) got link problem between asterisk and gnugk - link is down , switched to backup channel, and I got stuck channels:
> ast-nsk*CLI> core show channels
> Channel              Location             State   Application(Data)             
> DAHDI/i1/7171-237c   2077 at dahdi:5         Ring    Dial(OOH323/2077)             
> DAHDI/i1/7171-237b   2170 at dahdi:5         Ring    Dial(OOH323/2170)             
> DAHDI/i1/7171-237e   2077 at dahdi:5         Ring    Dial(OOH323/2077)             
> SIP/ast-ngdu1-000000 2311 at ast-ngdu1:1     Ringing AppDial((Outgoing Line))      
> OOH323/2077-8965     (None)               Down    (None)                        
> OOH323/2077-8963     (None)               Down    (None)                        
> OOH323/2077-8974     (None)               Down    (None)                        
> OOH323/2077-8970     (None)               Down    (None)                        
> OOH323/2077-8971     (None)               Down    (None)                        
> OOH323/4222-8954     (None)               Down    (None)                        
> DAHDI/i1/7005-2379   6842 at dahdi:5         Ring    Dial(OOH323/6842)             
> OOH323/2041-8973     (None)               Down    (None)                        
> OOH323/6842-8960     (None)               Down    (None)                        
> OOH323/6278-8956     (None)               Down    (None)                        
> OOH323/6278-8953     (None)               Down    (None)                        
> OOH323/6278-8952     (None)               Down    (None)                        
> OOH323/2073-8961     (None)               Down    (None)                        
> OOH323/2073-8966     (None)               Down    (None)                        
> OOH323/2073-8964     (None)               Down    (None)                        
> DAHDI/i1/7103-2382   6441 at dahdi:5         Ring    Dial(OOH323/6441)             
> DAHDI/i1/7103-2381   6441 at dahdi:5         Ring    Dial(OOH323/6441)             
> DAHDI/i1/7047-2372   6278 at dahdi:5         Ring    Dial(OOH323/6278)             
> DAHDI/i1/7047-2371   6278 at dahdi:5         Ring    Dial(OOH323/6278)             
> DAHDI/i1/7047-2375   6278 at dahdi:5         Ring    Dial(OOH323/6278)             
> OOH323/2170-8972     (None)               Down    (None)                        
> OOH323/2170-8967     (None)               Down    (None)                        
> OOH323/2170-8962     (None)               Down    (None)                        
> DAHDI/i1/7130-2373   4222 at dahdi:5         Ring    Dial(OOH323/4222)             
> OOH323/6441-8968     (None)               Down    (None)                        
> OOH323/6441-8969     (None)               Down    (None)                        
> DAHDI/i1/7025-237f   2073 at dahdi:5         Ring    Dial(OOH323/2073)             
> DAHDI/i1/7025-237d   2073 at dahdi:5         Ring    Dial(OOH323/2073)             
> OOH323/6441-8955     (None)               Down    (None)                        
> DAHDI/i1/7025-237a   2073 at dahdi:5         Ring    Dial(OOH323/2073)             
> OOH323/6441-8957     (None)               Down    (None)                        
> OOH323/6441-8959     (None)               Down    (None)                        
> OOH323/6441-8958     (None)               Down    (None)                        
> DAHDI/i1/-2315       2311 at dahdi:2         Ring    Dial(SIP/2311 at ast-ngdu1)      
> DAHDI/i1/7103-2378   6441 at dahdi:5         Ring    Dial(OOH323/6441)             
> DAHDI/i1/7103-2374   6441 at dahdi:5         Ring    Dial(OOH323/6441)             
> DAHDI/i1/7103-2376   6441 at dahdi:5         Ring    Dial(OOH323/6441)             
> DAHDI/i1/7103-2377   6441 at dahdi:5         Ring    Dial(OOH323/6441)             
> DAHDI/i1/7171-2386   2041 at dahdi:5         Ring    Dial(OOH323/2041)             
> DAHDI/i1/7171-2387   2077 at dahdi:5         Ring    Dial(OOH323/2077)             
> DAHDI/i1/7171-2384   2077 at dahdi:5         Ring    Dial(OOH323/2077)             
> DAHDI/i1/7171-2385   2170 at dahdi:5         Ring    Dial(OOH323/2170)             
> DAHDI/i1/7171-2383   2077 at dahdi:5         Ring    Dial(OOH323/2077)             
> DAHDI/i1/7171-2380   2170 at dahdi:5         Ring    Dial(OOH323/2170)             
> 48 active channels
> 24 active calls
> 9068 calls processed
> ast-nsk*CLI> exit
> Sorry, I restarted asterisk, just because users complained.
> I don't know how to reproduce this, may be I'll have an idea ;-)
> And I understand that there is no enough info :-( , but may be problem can be found just from looking into code.
> patch from ASTERISK-21800 is applied.
> Thank you!

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list