Tested on:
Ubuntu server 16.04: Linux fax 4.4.0-98-generic #121-Ubuntu SMP Tue Oct 10 14:24:03 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
Asterisk 14.6.2 and Asterisk 15.0.0 built by root @ fax on a x86_64 running Linux on 2017-10-14 18:18:52 UTC
iaxmodem 1.3.0 and 1.2.0
iaxmodems: 10 iaxmodems (from ttyIAX01 to ttyIAX10)
Regards,
Last edit: Alessan 2017-11-07
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
How are you starting iaxmodem? Does this happen if you start iaxmodems with non-daemon mode? Does the problem happen only with some of the iaxmodems? Or does it happen to all of them even randomly?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Finally I work with static config without register and all works fine. I go to try to get some packet captures on daemon and non-deamon mode to see if this is a asterisk side problem or iaxmodem side.
Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I'm getting strange behavoir with multiple modems, when i start iaxmodem i got on asterisk console:
Some modems registered on another modem port and inmedialy registered on right port, droping other iaxmodem register.
fax*CLI> iax2 show peers
Name/Username Host Mask Port Status Description
9910/ttyIAX10 127.0.0.1 (D) (null) 4580 OK (3 ms)
9905/ttyIAX05 127.0.0.1 (D) (null) 4575 OK (3 ms)
9904/ttyIAX04 127.0.0.1 (D) (null) 4574 UNKNOWN
9907/ttyIAX07 127.0.0.1 (D) (null) 4577 OK (3 ms)
9906/ttyIAX06 127.0.0.1 (D) (null) 4576 OK (3 ms)
9901/ttyIAX01 127.0.0.1 (D) (null) 4571 OK (3 ms)
9903/ttyIAX03 127.0.0.1 (D) (null) 4573 UNKNOWN
9902/ttyIAX02 127.0.0.1 (D) (null) 4572 UNKNOWN
9909/ttyIAX09 127.0.0.1 (D) (null) 4579 UNKNOWN
9908/ttyIAX08 127.0.0.1 (D) (null) 4578 UNKNOWN
10 iax2 peers [5 online, 5 offline, 0 unmonitored]
root@fax:~# cat /etc/iaxmodem/ttyIAX01
device /dev/ttyIAX01
owner uucp:uucp
mode 660
port 4571
refresh 60
server 127.0.0.1
peername 9901
secret fax
cidname FAX01
cidnumber 9901
codec alaw
iax2debug
root@fax:~# cat /etc/iaxmodem/ttyIAX02
device /dev/ttyIAX02
owner uucp:uucp
mode 660
port 4572
refresh 60
server 127.0.0.1
peername 9902
secret fax
cidname FAX02
cidnumber 9902
codec alaw
iax2debug
..................
..................
root@fax:~# cat /etc/iaxmodem/ttyIAX07
device /dev/ttyIAX07
owner uucp:uucp
mode 660
port 4577
refresh 60
server 127.0.0.1
peername 9907
cidname FAX07
cidnumber 9907
secret fax
codec alaw
iax2debug
....................
....................
root@fax:~# cat /etc/iaxmodem/ttyIAX09
device /dev/ttyIAX09
owner uucp:uucp
mode 660
port 4579
refresh 60
server 127.0.0.1
peername 9909
cidname FAX09
cidnumber 9909
secret fax
codec alaw
iax2debug
root@fax:~# cat /etc/iaxmodem/ttyIAX10
device /dev/ttyIAX10
owner uucp:uucp
mode 660
port 4580
refresh 60
server 127.0.0.1
peername 9910
cidname FAX10
cidnumber 9910
secret fax
codec alaw
iax2debug
database:
id, name, type, secret, context, host, ipaddr, port, auth, requirecalltoken, transfer, disallow, allow, qualify
’1’, ‘9901’, ‘friend’, ‘fax’, ‘from-fax’, ‘dynamic’, ‘127.0.0.1’, ‘4571’, ‘plaintext’, ‘no’, ‘no’, ‘all’, ‘alaw’, ‘yes’
‘2’, ‘9902’, ‘friend’, ‘fax’, ‘from-fax’, ‘dynamic’, ‘127.0.0.1’, ‘4572’, ‘plaintext’, ‘no’, ‘no’, ‘all’, ‘alaw’, ‘yes’
‘3’, ‘9903’, ‘friend’, ‘fax’, ‘from-fax’, ‘dynamic’, ‘127.0.0.1’, ‘4573’, ‘plaintext’, ‘no’, ‘no’, ‘all’, ‘alaw’, ‘yes’
‘4’, ‘9904’, ‘friend’, ‘fax’, ‘from-fax’, ‘dynamic’, ‘127.0.0.1’, ‘4574’, ‘plaintext’, ‘no’, ‘no’, ‘all’, ‘alaw’, ‘yes’
‘5’, ‘9905’, ‘friend’, ‘fax’, ‘from-fax’, ‘dynamic’, ‘127.0.0.1’, ‘4575’, ‘plaintext’, ‘no’, ‘no’, ‘all’, ‘alaw’, ‘yes’
‘6’, ‘9906’, ‘friend’, ‘fax’, ‘from-fax’, ‘dynamic’, ‘127.0.0.1’, ‘4576’, ‘plaintext’, ‘no’, ‘no’, ‘all’, ‘alaw’, ‘yes’
‘7’, ‘9907’, ‘friend’, ‘fax’, ‘from-fax’, ‘dynamic’, ‘127.0.0.1’, ‘4577’, ‘plaintext’, ‘no’, ‘no’, ‘all’, ‘alaw’, ‘yes’
‘8’, ‘9908’, ‘friend’, ‘fax’, ‘from-fax’, ‘dynamic’, ‘127.0.0.1’, ‘4578’, ‘plaintext’, ‘no’, ‘no’, ‘all’, ‘alaw’, ‘yes’
‘9’, ‘9909’, ‘friend’, ‘fax’, ‘from-fax’, ‘dynamic’, ‘127.0.0.1’, ‘4579’, ‘plaintext’, ‘no’, ‘no’, ‘all’, ‘alaw’, ‘yes’
‘10’, ‘9910’, ‘friend’, ‘fax’, ‘from-fax’, ‘dynamic’, ‘127.0.0.1’, ‘4580’, ‘plaintext’, ‘no’, ‘no’, ‘all’, ‘alaw’, ‘yes’
Tested on:
Ubuntu server 16.04: Linux fax 4.4.0-98-generic #121-Ubuntu SMP Tue Oct 10 14:24:03 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
Asterisk 14.6.2 and Asterisk 15.0.0 built by root @ fax on a x86_64 running Linux on 2017-10-14 18:18:52 UTC
iaxmodem 1.3.0 and 1.2.0
iaxmodems: 10 iaxmodems (from ttyIAX01 to ttyIAX10)
Regards,
Last edit: Alessan 2017-11-07
How are you starting iaxmodem? Does this happen if you start iaxmodems with non-daemon mode? Does the problem happen only with some of the iaxmodems? Or does it happen to all of them even randomly?
Sorry but late response,
I can't be sure, but seems randomly.
In non-daemon mode seems happened less.
Finally I work with static config without register and all works fine. I go to try to get some packet captures on daemon and non-deamon mode to see if this is a asterisk side problem or iaxmodem side.
Thanks