It seems that for some reason openser(555.111.555.111:5060) will not forward
the ACK packet in this scenario. Config at bottom. ACKs from other clients
seem to get forwarded just fine. Have tried both 1.0.1 and CVS-head same
results..
Thanks
111.222.111.222:5060 Openser (Statefull) sending us a call
555.111.555.111:5060 Openser (Statefull)
77.159.77.105:9193 Eyebeam Client
ACK is in SIP Message 9 which openser should then send to 77.159.77.105:9193
SIP MESSAGE 1 111.222.111.222:5060() -> 555.111.555.111:5060()
UDP Frame 1 21/Jun/06 16:13:12.8910
TimeFromPreviousSipFrame=0.0000 TimeFromStart=0.0000
INVITE sip:9999999019@555.111.555.111:5060 SIP/2.0
Record-Route:
<sip:9999999019@111.222.111.222:5060;nat=yes;ftag=783386-fdb1078445624;lr=on
Via: SIP/2.0/UDP 111.222.111.222;branch=z9hG4bKdbc7.ff2338c7.0
Via: SIP/2.0/UDP
666.111.82.202:5060;rport=5060;branch=z9hG4bK7833861-bdb1078445624
From: <sip:9999992264@666.111.82.202>;tag=783386-fdb1078445624
To: <sip:9999999019@111.222.111.222:5060
Call-ID: 100-1-1150920078(a)666.111.82.202
CSeq: 1 INVITE
Server: Sansay VSX 2.1
Contact: <sip:9999992264@666.111.82.202:5060;transport=udp
Max-Forwards: 69
Content-Type: application/sdp
Content-Length: 283
v=0
o=sansay-VSX 10 10 IN IP4 206.57.80.14
s=session controller
c=IN IP4 111.222.111.222
t=0 0
m=audio 63226 RTP/AVP 18 0 8 100
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:100 telephone-event/8000
a=fmtp:100 0-15
a=ptime:20
________________________________________
SIP MESSAGE 2 555.111.555.111:5060() -> 111.222.111.222:5060()
UDP Frame 2 21/Jun/06 16:13:12.8933
TimeFromPreviousSipFrame=0.0023 TimeFromStart=0.0023
SIP/2.0 100 trying -- your call is important to us
Via: SIP/2.0/UDP 111.222.111.222;branch=z9hG4bKdbc7.ff2338c7.0
Via: SIP/2.0/UDP
666.111.82.202:5060;rport=5060;branch=z9hG4bK7833861-bdb1078445624
From: <sip:9999992264@666.111.82.202>;tag=783386-fdb1078445624
To: <sip:9999999019@111.222.111.222:5060
Call-ID: 100-1-1150920078(a)666.111.82.202
CSeq: 1 INVITE
Server: OpenSer (1.0.1 (i386/linux))
Content-Length: 0
Warning: 392 555.111.555.111:5060 "Noisy feedback tells: pid=16606
req_src_ip=111.222.111.222 req_src_port=5060
in_uri=sip:9999999019@555.111.555.111:5060
out_uri=sip:9999999019@77.159.77.105:9193 via_cnt==2"
________________________________________
SIP MESSAGE 3 555.111.555.111:5060() -> 77.159.77.105:9193()
UDP Frame 3 21/Jun/06 16:13:12.8934
TimeFromPreviousSipFrame=0.0001 TimeFromStart=0.0024
INVITE sip:9999999019@77.159.77.105:9193 SIP/2.0
Record-Route: <sip:555.111.555.111;ftag=783386-fdb1078445624;lr=on
Record-Route:
<sip:9999999019@111.222.111.222:5060;nat=yes;ftag=783386-fdb1078445624;lr=on
Via: SIP/2.0/UDP 555.111.555.111;branch=z9hG4bKdbc7.30da3132.0
Via: SIP/2.0/UDP 111.222.111.222;branch=z9hG4bKdbc7.ff2338c7.0
Via: SIP/2.0/UDP
666.111.82.202:5060;rport=5060;branch=z9hG4bK7833861-bdb1078445624
From: <sip:9999992264@666.111.82.202>;tag=783386-fdb1078445624
To: <sip:9999999019@111.222.111.222:5060
Call-ID: 100-1-1150920078(a)666.111.82.202
CSeq: 1 INVITE
Server: Sansay VSX 2.1
Contact: <sip:9999992264@666.111.82.202:5060;transport=udp
Max-Forwards: 68
Content-Type: application/sdp
Content-Length: 283
P-hint: usrloc applied
v=0
o=sansay-VSX 10 10 IN IP4 206.57.80.14
s=session controller
c=IN IP4 111.222.111.222
t=0 0
m=audio 63226 RTP/AVP 18 0 8 100
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:100 telephone-event/8000
a=fmtp:100 0-15
a=ptime:20
________________________________________
SIP MESSAGE 4 77.159.77.105:9193() -> 555.111.555.111:5060()
UDP Frame 4 21/Jun/06 16:13:12.9413
TimeFromPreviousSipFrame=0.0479 TimeFromStart=0.0503
SIP/2.0 180 Ringing
Via: SIP/2.0/UDP 555.111.555.111;branch=z9hG4bKdbc7.30da3132.0
Via: SIP/2.0/UDP 111.222.111.222;branch=z9hG4bKdbc7.ff2338c7.0
Via: SIP/2.0/UDP
666.111.82.202:5060;rport=5060;branch=z9hG4bK7833861-bdb1078445624
Record-Route: <sip:555.111.555.111;ftag=783386-fdb1078445624;lr=on
Record-Route:
<sip:9999999019@111.222.111.222:5060;lr;nat=yes;ftag=783386-fdb1078445624
Contact: <sip:9999999019@77.159.77.105:9193
To: <sip:9999999019@111.222.111.222:5060>;tag=6963193a
From: <sip:9999992264@666.111.82.202>;tag=783386-fdb1078445624
Call-ID: 100-1-1150920078(a)666.111.82.202
CSeq: 1 INVITE
User-Agent: eyeBeam release 3010n stamp 19039
Content-Length: 0
________________________________________
SIP MESSAGE 5 555.111.555.111:5060() -> 111.222.111.222:5060()
UDP Frame 5 21/Jun/06 16:13:12.9426
TimeFromPreviousSipFrame=0.0013 TimeFromStart=0.0516
SIP/2.0 180 Ringing
Via: SIP/2.0/UDP 111.222.111.222;branch=z9hG4bKdbc7.ff2338c7.0
Via: SIP/2.0/UDP
666.111.82.202:5060;rport=5060;branch=z9hG4bK7833861-bdb1078445624
Record-Route: <sip:555.111.555.111;ftag=783386-fdb1078445624;lr=on
Record-Route:
<sip:9999999019@111.222.111.222:5060;lr;nat=yes;ftag=783386-fdb1078445624
Contact: <sip:9999999019@77.159.77.105:9193
To: <sip:9999999019@111.222.111.222:5060>;tag=6963193a
From: <sip:9999992264@666.111.82.202>;tag=783386-fdb1078445624
Call-ID: 100-1-1150920078(a)666.111.82.202
CSeq: 1 INVITE
User-Agent: eyeBeam release 3010n stamp 19039
Content-Length: 0
________________________________________
SIP MESSAGE 6 77.159.77.105:9193() -> 555.111.555.111:5060()
UDP Frame 7 21/Jun/06 16:13:13.9012
TimeFromPreviousSipFrame=0.9586 TimeFromStart=1.0102
Extra Information: Packet is not a complete SIP message
________________________________________
SIP MESSAGE 7 77.159.77.105:9193() -> 555.111.555.111:5060()
UDP Frame 8 21/Jun/06 16:13:15.1016
TimeFromPreviousSipFrame=1.2003 TimeFromStart=2.2106
SIP/2.0 200 OK
Via: SIP/2.0/UDP 555.111.555.111;branch=z9hG4bKdbc7.30da3132.0
Via: SIP/2.0/UDP 111.222.111.222;branch=z9hG4bKdbc7.ff2338c7.0
Via: SIP/2.0/UDP
666.111.82.202:5060;rport=5060;branch=z9hG4bK7833861-bdb1078445624
Record-Route: <sip:555.111.555.111;ftag=783386-fdb1078445624;lr=on
Record-Route:
<sip:9999999019@111.222.111.222:5060;lr;nat=yes;ftag=783386-fdb1078445624
Contact: <sip:9999999019@77.159.77.105:9193
To: <sip:9999999019@111.222.111.222:5060>;tag=6963193a
From: <sip:9999992264@666.111.82.202>;tag=783386-fdb1078445624
Call-ID: 100-1-1150920078(a)666.111.82.202
CSeq: 1 INVITE
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE,
INFO
Content-Type: application/sdp
Supported: eventlist
User-Agent: eyeBeam release 3010n stamp 19039
Content-Length: 235
v=0
o=- 519699122 519699160 IN IP4 77.159.77.105
s=eyeBeam
c=IN IP4 77.159.77.105
t=0 0
m=audio 6902 RTP/AVP 0 101
a=alt:1 1 : BA47AC39 000000CF 77.159.77.105 6902
a=fmtp:101 0-15
a=rtpmap:101 telephone-event/8000
a=sendrecv
________________________________________
SIP MESSAGE 8 555.111.555.111:5060() -> 111.222.111.222:5060()
UDP Frame 9 21/Jun/06 16:13:15.1037
TimeFromPreviousSipFrame=0.0021 TimeFromStart=2.2127
SIP/2.0 200 OK
Via: SIP/2.0/UDP 111.222.111.222;branch=z9hG4bKdbc7.ff2338c7.0
Via: SIP/2.0/UDP
666.111.82.202:5060;rport=5060;branch=z9hG4bK7833861-bdb1078445624
Record-Route: <sip:555.111.555.111;ftag=783386-fdb1078445624;lr=on
Record-Route:
<sip:9999999019@111.222.111.222:5060;lr;nat=yes;ftag=783386-fdb1078445624
Contact: <sip:9999999019@77.159.77.105:9193
To: <sip:9999999019@111.222.111.222:5060>;tag=6963193a
From: <sip:9999992264@666.111.82.202>;tag=783386-fdb1078445624
Call-ID: 100-1-1150920078(a)666.111.82.202
CSeq: 1 INVITE
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE,
INFO
Content-Type: application/sdp
Supported: eventlist
User-Agent: eyeBeam release 3010n stamp 19039
Content-Length: 235
v=0
o=- 519699122 519699160 IN IP4 77.159.77.105
s=eyeBeam
c=IN IP4 77.159.77.105
t=0 0
m=audio 6902 RTP/AVP 0 101
a=alt:1 1 : BA47AC39 000000CF 77.159.77.105 6902
a=fmtp:101 0-15
a=rtpmap:101 telephone-event/8000
a=sendrecv
________________________________________
SIP MESSAGE 9 111.222.111.222:5060() -> 555.111.555.111:5060()
UDP Frame 10 21/Jun/06 16:13:15.2282
TimeFromPreviousSipFrame=0.1245 TimeFromStart=2.3372
ACK sip:9999999019@555.111.555.111:5060 SIP/2.0
Record-Route: <sip:111.222.111.222;ftag=783386-fdb1078445624;lr=on
Via: SIP/2.0/UDP 111.222.111.222;branch=0
Via: SIP/2.0/UDP
666.111.82.202:5060;rport=5060;branch=z9hG4bK78338620-bdb1078445624
Route: <sip:555.111.555.111;ftag=783386-fdb1078445624;lr=on
From: <sip:9999992264@666.111.82.202>;tag=783386-fdb1078445624
To: <sip:9999999019@111.222.111.222:5060>;tag=6963193a
Call-ID: 100-1-1150920078(a)666.111.82.202
CSeq: 1 ACK
Server: Sansay VSX 2.1
Max-Forwards: 69
Content-Length: 0
________________________________________
SIP MESSAGE 10 77.159.77.105:9193() -> 555.111.555.111:5060()
UDP Frame 11 21/Jun/06 16:13:15.5921
TimeFromPreviousSipFrame=0.3639 TimeFromStart=2.7011
SIP/2.0 200 OK
Via: SIP/2.0/UDP 555.111.555.111;branch=z9hG4bKdbc7.30da3132.0
Via: SIP/2.0/UDP 111.222.111.222;branch=z9hG4bKdbc7.ff2338c7.0
Via: SIP/2.0/UDP
666.111.82.202:5060;rport=5060;branch=z9hG4bK7833861-bdb1078445624
Record-Route: <sip:555.111.555.111;ftag=783386-fdb1078445624;lr=on
Record-Route:
<sip:9999999019@111.222.111.222:5060;lr;nat=yes;ftag=783386-fdb1078445624
Contact: <sip:9999999019@77.159.77.105:9193
To: <sip:9999999019@111.222.111.222:5060>;tag=6963193a
From: <sip:9999992264@666.111.82.202>;tag=783386-fdb1078445624
Call-ID: 100-1-1150920078(a)666.111.82.202
CSeq: 1 INVITE
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE,
INFO
Content-Type: application/sdp
Supported: eventlist
User-Agent: eyeBeam release 3010n stamp 19039
Content-Length: 235
v=0
o=- 519699122 519699160 IN IP4 77.159.77.105
s=eyeBeam
c=IN IP4 77.159.77.105
t=0 0
m=audio 6902 RTP/AVP 0 101
a=alt:1 1 : BA47AC39 000000CF 77.159.77.105 6902
a=fmtp:101 0-15
a=rtpmap:101 telephone-event/8000
a=sendrecv
________________________________________
SIP MESSAGE 11 555.111.555.111:5060() -> 111.222.111.222:5060()
UDP Frame 12 21/Jun/06 16:13:15.5942
TimeFromPreviousSipFrame=0.0020 TimeFromStart=2.7032
SIP/2.0 200 OK
Via: SIP/2.0/UDP 111.222.111.222;branch=z9hG4bKdbc7.ff2338c7.0
Via: SIP/2.0/UDP
666.111.82.202:5060;rport=5060;branch=z9hG4bK7833861-bdb1078445624
Record-Route: <sip:555.111.555.111;ftag=783386-fdb1078445624;lr=on
Record-Route:
<sip:9999999019@111.222.111.222:5060;lr;nat=yes;ftag=783386-fdb1078445624
Contact: <sip:9999999019@77.159.77.105:9193
To: <sip:9999999019@111.222.111.222:5060>;tag=6963193a
From: <sip:9999992264@666.111.82.202>;tag=783386-fdb1078445624
Call-ID: 100-1-1150920078(a)666.111.82.202
CSeq: 1 INVITE
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE,
INFO
Content-Type: application/sdp
Supported: eventlist
User-Agent: eyeBeam release 3010n stamp 19039
Content-Length: 235
v=0
o=- 519699122 519699160 IN IP4 77.159.77.105
s=eyeBeam
c=IN IP4 77.159.77.105
t=0 0
m=audio 6902 RTP/AVP 0 101
a=alt:1 1 : BA47AC39 000000CF 77.159.77.105 6902
a=fmtp:101 0-15
a=rtpmap:101 telephone-event/8000
a=sendrecv
________________________________________
SIP MESSAGE 12 111.222.111.222:5060() -> 555.111.555.111:5060()
UDP Frame 13 21/Jun/06 16:13:15.6761
TimeFromPreviousSipFrame=0.0819 TimeFromStart=2.7850
ACK sip:9999999019@555.111.555.111:5060 SIP/2.0
Record-Route: <sip:111.222.111.222;ftag=783386-fdb1078445624;lr=on
Via: SIP/2.0/UDP 111.222.111.222;branch=0
Via: SIP/2.0/UDP
666.111.82.202:5060;rport=5060;branch=z9hG4bK78338620-bdb1078445624
Route: <sip:555.111.555.111;ftag=783386-fdb1078445624;lr=on
From: <sip:9999992264@666.111.82.202>;tag=783386-fdb1078445624
To: <sip:9999999019@111.222.111.222:5060>;tag=6963193a
Call-ID: 100-1-1150920078(a)666.111.82.202
CSeq: 1 ACK
Server: Sansay VSX 2.1
Max-Forwards: 69
Content-Length: 0
-*-*-*-*-*-*-*-*-*-*-*-
route{
# initial sanity checks -- messages with
# max_forwards==0, or excessively long requests
if (!mf_process_maxfwd_header("10")) {
sl_send_reply("483","Too Many Hops");
exit;
};
if (msg:len >= 2048 ) {
sl_send_reply("513", "Message too big");
exit;
};
# we record-route all messages -- to make sure that
# subsequent messages will go through our proxy; that's
# particularly good if upstream and downstream entities
# use different transport protocol
if (!method=="REGISTER")
record_route();
# subsequent messages withing a dialog should take the
# path determined by record-routing
if (loose_route()) {
# mark routing logic in request
append_hf("P-hint: rr-enforced\r\n");
route(1);
};
if (!uri==myself) {
# mark routing logic in request
append_hf("P-hint: outbound\r\n");
# if you have some interdomain connections via TLS
#if(uri=~"(a)tls_domain1.net") {
# t_relay("tls:domain1.net");
# exit;
#} else if(uri=~"(a)tls_domain2.net") {
# t_relay("tls:domain2.net");
# exit;
#}
route(1);
};
# if the request is for other domain use UsrLoc
# (in case, it does not work, use the following command
# with proper names and addresses in it)
if (uri==myself) {
if (method=="REGISTER") {
# Uncomment this if you want to use digest
authentication
#if (!www_authorize("openser.org",
"subscriber")) {
# www_challenge("openser.org", "0");
# exit;
#};
save("location");
exit;
};
lookup("aliases");
if (!uri==myself) {
append_hf("P-hint: outbound alias\r\n");
route(1);
};
# native SIP destinations are handled using our USRLOC DB
if (!lookup("location")) {
sl_send_reply("404", "Not Found");
exit;
};
append_hf("P-hint: usrloc applied\r\n");
};
route(1);
}
route[1] {
# send it out now; use stateful forwarding as it works reliably
# even for UDP2TCP
if (!t_relay()) {
sl_reply_error();
};
exit;
}