Skip to content

IAX configuration duplicated by res_phreaknet #67

@ssterling

Description

@ssterling

iax.conf, as well as every file included by iax.conf (for me, in iax.d/), is duplicated when res_phreaknet tries to fetch new RSA keys on Asterisk restart. This only started today, and I haven’t updated anything. The following is a log from after I deleted all the duplicate contexts:

[Sep 10 17:00:47] Asterisk Ready.
[Sep 10 17:00:47] WARNING[185439]: res_phreaknet.c:1452 find_bindport: Invalid IAX2 bindport 4569
[Sep 10 17:00:47]     -- Reloading module 'res_crypto.so' (Cryptographic Digital Signatures)
[Sep 10 17:00:47] WARNING[185439]: res_crypto.c:322 try_load_key: Key load PUBLIC 'phreaknet-rsa-roadriverrail.mdns.org' failed
[Sep 10 17:00:47]   == Saving tryinclude '/etc/asterisk/iax.d/*.conf'
[Sep 10 17:00:47]   == Saving tryinclude '/etc/asterisk/iax-phreaknet-rsa-in.conf'
[Sep 10 17:00:47]   == Saving '/etc/asterisk/iax.conf'
[Sep 10 17:00:47]   == Saving '/etc/asterisk/iax.conf': saved
[Sep 10 17:00:47]     -- Reloading module 'res_crypto.so' (Cryptographic Digital Signatures)
[Sep 10 17:00:47] WARNING[185439]: res_crypto.c:322 try_load_key: Key load PUBLIC 'phreaknet-rsa-roadriverrail.mdns.org' failed
[Sep 10 17:00:47]     -- Reloading module 'chan_iax2.so' (Inter Asterisk eXchange (Ver 2))
[Sep 10 17:00:47] WARNING[185439]: config.c:380 ast_include_new: '/etc/asterisk/iax.d/phreaknet.conf', line 89:  Same File included more than once! This data will be sa
ved in iax-phreaknet-rsa-in.conf~~1 if saved back to disk.
[Sep 10 17:00:47] NOTICE[185439]: chan_iax2.c:13798 set_config: Ignoring bindport on reload
[Sep 10 17:00:47] ERROR[185439]: iax2/netsock.c:128 ast_netsock_bindaddr: Unable to bind to 0.0.0.0:4569: Address already in use
[Sep 10 17:00:47] ERROR[185439]: chan_iax2.c:14105 set_config: Unable to create network socket: Address already in use
[Sep 10 17:00:47] WARNING[185439]: chan_iax2.c:13442 build_user: Auth method for user 'cnet' is set to deprecated 'plaintext' at line 16 of iax.conf
[Sep 10 17:00:47] WARNING[185439]: chan_iax2.c:13116 build_peer: Auth method for peer 'cnet' is set to deprecated 'plaintext' at line 16 of iax.conf
[Sep 10 17:00:47] WARNING[185439]: chan_iax2.c:13442 build_user: Auth method for user 'cnet' is set to deprecated 'plaintext' at line 28 of iax.conf
[Sep 10 17:00:47] WARNING[185439]: chan_iax2.c:13116 build_peer: Auth method for peer 'cnet' is set to deprecated 'plaintext' at line 28 of iax.conf
[Sep 10 17:00:47] WARNING[185439]: chan_iax2.c:13442 build_user: Auth method for user 'hylafax' is set to deprecated 'plaintext' at line 41 of iax.conf
[Sep 10 17:00:47] WARNING[185439]: chan_iax2.c:13116 build_peer: Auth method for peer 'hylafax' is set to deprecated 'plaintext' at line 41 of iax.conf
[Sep 10 17:00:47] WARNING[185439]: chan_iax2.c:13442 build_user: Auth method for user 'hylafax' is set to deprecated 'plaintext' at line 56 of iax.conf
[Sep 10 17:00:47] WARNING[185439]: chan_iax2.c:13116 build_peer: Auth method for peer 'hylafax' is set to deprecated 'plaintext' at line 56 of iax.conf

Frankly, I’m having trouble wrapping my head around res_phreaknet.c, and I thought y’all might know what’s going on.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions