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@gmx.de 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20040420/a841b639/attachment.htm
Karl Brose
2004-Apr-20  22:02 UTC
[Asterisk-Users] IAX clients are Unmonitored / UNREACHABLE
I don't quite understand the problem, so I will only respond to the PORT=4569 part Currently the driver ignores the setting and gives you the message. It will use the default port of 4569 however. I don't see a reason why it was disabled, but I am running my IAX channels at other ports just fine. I had to enable the code, of course. The next problem is the port 4569, if I activate the line "PORT=4569" in the IAX.conf - Asterisk says: "Ignoring Port for Now" -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20040421/80038b9a/attachment.htm
Thanks a lot, Which ports U used ? I tried some ... the same error. Only if I comment out the line it works The other problem ist hat all natted IAX clients go Unmonitored (CLI>IAX2 show peers) if I disable the Qualify=yes tag in IAX.conf. If I activate qualify all go UNREACHABLE and cannot make or receive calls Mit freundlichen Gr??en, Lars Oertel info@larsoertel.de
Hans-Henrik Andresen
2004-Apr-29  22:46 UTC
[Asterisk-Users] Re: IAX clients are Unmonitored / UNREACHABLE
Hi Lars, If you put Qualify=no in your iax.conf it will work (it does for me) But if its the right way to do it ? /Hans-Henrik Andresen "loertel" <larsoertel@gmx.de> wrote in message news:20040421104104.17DED243378@lists.digium.com... Thanks a lot, Which ports U used ? I tried some ... the same error. Only if I comment out the line it works The other problem ist hat all natted IAX clients go Unmonitored (CLI>IAX2 show peers) if I disable the Qualify=yes tag in IAX.conf. If I activate qualify all go UNREACHABLE and cannot make or receive calls Mit freundlichen Grüßen, Lars Oertel info@larsoertel.de _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users