Hi folks
I’ve trawled the forum and FAQ and googles till the sun has set and still I have no idea why my Asterisk (1.2.9.1) is not listening on 4569.
During startup it clearly states that it is listening and has bound to port 4569 but when i use nmap or telnet it clearly is not listening on the port and therefore is not accepting any incoming calls.
Anyone seen this before.
Later I’ll upgrade to the latest release but thought I’d throw my stupidity to the wolves first !
Many thanks
John
What does your iax.conf look like? remove obvious passwords and IP addresses.
Ian
Hi Ian
I’ve stripped out all the comments and am left with:
[general]
bindport=4569
bindaddr=192.168.1.xx
allow=all
disallow=g723.1
disallow=lpc10
tos=lowdelay
[voiptalk]
type=peer
username=uuuuuuuuu
secret=ssssss
host=iax5.voiptalk.org
[01xxxxxxxxx]
type=friend
username=01xxxxxxxxx
context=voip-in
Any clues?
By the way - outgoing works fine.
Regards
John
Hi Ok
first thing is to change
allow=all
disallow=g723.1
disallow=lpc10
to
disallow=all
disallow=alaw
disallow=ulaw
Hi Ian
Should those last two be allow?
Regards
John
Tried again - still no open port.
Regards
John
Hi opps yes the should
Ok
tcpdump -i eth0 -vv |grep 4569
will show you what traffic if any is coming in on eth0
if it is the
enable iax2 debugging and see whats happening.
Ian
Hi Ian
No traffic on tcpdump as the port is not open to listen for any traffic.
Regards
John
Hi Ian
Found it - I think…
I added
permit=0.0.0.0/0.0.0.0
like in the sample file, and now it works.
I probably need to tighten up that definition for security but at least it is working.
Thanks
John