Bug#1024353: asterisk: segfault with the latest security update

sergio sergio+it at outerface.net
Mon Dec 19 13:25:56 GMT 2022


On 19/11/2022 18:37, Markus Koschany wrote:

> I believe the problem here is that the opus codec is embedded in Asterisk
> itself now and asterisk-opus conflicts with the new setup. Did you remove
> asterisk-opus as well?

This problem is not related to asterisk-opus, removeing asterisk-opus 
package chagnes nothing.

The problem is related to IAX2, incoming SIP calls work fine.

this is console on asterisk 1:16.28.0~dfsg-0+deb11u1 that segfaults:

     -- Executing [7 at localpeers:1] ExecIf("PJSIP/knot-00000000", 
"1?Dial(Local/7 at go-local)") in new stack
Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 000 Type: IAX     Subclass: 
NEW
     Timestamp: 00009ms  SCall: 13312  DCall: 00000 10.8.2.5:4569
     VERSION         : 2
     CALLED NUMBER   : TBD
     CALLED CONTEXT  : local
     FORMAT          : 65535
     CAPABILITY      : 65535

Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type: IAX     Subclass: 
CTOKEN
     Timestamp: 00009ms  SCall: 00001  DCall: 13312 10.8.2.5:4569
     CALLTOKEN       : 51 bytes

Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 000 Type: IAX     Subclass: 
NEW
     Timestamp: 00010ms  SCall: 13312  DCall: 00000 10.8.2.5:4569
     VERSION         : 2
     CALLED NUMBER   : TBD
     CALLED CONTEXT  : local
     FORMAT          : 65535
     CAPABILITY      : 65535
     CALLTOKEN       : 51 bytes

Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type: IAX     Subclass: 
AUTHREQ
     Timestamp: 00017ms  SCall: 11489  DCall: 13312 10.8.2.5:4569
     AUTHMETHODS     : 2
     CHALLENGE       : \x31\x39\x39\x31\x30\x31\x32\x34\x32
     USERNAME        : cellgate

Tx-Frame Retry[000] -- OSeqno: 001 ISeqno: 001 Type: IAX     Subclass: 
AUTHREP
     Timestamp: 00012ms  SCall: 13312  DCall: 11489 10.8.2.5:4569
     MD5 RESULT      : 9196a81a64dda82ec4d38a05c0bc300f

Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 002 Type: IAX     Subclass: 
ACCEPT
     Timestamp: 00018ms  SCall: 11489  DCall: 13312 10.8.2.5:4569
     FORMAT          : 4096
     FORMAT2         : g722

     -- Call accepted by 10.8.2.5:4569 (format g722)
Tx-Frame Retry[000] -- OSeqno: 002 ISeqno: 002 Type: IAX     Subclass: 
DPREQ
     Timestamp: 00014ms  SCall: 13312  DCall: 11489 10.8.2.5:4569
     CALLED NUMBER   : 7

Rx-Frame Retry[ No] -- OSeqno: 002 ISeqno: 003 Type: IAX     Subclass: 
DPREP
     Timestamp: 00019ms  SCall: 11489  DCall: 13312 10.8.2.5:4569
     CALLED NUMBER   : 7
     DIALPLAN STATUS : 4
     REFRESH         : 600

Tx-Frame Retry[-01] -- OSeqno: 003 ISeqno: 003 Type: IAX     Subclass: 
ACK
     Timestamp: 00019ms  SCall: 13312  DCall: 11489 10.8.2.5:4569
coupler*CLI>
Disconnected from Asterisk server

This is console on asterisk 16.3.0 on OpenWrt 19.07.8 that trunks IAX:

Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX     Subclass: 
NEW
     Timestamp: 00009ms  SCall: 13312  DCall: 00000 10.8.12.5:4569
     VERSION         : 2
     CALLED NUMBER   : TBD
     CALLED CONTEXT  : local
     FORMAT          : 65535
     CAPABILITY      : 65535

Tx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type: IAX     Subclass: 
CTOKEN
     Timestamp: 00009ms  SCall: 00001  DCall: 13312 10.8.12.5:4569
     CALLTOKEN       : 51 bytes

Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX     Subclass: 
NEW
     Timestamp: 00010ms  SCall: 13312  DCall: 00000 10.8.12.5:4569
     VERSION         : 2
     CALLED NUMBER   : TBD
     CALLED CONTEXT  : local
     FORMAT          : 65535
     CAPABILITY      : 65535
     CALLTOKEN       : 51 bytes

Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 001 Type: IAX     Subclass: 
AUTHREQ
     Timestamp: 00017ms  SCall: 11489  DCall: 13312 10.8.12.5:4569
     AUTHMETHODS     : 2
     CHALLENGE       : \x31\x39\x39\x31\x30\x31\x32\x34\x32
     USERNAME        : cellgate

Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 001 Type: IAX     Subclass: 
AUTHREP
     Timestamp: 00012ms  SCall: 13312  DCall: 11489 10.8.12.5:4569
     MD5 RESULT      : 9196a81a64dda82ec4d38a05c0bc300f

     -- Accepted AUTHENTICATED TBD call from 10.8.12.5:4569
Tx-Frame Retry[000] -- OSeqno: 001 ISeqno: 002 Type: IAX     Subclass: 
ACCEPT
     Timestamp: 00018ms  SCall: 11489  DCall: 13312 10.8.12.5:4569
     FORMAT          : 4096
     FORMAT2         : g722

Rx-Frame Retry[ No] -- OSeqno: 002 ISeqno: 002 Type: IAX     Subclass: 
DPREQ
     Timestamp: 00014ms  SCall: 13312  DCall: 11489 10.8.12.5:4569
     CALLED NUMBER   : 7

Tx-Frame Retry[000] -- OSeqno: 002 ISeqno: 003 Type: IAX     Subclass: 
DPREP
     Timestamp: 00019ms  SCall: 11489  DCall: 13312 10.8.12.5:4569
     CALLED NUMBER   : 7
     DIALPLAN STATUS : 4
     REFRESH         : 600
-- 
sergio.



More information about the Pkg-voip-maintainers mailing list