Jump to content

500 Address Resolution Failed


Gerry

Recommended Posts

Probably the DNS address can not be resolved. Keep in mind that SIP also used NAPTR and SRV records. On log level 8 you can see how the PBX step-by-step resolves addresses.

 

Managed to get around that but now getting a 408 request timed out error?

Link to comment
Share on other sites

Well, that tell you that the PBX was able to determine the destination, but there was no valid response coming back...

 

Check out the logging: http://wiki.pbxnsip.com/index.php/Log_Setup. There you can see how to turn on the logging and see what SIP messages the PBX sends and receives.

Not seeing a great deal in the logs. have pasted below could this be an issue caused by NAT?

1] 20070712095058: Starting up version 2.0.4.1747

[8] 20070712095058: Found interface on 192.168.1.20 with netmask 255.255.255.0

[8] 20070712095058: Found interface on 127.0.0.1 with netmask 255.0.0.0

[7] 20070712095058: Found time zone AKDT

[7] 20070712095058: Found time zone PDT

[7] 20070712095058: Found time zone MDT

[7] 20070712095058: Found time zone MST

[7] 20070712095058: Found time zone CDT

[7] 20070712095058: Found time zone EDT

[7] 20070712095058: Found time zone BST

[7] 20070712095058: Found time zone CET

[7] 20070712095058: Found time zone CST

[7] 20070712095058: Found time zone GMT

[1] 20070712095058: Working Directory is C:\Program Files\pbxnsip\PBX

[5] 20070712095058: Starting threads

[7] 20070712095058: UDP: Opening socket

[7] 20070712095058: UDP: Opening socket on port 5060

[7] 20070712095058: Opening TCP socket on port 5060

[7] 20070712095058: Opening TCP socket on port 81

[7] 20070712095058: Opening TCP socket on port 5061

[7] 20070712095058: Opening TCP socket on port 444

[7] 20070712095058: UDP: Opening socket on port 161

[7] 20070712095058: UDP: Opening socket on port 69

[8] 20070712095058: Resolve destination 1: url sip:sipgate.co.uk:5061

[8] 20070712095058: Resolve destination 1: a udp sipgate.co.uk 5061

[8] 20070712095058: DNS: Add dns_a sipgate.co.uk 217.10.79.23 (ttl=2173)

[8] 20070712095058: Resolve destination 1: a udp sipgate.co.uk 5061

[8] 20070712095058: Resolve destination 1: udp 217.10.79.23 5061

[5] 20070712095058: Trunk 4 (4718206) has outbound proxy udp:217.10.79.23:5061

[8] 20070712102711: DNS: dns_a sipgate.co.uk expired

Link to comment
Share on other sites

Not seeing a great deal in the logs. have pasted below could this be an issue caused by NAT?

1] 20070712095058: Starting up version 2.0.4.1747

[8] 20070712095058: Found interface on 192.168.1.20 with netmask 255.255.255.0

[8] 20070712095058: Found interface on 127.0.0.1 with netmask 255.0.0.0

[7] 20070712095058: Found time zone AKDT

[7] 20070712095058: Found time zone PDT

[7] 20070712095058: Found time zone MDT

[7] 20070712095058: Found time zone MST

[7] 20070712095058: Found time zone CDT

[7] 20070712095058: Found time zone EDT

[7] 20070712095058: Found time zone BST

[7] 20070712095058: Found time zone CET

[7] 20070712095058: Found time zone CST

[7] 20070712095058: Found time zone GMT

[1] 20070712095058: Working Directory is C:\Program Files\pbxnsip\PBX

[5] 20070712095058: Starting threads

[7] 20070712095058: UDP: Opening socket

[7] 20070712095058: UDP: Opening socket on port 5060

[7] 20070712095058: Opening TCP socket on port 5060

[7] 20070712095058: Opening TCP socket on port 81

[7] 20070712095058: Opening TCP socket on port 5061

[7] 20070712095058: Opening TCP socket on port 444

[7] 20070712095058: UDP: Opening socket on port 161

[7] 20070712095058: UDP: Opening socket on port 69

