[asterisk-bugs] [JIRA] (ASTERISK-27488) Crash when receiving fax from Cisco gateway with NSE

Richard Mudgett (JIRA) noreply at issues.asterisk.org
Mon Dec 18 14:54:07 CST 2017


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

Richard Mudgett edited comment on ASTERISK-27488 at 12/18/17 2:53 PM:
----------------------------------------------------------------------

I note that this bug is very similar to this bug report: ASTERISK-27364


was (Author: sduthil):
I note that this bug is very similar to this bug report: https://issues.asterisk.org/jira/browse/ASTERISK-27364

> Crash when receiving fax from Cisco gateway with NSE
> ----------------------------------------------------
>
>                 Key: ASTERISK-27488
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27488
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/Streams
>    Affects Versions: 15.0.0, 15.1.0, 15.1.1, 15.1.2, 15.1.3
>         Environment: Debian 8 Jessie, Asterisk 15.1.3, Cisco SPA 122
>            Reporter: Sébastien Duthil
>         Attachments: full.log, gdb-bt-thread1.txt, rtp.pcapng
>
>
> Given the following setup:
> Fax -> Cisco analog gateway -> SIP -> Asterisk
> Given the Cisco analog gateway is configured with Fax Passthru = NSE (sends a NSE RTP packet upon fax detection)
> Given faxes are handled with the application ReceiveFax
> When I receive a fax from the gateway (in the logs: exten 106 sends a fax to exten 945)
> Then Asterisk crashes with segfault
> Note that in the exact same environment, if I change _only_ this setting on the gateway Fax Passthru = ReINVITE (i.e. no special RTP packet is sent, but a SIP packet instead), and receive another fax then Asterisk does not crash.
> Analyzing the core dump, I see:
> {noformat}
> #1  0x080f41c7 in __ast_read (chan=0xb9cf1d4, dropaudio=0, dropnondefault=1) at channel.c:3703
> (gdb) p f->subclass.format.name              
> $3 = 0x827290e "vp8"                         
> (gdb) p f->subclass.format->codec.name       
> $4 = 0x827290e "vp8"                         
> (gdb) p f->subclass.format->codec.description
> $5 = 0x8272912 "VP8 video"                   
> (gdb) p f->frametype                         
> $6 = AST_FRAME_VIDEO                         
> (gdb) p chan->default_streams                
> $7 = {0x0, 0xb647670, 0x0, 0x0, 0x0}         
> {noformat}
> The network capture shows the NSE RTP packet at number 41.



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



More information about the asterisk-bugs mailing list