I have my SER server running on a Linux machine and I am
attempting to forward some requests to a Cisco SIP server. I have been
running X-lite clients on windows and the same Linux box that the SER server is
running on. I have no problem completing calls between the X-lite clients
OR with either X-lite client calling the Cisco SIP server directly. However,
when I try to make a call from either X-lite client through the SER server I
eventually get timeout methods. I am trapping those calls and wrote the
following route block:
route [5] {
record_route();
forward(uri:host, uri:port);
}
I have tried replacing the forward with send() and t_relay()
method calls, but nothing seems to work.
The header from the X-lite client directly to the Cisco SIP
server, which works is:
INVITE sip:2158200@65.221.7.xxx
SIP/2.0
Via: SIP/2.0/UDP 166.34.149.xxx:5061;rport;branch=z9hG4bK5963AD09C90F6F3A16F55A271C98F573
From: Harry Harcrow
<sip:1000@166.34.149.xxx:5061>;tag=1279481120
To:
<sip:2158200@65.221.7.xxx>
Contact:
<sip:1000@166.34.149.xxx:5061>
Call-ID:
28E5B723-9B02-BF38-1A81-1FECC0A85D5E@166.34.149.xxx
CSeq: 6254 INVITE
Max-Forwards: 70
Content-Type:
application/sdp
User-Agent: X-Lite release
1105d
Content-Length: 313
The header from SER to the Cisco server, which does not work
is:
INVITE sip:2158200@65.221.7.xxx
SIP/2.0
Record-Route:
<sip:166.34.149.xxx;ftag=2061592395;lr=on>
Via: SIP/2.0/UDP 166.34.149.xxx;branch=0
Via: SIP/2.0/UDP 166.34.149.xxx:5061;rport=5061;branch=z9hG4bK4EA9A90B8CE7CE52BFB69DA431560E57
From: Harry Harcrow
<sip:1000@166.34.149.xxx:5061>;tag=2061592395
To:
<sip:2158200@65.221.7.xxx>
Contact:
<sip:1000@166.34.149.xxx:5061>
Call-ID:
38CA166F-59A6-E44B-F34E-9E1D6307698B@166.34.149.xxx
CSeq: 3009 INVITE
Max-Forwards: 16
Content-Type:
application/sdp
User-Agent: X-Lite release
1105d
Content-Length: 313
The only thing that I can see different is the record_route
record and an additional Via record.
Does anyone have any idea what I am doing wrong?
Thanks
Harry Harcrow