Hi,

I am currently trying to set up a SIP trunk so that I can call to regular
phones through my SipX server.
I am having some problems though to authenticate with the ITSP's SIP trunk
service.
Log messages from sipxbridge.log shows that the request either times out or
that it is not found (errors 404 and 408).
I do not believe that it is the fire wall, because I have tried to open both
port 5060 and port 5080 both to and from the SipX server.
Another reason why it should not be problem with the firewall is because
that my SipX server is the one who registers to the ITSP server, i.e. the
SipX server opens a connection.

I find it a bit interesting that it writes the local address in the SIP
messages (as you can see in the log message below).
The SipX server knows that it is under NAT and that it should use NAT
traversal, as well as that it knows its public IP address.
I also find it interesting that the source and destination addresses are
identical saying "username@ITSP_provider_domain", especially when the ITSP
(I called them to see if they had any logs of what was wring) said that it
should be "username@my_domain".

I have tried to use port 5080 on my server and send authentication requests
to port 5060 on the ITSP's server.
I have also tried to use port 5060 on my SipX server while using the option
where SipX listens to that port for SIP trunking messages.

The two main guides I've followed are:
http://wiki.sipfoundry.org/display/sipXecs/SIP+Trunking
http://blog.myitdepartment.net/?p=191

Other info
--------------
The firewall is a Juniper SSG5 (firmware 6.3.0R8.0)
ITSP: DGC (http://www.dgc.se/sv/om-dgc/About-DGC-ENG/)
Name of the SipX server: sipx1.prod.sipx

Log messages from /var/log/sipxpbx/sipxbridge.log

Outgoing message:
----------------------------
"2011-09-09T10:04:07.209000Z":20:OUTGOING:INFO:sipx1.prod.sipx:Timer-0:00000000:sipXbridge:"Sent
SIP Message :\n----Remote Host:192.168.10.12---- Port: 5060----\nREGISTER
sip:ITSP_provider_domain SIP/2.0\r\nCall-ID:
[email protected]\r\nCSeq: 2 REGISTER\r\nFrom:
<sip:username@ITSP_provider_domain>;tag=892685948627891857\r\nTo:
<sip:username@ITSP_provider_domain>\r\nVia: SIP/2.0/TCP
192.168.10.12:5080;branch=z9hG4bK65a6742857b86280cbfa7e40924e361e383035\r\nMax-Forwards:
70\r\nUser-Agent: sipXecs/4.4.0 sipXecs/sipxbridge (Linux)\r\nAllow:
INVITE,BYE,ACK,CANCEL,OPTIONS\r\nSupported: timer\r\nRoute:
<sip:192.168.10.12:5060;transport=tcp;lr>\r\nContact: <
sip:[email protected];transport=tcp>\r\nExpires: 600\r\nContent-Length:
0\r\n\r\n--------------------END--------------------\n"

Incoming message:
----------------------------
"2011-09-09T10:04:12.336000Z":22:INCOMING:INFO:sipx1.prod.sipx:PipelineThread-0:00000000:sipXbridge:"Read
SIP Message:\n----Remote Host:192.168.10.12---- Port: 5060----\nSIP/2.0 408
Request timeout\r\nFrom:
<sip:username@ITSP_provider_domain>;tag=892685948627891857\r\nTo:
<sip:username@ITSP_provider_domain>;tag=CHszxZ\r\nCall-ID:
[email protected]\r\nCSeq: 2 REGISTER\r\nVia:
SIP/2.0/TCP 
192.168.10.12:5080;branch=z9hG4bK65a6742857b86280cbfa7e40924e361e383035\r\nServer:
sipXecs/4.4.0 sipXecs/sipXproxy (Linux)\r\nContent-Length:
0\r\n\r\n====================END====================\n"

Sniffing with Wireshark shows pretty much the same thing as these logs.
_______________________________________________
sipx-users mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-users/

Reply via email to