In /etc/iaxmodem you will find the .cfg file for each one of the modems (i.e. iaxmodem-cfg.ttyIAX1 ).
If you check the contents you will find something like:
| Code: |
device /dev/ttyIAX1
owner uucp:uucp
mode 660
port 40000
refresh 0
server 127.0.0.1
peername 4101
secret xxxxxxxxx
cidname xxxxxxxxxxxxxxxxxx
cidnumber xxxxxxxxxxxxx
codec slinear
|
So you know the port for each iaxmodem (peername=extension, port=port).
The IP is always 127.0.0.1
In elastix just set
host: 127.0.0.1 (instead of dynamic)
port: what is written in the corresponding /etc/iaxmodem-cfg.ttyIAX?)
and qualify no.
Then set refresh to zero. That should do the trick.
Best regards,
Giannis