[Asterisk-Users] IAX clients are Unmonitored / UNREACHABLE
loertel
larsoertel at gmx.de
Tue Apr 20 15:06:49 MST 2004
We have a problem with our iaxclients.
Our asterisk runs on a public host with debian and many of our IAX2 clients
are natted.
The iax.conf looks like:
[23456]
accountcode=123
type=friend
context=user
auth=md5
secret=xxxx
username=23456
callerid=Testuser 1 <23456>
notransfer=yes
host=dynamic
The cli command IAX2 show peers shows all clients as unmonitored
CLI> IAX2 show peers
Name/Username Host Mask Port Status
23456/23456 80.145.0.xxx (D) 255.255.255.255 35263
Unmonitored
12345/12345 217.5.22.xxx (D) 255.255.255.255 4569 Unmonitored
This the only way we that the clients can make a call. So I tried to use the
qualify option in the iax.conf:
[23456]
accountcode=123
type=friend
context=user
auth=md5
secret=xxxx
username=23456
callerid=Testuser 1 <23456>
notransfer=yes
host=dynamic
nat=yes
qualify=yes
and then the cli says
CLI> IAX2 show peers
Name/Username Host Mask Port Status
23456/23456 80.145.0.xxx (D) 255.255.255.255 35263
UNREACHABLE
12345/12345 217.5.22.xxx (D) 255.255.255.255 4569 UNREACHABLE
And the clients are´nt able to make a call anymore.
Asterisk says: rejected connect attempt
The next problem is the port 4569, if I activate the line
PORT=4569 in the IAX.conf Asterisk says: Ignoring Port for Now
And sometimes asterisk says:
Apr 20 23:46:20 WARNING[789526]: format_gsm.c:142 gsm_read: Short read (23)
(Interrupted system call)!
Sometimes calls are disconnected ?
Both tested with Asterisk 0.7.2 from diginum ftp and with cvs 16.04.04
We use: Asterisk cvs 16.04.04
On debian kernel 2.4.26
Without additional isdn or BRI/PRI hardware
Tested with Clients: Iaxclient, IAXphone and DIAX
Hope somebody can help I´m searching for about one week and found nothing
.
Regards
Loertel
larsoertel at gmx.de
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20040420/a841b639/attachment.htm
More information about the asterisk-users
mailing list