[8] 20070712095058: Resolve destination 1: url sip:sipgate.co.uk:5061

[8] 20070712095058: Resolve destination 1: a udp sipgate.co.uk 5061

[8] 20070712095058: DNS: Add dns_a sipgate.co.uk 217.10.79.23 (ttl=2173)

[8] 20070712095058: Resolve destination 1: a udp sipgate.co.uk 5061

[8] 20070712095058: Resolve destination 1: udp 217.10.79.23 5061

[5] 20070712095058: Trunk 4 (4718206) has outbound proxy udp:217.10.79.23:5061

[8] 20070712102711: DNS: dns_a sipgate.co.uk expired

 

Scrap that am now seeing more in the logs have pasted below

 

[8] 2007/07/12 11:26:50: Last message repeated 6 times

[5] 2007/07/12 11:26:50: Registration on trunk 4 (4718206) failed. Retry in 60 seconds

[8] 2007/07/12 11:27:20: DNS: dns_a sipgate.co.uk expired

[8] 2007/07/12 11:27:50: Resolve destination 19: url sip:sipgate.co.uk:5061

[8] 2007/07/12 11:27:50: Resolve destination 19: a udp sipgate.co.uk 5061

[8] 2007/07/12 11:27:50: DNS: Add dns_a sipgate.co.uk 217.10.79.23 (ttl=3566)

[8] 2007/07/12 11:27:50: Resolve destination 19: a udp sipgate.co.uk 5061

[8] 2007/07/12 11:27:50: Resolve destination 19: udp 217.10.79.23 5061

[8] 2007/07/12 11:27:50: Trunk 4 (4718206) has outbound proxy udp:217.10.79.23:5061

[8] 2007/07/12 11:27:50: Resolve destination 20: url sip:sipgate.co.uk:5061

[8] 2007/07/12 11:27:50: Resolve destination 20: a udp sipgate.co.uk 5061

[8] 2007/07/12 11:27:50: Resolve destination 20: udp 217.10.79.23 5061

[8] 2007/07/12 11:27:50: Send Packet REGISTER

[8] 2007/07/12 11:28:20: Last message repeated 6 times

[5] 2007/07/12 11:28:20: Registration on trunk 4 (4718206) failed. Retry in 60 seconds

Link to comment
Share on other sites

Why are you using port 5061? I see that port 5060 should be used.

 

ibm# host -t NAPTR sipgate.co.uk

sipgate.co.uk has no NAPTR record

ibm# host -t SRV _sips._tcp.sipgate.co.uk

Host _sips._tcp.sipgate.co.uk not found: 3(NXDOMAIN)

ibm# host -t SRV _sip._tcp.sipgate.co.uk

Host _sip._tcp.sipgate.co.uk not found: 3(NXDOMAIN)

ibm# host -t SRV _sip._udp.sipgate.co.uk

_sip._udp.sipgate.co.uk has SRV record 0 0 5060 sipgate.co.uk.

ibm# host sipgate.co.uk

sipgate.co.uk has address 217.10.79.23

sipgate.co.uk mail is handled by 10 mail-in.netzquadrat.de.

Link to comment
Share on other sites

Why are you using port 5061? I see that port 5060 should be used.

 

ibm# host -t NAPTR sipgate.co.uk

sipgate.co.uk has no NAPTR record

ibm# host -t SRV _sips._tcp.sipgate.co.uk

Host _sips._tcp.sipgate.co.uk not found: 3(NXDOMAIN)

ibm# host -t SRV _sip._tcp.sipgate.co.uk

Host _sip._tcp.sipgate.co.uk not found: 3(NXDOMAIN)

ibm# host -t SRV _sip._udp.sipgate.co.uk

_sip._udp.sipgate.co.uk has SRV record 0 0 5060 sipgate.co.uk.

ibm# host sipgate.co.uk

sipgate.co.uk has address 217.10.79.23

sipgate.co.uk mail is handled by 10 mail-in.netzquadrat.de.

 

Ok changed the port but now getting the error 475 Bad URI (475/SL)

 

Appreciate the help on this issue

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...