SIP fax devices - cannot register on Trixbox

jonw
Posts: 12
Member Since:
2010-05-27

Hi there. I have Trixbox running, having just replaced a dying Red Hat box that ran a flavour of Asterisk. I have 6 sip fax devices (Zyxel 2002) to which fax machines are connected to. Previously this worked on the old system. I have reconfigured them to point to the new Trixbox, but cannot register them. They are configured to register on port 5060, but this port is not open on the Trixbox. So what port should I use? I have added the devices as generic SIP extensions and added them as generic devices to endpoint manager - is there anything else I need to do to allow faxes to route to these devices?



Astrosmurfer
Posts: 643
Member Since:
2009-12-28
Quote: They are configured
Quote:
They are configured to register on port 5060, but this port is not open on the Trixbox.

If you are telling the ATA to register on port 5060 then you must have trixbox listening on port 5060 or it cannot register. Why is "this port not open on trixbox"? It typically is by default. Have you made a change to trixbox or do you have a firewall in between trixbox and the ATAs?



jonw
Posts: 12
Member Since:
2010-05-27
This is a vanilla install of

This is a vanilla install of Trixbox CE (latest edition). No firewall is running or anything and it's on my LAN. All Polycom phones can connect to it fine. The reason why I state 5060 is not open is because I cannot telnet to it from any machine on the LAN and if I run netstat on Trixbox I do not see it open:

Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address Stat e
tcp 0 0 0.0.0.0:930 0.0.0.0:* LIST EN
tcp 0 0 0.0.0.0:6600 0.0.0.0:* LIST EN
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LIST EN
tcp 0 0 127.0.0.1:11211 0.0.0.0:* LIST EN
tcp 0 0 0.0.0.0:5038 0.0.0.0:* LIST EN
tcp 0 0 0.0.0.0:111 0.0.0.0:* LIST EN
tcp 0 0 0.0.0.0:2000 0.0.0.0:* LIST EN
tcp 0 0 0.0.0.0:21 0.0.0.0:* LIST EN
tcp 0 0 0.0.0.0:1720 0.0.0.0:* LIST EN
tcp 0 0 127.0.0.1:25 0.0.0.0:* LIST EN
tcp 0 0 0.0.0.0:4445 0.0.0.0:* LIST EN
tcp 0 0 :::80 :::* LIST EN
tcp 0 0 :::22 :::* LIST EN
tcp 0 0 :::443 :::* LIST EN

