Kelvin,
As BYEs are not generated by Kamailio, only relayed, the setting does not
affect them. That setting only affects initial Route set placement in the
initial INVITE to which the RR header is added.
-- Alex
On 11/28/2013 10:14 AM, Kelvin Chua wrote:
hi carsten,
thanks for the insight, that's possible.
enable_full_lr is already set. are BYEs unaffected by that setting?
On Nov 28, 2013 10:44 PM, "Carsten Bock" <carsten(a)ng-voice.com
<mailto:carsten@ng-voice.com>> wrote:
Probably the other Server is validating the Route headers against the
last set of Record-Route headers:
In ACK:
Record-Route: <sip:6X.2X1.4.1X5;lr=on;ftag=gK0662d671>.
Record-Route: <sip:6X.2X1.4.9X;lr=on;ftag=gK0662d671>.
In the BYE:
Route: <sip:6X.2X1.4.1X5;lr;ftag=gK0662d671>.
Route: <sip:6X.2X1.4.9X;lr;ftag=gK0662d671>.
Probably their server does not like, that first you have "lr=on" and
later it's just "lr".
Kind regards,
Carsten
2013/11/28 Kelvin Chua <kelchy(a)gmail.com <mailto:kelchy@gmail.com>>:
U 2013/11/28 09:06:09.411796 6X.2X1.4.1X5:5060
->
2X8.1X1.3X.2X:5060
INVITE sip:+18X88X441X1@2X8.1X1.3X.2X SIP/2.0.
Record-Route: <sip:6X.2X1.4.1X5;lr=on;ftag=gK0662d671>.
Record-Route: <sip:6X.2X1.4.9X;lr=on;ftag=gK0662d671>.
Accept: application/sdp.
Allow: INVITE,ACK,CANCEL,BYE.
Via: SIP/2.0/UDP 6X.2X1.4.1X5;branch=z9hG4bKcff3.da8920b2.0.
Via: SIP/2.0/UDP 6X.2X1.4.9X;branch=z9hG4bKcff3.66c425c4.0.
Via: SIP/2.0/UDP
192.168.47.68:5060;branch=z9hG4bK06Bbcfc5fb404048790.
From: <sip:+18X16X620X3@192.168.47.68
<mailto:sip%3A%2B18X16X620X3@192.168.47.68>;isup-oli=0>;
tag=gK0662d671.
To: <sip:+18X88X441X1@6X.2X1.4.9X>.
Call-ID: 1443253238_103264169(a)192.168.47.68
<mailto:1443253238_103264169@192.168.47.68>.
CSeq: 525 INVITE.
Max-Forwards: 47.
Contact: <sip:+18X16X620X3@192.168.47.68:5060
<http://sip:+18X16X620X3@192.168.47.68:5060>>.
Content-Length: 327.
Content-Disposition: session; handling=required.
Content-Type: application/sdp.
Remote-Party-ID:
<sip:+18X16X620X3@192.168.47.68:5060
<http://sip:+18X16X620X3@192.168.47.68:5060>>;privacy=off;screen=no.
.
v=0.
o=Sonus_UAC 30934 15833 IN IP4 192.168.47.68.
s=SIP Media Capabilities.
c=IN IP4 6X.2X1.4.9X.
t=0 0.
m=audio 5770 RTP/AVP 0 18 96 101.
a=rtpmap:0 PCMU/8000.
a=rtpmap:18 G729/8000.
a=fmtp:18 annexb=no.
a=rtpmap:96 iLBC/8000.
a=fmtp:96 mode=30.
a=rtpmap:101 telephone-event/8000.
a=fmtp:101 0-15.
a=sendrecv.
a=maxptime:30.
U 2013/11/28 09:06:09.413388 2X8.1X1.3X.2X:5060 ->
6X.2X1.4.1X5:5060
SIP/2.0 183 Session Progress.
Record-Route: <sip:6X.2X1.4.1X5;lr=on;ftag=gK0662d671>.
Record-Route: <sip:6X.2X1.4.9X;lr=on;ftag=gK0662d671>.
Via: SIP/2.0/UDP
6X.2X1.4.1X5;branch=z9hG4bKcff3.da8920b2.0;rport=5060.
Via: SIP/2.0/UDP
6X.2X1.4.9X;branch=z9hG4bKcff3.66c425c4.0.
Via: SIP/2.0/UDP
192.168.47.68:5060;branch=z9hG4bK06Bbcfc5fb404048790.
From: <sip:+18X16X620X3@192.168.47.68
<mailto:sip%3A%2B18X16X620X3@192.168.47.68>;isup-oli=0>;
tag=gK0662d671.
To:
<sip:+18X88X441X1@6X.2X1.4.9X>;tag=bbd932f8f9dbf9743f9b7cadcbf622
ac.10eb.
Call-ID: 1443253238_103264169(a)192.168.47.68
<mailto:1443253238_103264169@192.168.47.68>.
CSeq: 525 INVITE.
Server: kamailio (4.0.4 (x86_64/linux)).
Content-Length: 0.
.
U 2013/11/28 09:06:09.413936 2X8.1X1.3X.2X:5060 ->
6X.2X1.4.1X5:5060
SIP/2.0 100 trying -- your call is important to
us.
Via: SIP/2.0/UDP
6X.2X1.4.1X5;branch=z9hG4bKcff3.da8920b2.0;rport=5060.
Via: SIP/2.0/UDP
6X.2X1.4.9X;branch=z9hG4bKcff3.66c425c4.0.
Via: SIP/2.0/UDP
192.168.47.68:5060;branch=z9hG4bK06Bbcfc5fb404048790.
From: <sip:+18X16X620X3@192.168.47.68
<mailto:sip%3A%2B18X16X620X3@192.168.47.68>;isup-oli=0>;
tag=gK0662d671.
To: <sip:+18X88X441X1@6X.2X1.4.9X>.
Call-ID: 1443253238_103264169(a)192.168.47.68
<mailto:1443253238_103264169@192.168.47.68>.
CSeq: 525 INVITE.
Server: kamailio (4.0.4 (x86_64/linux)).
Content-Length: 0.
.
U 2013/11/28 09:06:10.672460 2X8.1X1.3X.2X:5060 ->
6X.2X1.4.1X5:5060
SIP/2.0 180 Ringing.
Via: SIP/2.0/UDP
6X.2X1.4.1X5;rport=5060;branch=z9hG4bKcff3.da8920b2.0.
Via: SIP/2.0/UDP
6X.2X1.4.9X;branch=z9hG4bKcff3.66c425c4.0.
Via: SIP/2.0/UDP
192.168.47.68:5060;branch=z9hG4bK06Bbcfc5fb404048790.
> Record-Route: <sip:2X8.1X1.3X.2X;lr;did=873.7d91;nat=yes>.
> Record-Route: <sip:6X.2X1.4.1X5;lr;ftag=gK0662d671>.
> Record-Route: <sip:6X.2X1.4.9X;lr;ftag=gK0662d671>.
Call-ID: 1443253238_103264169(a)192.168.47.68
<mailto:1443253238_103264169@192.168.47.68>.
From: <sip:+18X16X620X3@192.168.47.68
<mailto:sip%3A%2B18X16X620X3@192.168.47.68>;isup-oli=0>;
tag=gK0662d671.
To:
<sip:+18X88X441X1@6X.2X1.4.9X>;tag=3pOAt1HRTOy9Xfi4Rsbbz9gf73MsuXge.
CSeq: 525 INVITE.
Contact: <sip:1X5.6X.1X6.2X3:9439>.
Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, SUBSCRIBE,
NOTIFY,
REFER, MESSAGE, OPTIONS.
Content-Length: 0.
.
U 2013/11/28 09:06:12.931892 2X8.1X1.3X.2X:5060 ->
6X.2X1.4.1X5:5060
SIP/2.0 200 OK.
Via: SIP/2.0/UDP
6X.2X1.4.1X5;rport=5060;branch=z9hG4bKcff3.da8920b2.0.
Via: SIP/2.0/UDP
6X.2X1.4.9X;branch=z9hG4bKcff3.66c425c4.0.
Via: SIP/2.0/UDP
192.168.47.68:5060;branch=z9hG4bK06Bbcfc5fb404048790.
> Record-Route: <sip:2X8.1X1.3X.2X;lr;did=873.7d91;nat=yes>.
> Record-Route: <sip:6X.2X1.4.1X5;lr;ftag=gK0662d671>.
> Record-Route: <sip:6X.2X1.4.9X;lr;ftag=gK0662d671>.
Call-ID: 1443253238_103264169(a)192.168.47.68
<mailto:1443253238_103264169@192.168.47.68>.
From: <sip:+18X16X620X3@192.168.47.68
<mailto:sip%3A%2B18X16X620X3@192.168.47.68>;isup-oli=0>;
tag=gK0662d671.
To:
<sip:+18X88X441X1@6X.2X1.4.9X>;tag=3pOAt1HRTOy9Xfi4Rsbbz9gf73MsuXge.
CSeq: 525 INVITE.
Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, SUBSCRIBE,
NOTIFY,
REFER, MESSAGE, OPTIONS.
Contact: <sip:1X5.6X.1X6.2X3:9439>.
Supported: replaces, 100rel, timer, norefersub.
Content-Type: application/sdp.
Content-Length:238.
.
v=0.
o=- 3594636366 3594636367 IN IP4 2X8.1X1.3X.2X.
s=pjmedia.
i=(o=IN IP4 10.0.193.243).
c=IN IP4 1X5.6X.1X6.2X3.
t=0 0.
m=audio 10246 RTP/AVP 0.
c=IN IP4 2X8.1X1.3X.2X.
a=rtcp:10247.
a=sendrecv.
a=rtpmap:0 PCMU/8000.
a=nortpproxy:yes.
U 2013/11/28 09:06:12.960342 6X.2X1.4.1X5:5060 ->
2X8.1X1.3X.2X:5060
ACK sip:1X5.6X.1X6.2X3:9439 SIP/2.0.
Record-Route: <sip:6X.2X1.4.1X5;lr=on;ftag=gK0662d671>.
Record-Route: <sip:6X.2X1.4.9X;lr=on;ftag=gK0662d671>.
Via: SIP/2.0/UDP 6X.2X1.4.1X5;branch=z9hG4bKcff3.da8920b2.2.
Via: SIP/2.0/UDP 6X.2X1.4.9X;branch=z9hG4bKcff3.66c425c4.2.
Via: SIP/2.0/UDP
192.168.47.68:5060;branch=z9hG4bK06Bbd0344f60e48a125.
From: <sip:+18X16X620X3@192.168.47.68
<mailto:sip%3A%2B18X16X620X3@192.168.47.68>;isup-oli=0>;
tag=gK0662d671.
To:
<sip:+18X88X441X1@6X.2X1.4.9X>;tag=3pOAt1HRTOy9Xfi4Rsbbz9gf73MsuXge.
Call-ID: 1443253238_103264169(a)192.168.47.68
<mailto:1443253238_103264169@192.168.47.68>.
CSeq: 525 ACK.
Max-Forwards: 68.
Route: <sip:2X8.1X1.3X.2X:5060;lr;did=873.7d91;nat=yes>.
Content-Length: 0.
.
------------------------ call goes on a for a while
---------------------------
U 2013/11/28 09:06:24.358786 2X8.1X1.3X.2X:5060 ->
6X.2X1.4.1X5:5060
BYE sip:+18X16X620X3@6X.2X1.4.1X5:5060 SIP/2.0.
Via: SIP/2.0/UDP 2X8.1X1.3X.2X;branch=z9hG4bKbb1b.267a7326.0.
Via: SIP/2.0/UDP
1X5.6X.1X6.2X3:9439;rport=9439;branch=z9hG4bKPj6XR.AckX-
G8lRIN4ZuDvjaPB6ZnUpHUa.
Max-Forwards: 16.
From:
<sip:+18X88X441X1@6X.2X1.4.9X>;tag=3pOAt1HRTOy9Xfi4Rsbbz9gf73MsuXge.
To: <sip:+18X16X620X3@192.168.47.68
<mailto:sip%3A%2B18X16X620X3@192.168.47.68>;isup-oli=0>;
tag=gK0662d671.
Call-ID: 1443253238_103264169(a)192.168.47.68
<mailto:1443253238_103264169@192.168.47.68>.
CSeq: 5685 BYE.
Route: <sip:6X.2X1.4.1X5;lr;ftag=gK0662d671>.
Route: <sip:6X.2X1.4.9X;lr;ftag=gK0662d671>.
User-Agent: CSipSimple_m0-16/r2330.
Content-Length: 0.
.
U 2013/11/28 09:06:24.372741 6X.2X1.4.1X5:5060 ->
2X8.1X1.3X.2X:5060
SIP/2.0 500 Invalid routeset.
Via: SIP/2.0/UDP 2X8.1X1.3X.2X;branch=z9hG4bKbb1b.267a7326.0.
Via: SIP/2.0/UDP
1X5.6X.1X6.2X3:9439;rport=9439;branch=z9hG4bKPj6XR.AckX-
G8lRIN4ZuDvjaPB6ZnUpHUa.
From:
<sip:+18188244111@6X.2X1.4.9X>;tag=3pOAt1HRTOy9Xfi4Rsbbz9gf73MsuXge.
To: <sip:+18X16X620X3@192.168.47.68
<mailto:sip%3A%2B18X16X620X3@192.168.47.68>;isup-oli=0>;
tag=gK0662d671.
Call-ID: 1443253238_103264169(a)192.168.47.68
<mailto:1443253238_103264169@192.168.47.68>.
CSeq: 5685 BYE.
Server:
Bandwidth.com CLEC.
Content-Length: 0.
.
Kelvin Chua
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users
mailing list
sr-users(a)lists.sip-router.org
<mailto:sr-users@lists.sip-
router.org>
--
Carsten Bock
CEO (Geschäftsführer)
ng-voice GmbH
Schomburgstr. 80
D-22767 Hamburg / Germany
http://www.ng-voice.com
mailto:carsten@ng-voice.com <mailto:carsten@ng-voice.com>
Office +49 40 34927219 <tel:%2B49%2040%2034927219>
Fax +49 40 34927220 <tel:%2B49%2040%2034927220>
Sitz der Gesellschaft: Hamburg
Registergericht: Amtsgericht Hamburg, HRB 120189
Geschäftsführer: Carsten Bock
Ust-ID: DE279344284
Hier finden Sie unsere handelsrechtlichen Pflichtangaben:
http://www.ng-voice.com/imprint/
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing
list
sr-users(a)lists.sip-router.org <mailto:sr-users@lists.sip-router.org>
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Alex Balashov - Principal
Evariste Systems LLC
235 E Ponce de Leon Ave
Suite 106
Decatur, GA 30030
United States
Tel: +1-678-954-0670
Web:
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users(a)lists.sip-router.org