Active UNIX domain sockets (w/o servers)
Proto RefCnt Flags Type State I-Node Path
unix 2 [ ] DGRAM 1290 @/org/kernel/udev/udevd
unix 2 [ ] DGRAM 6340 @/org/freedesktop/hal/udev_event
unix 13 [ ] DGRAM 5548 /dev/log
unix 2 [ ] DGRAM 231672
unix 2 [ ] DGRAM 223117
unix 3 [ ] STREAM CONNECTED 10308 /var/lib/mysql/mysql.sock
unix 3 [ ] STREAM CONNECTED 10307
unix 3 [ ] STREAM CONNECTED 10304 @/tmp/fam-root-
unix 3 [ ] STREAM CONNECTED 10303
unix 3 [ ] STREAM CONNECTED 10294 /var/run/dbus/system_bus_socket
unix 3 [ ] STREAM CONNECTED 10293
unix 2 [ ] DGRAM 8571
unix 2 [ ] DGRAM 8543
unix 2 [ ] DGRAM 8451
unix 3 [ ] STREAM CONNECTED 8425
unix 3 [ ] STREAM CONNECTED 8424
unix 3 [ ] STREAM CONNECTED 8421
unix 3 [ ] STREAM CONNECTED 8420
unix 3 [ ] STREAM CONNECTED 8417
unix 3 [ ] STREAM CONNECTED 8416
unix 3 [ ] STREAM CONNECTED 8413
unix 3 [ ] STREAM CONNECTED 8412
unix 3 [ ] STREAM CONNECTED 8409
unix 3 [ ] STREAM CONNECTED 8408
unix 3 [ ] STREAM CONNECTED 8405
unix 3 [ ] STREAM CONNECTED 8404
unix 3 [ ] STREAM CONNECTED 8401
unix 3 [ ] STREAM CONNECTED 8400
unix 3 [ ] STREAM CONNECTED 8397
unix 3 [ ] STREAM CONNECTED 8396
unix 3 [ ] STREAM CONNECTED 8393
unix 3 [ ] STREAM CONNECTED 8392
unix 3 [ ] STREAM CONNECTED 8389
unix 3 [ ] STREAM CONNECTED 8388
unix 3 [ ] STREAM CONNECTED 8385
unix 3 [ ] STREAM CONNECTED 8384
unix 3 [ ] STREAM CONNECTED 8381
unix 3 [ ] STREAM CONNECTED 8380
unix 3 [ ] STREAM CONNECTED 8377
unix 3 [ ] STREAM CONNECTED 8376
unix 3 [ ] STREAM CONNECTED 8373
unix 3 [ ] STREAM CONNECTED 8372
unix 3 [ ] STREAM CONNECTED 8369
unix 3 [ ] STREAM CONNECTED 8368
unix 3 [ ] STREAM CONNECTED 8365
unix 3 [ ] STREAM CONNECTED 8364
unix 3 [ ] STREAM CONNECTED 8361
unix 3 [ ] STREAM CONNECTED 8360
unix 3 [ ] STREAM CONNECTED 8357
unix 3 [ ] STREAM CONNECTED 8356
unix 3 [ ] STREAM CONNECTED 8353
unix 3 [ ] STREAM CONNECTED 8352
unix 3 [ ] STREAM CONNECTED 8349
unix 3 [ ] STREAM CONNECTED 8348
unix 3 [ ] STREAM CONNECTED 8345
unix 3 [ ] STREAM CONNECTED 8344
unix 3 [ ] STREAM CONNECTED 8341
unix 3 [ ] STREAM CONNECTED 8340
unix 3 [ ] STREAM CONNECTED 8337
unix 3 [ ] STREAM CONNECTED 8336
unix 3 [ ] STREAM CONNECTED 8333
unix 3 [ ] STREAM CONNECTED 8332
unix 3 [ ] STREAM CONNECTED 8329
unix 3 [ ] STREAM CONNECTED 8328
unix 3 [ ] STREAM CONNECTED 8326
unix 3 [ ] STREAM CONNECTED 8325
unix 3 [ ] STREAM CONNECTED 8322
unix 3 [ ] STREAM CONNECTED 8321
unix 3 [ ] STREAM CONNECTED 8319
unix 3 [ ] STREAM CONNECTED 8318
unix 2 [ ] DGRAM 8289
unix 3 [ ] STREAM CONNECTED 8061
unix 3 [ ] STREAM CONNECTED 8060
unix 3 [ ] STREAM CONNECTED 8057
unix 3 [ ] STREAM CONNECTED 8056
unix 3 [ ] STREAM CONNECTED 8053
unix 3 [ ] STREAM CONNECTED 8052
unix 3 [ ] STREAM CONNECTED 8048
unix 3 [ ] STREAM CONNECTED 8047
unix 2 [ ] DGRAM 7747
unix 2 [ ] DGRAM 7704
unix 2 [ ] DGRAM 7527
unix 3 [ ] STREAM CONNECTED 7467 /var/run/dbus/system_bus_socket
unix 3 [ ] STREAM CONNECTED 7466
unix 3 [ ] STREAM CONNECTED 7322 /var/run/acpid.socket
unix 3 [ ] STREAM CONNECTED 7315
unix 3 [ ] STREAM CONNECTED 7279 @/var/run/hald/dbus-NnZJ2DBy6G
unix 3 [ ] STREAM CONNECTED 7278
unix 3 [ ] STREAM CONNECTED 6335 @/var/run/hald/dbus-ReGpUvyWHj
unix 3 [ ] STREAM CONNECTED 6334
unix 3 [ ] STREAM CONNECTED 5930
unix 3 [ ] STREAM CONNECTED 5929
unix 3 [ ] STREAM CONNECTED 5872
unix 3 [ ] STREAM CONNECTED 5871
unix 2 [ ] DGRAM 5750
unix 2 [ ] DGRAM 5556
unix 3 [ ] STREAM CONNECTED 5480
unix 3 [ ] STREAM CONNECTED 5479



Astrosmurfer
Posts: 643
Member Since:
2009-12-28
Right, you can't telnet to

Right, you can't telnet to it because telnet is attempting a TCP connection whereas trixbox should be listening on UDP port 5060. Try this command instead

netstat -lu | grep sip

You should see

udp        0      0 *:sip 

The question is why is the registration failing? Verify that the ATA configuration is set to 5060. Verify the extension configuration that it is also set to 5060. Go to the Asterisk console and see what messages are logged during the registration process.

asterisk -rvvv

sip set debug on

Use this to turn off debugging

sip set debug off
exit


jonw
Posts: 12
Member Since:
2010-05-27
Thank you so much for the

Thank you so much for the advice on debugging - it showed me where the problem was. Oh my gosh what a newbie I was being - I didn't think to change the password on the fax sip device! Once I changed it to the secret I had set for the extension, it was able to connect and register and bingo it works. Thank you :-)



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.