Hi
One more thing,
During Nated to PSTN calls , on reply , reply route is not executed.
Here is the trace from ngrep
#######################################################################################
#
U xxx.xxx.16.194:5061 -> xxx.xxx.190.51:5060
INVITE sip:800900800@XXXXXX.XXXXX.XXX SIP/2.0..Via: SIP/2.0/UDP xxx.xxx.16.194:5061;rport;branch=z9hG4bK1038F227
01BD0EF5F76A88C87628C608..From: 08281962103 <sip:08281962103@XXXXXX.XXXXX.XXX:5061>;tag=660878483..To: <sip:8009
00800@XXXXXX.XXXXX.XXX>..Contact: <sip:08281962103@xxx.xxx.16.194:5061>..Call-ID: 4CAE1C97-67A7-8A07-B3FF-4E122F
113099@192.168.1.10..CSeq: 20325 INVITE..Max-Forwards: 70..Content-Type: application/sdp..User-Agent: X-Lite release 11
05d..Content-Length: 293....v=0..o=08281962103 2844250539 2844250642 IN IP4 xxx.xxx.16.194..s=X-Lite..c=IN IP4 122.169.
16.194..t=0 0..m=audio 8000 RTP/AVP 0 8 3 98 101..a=rtpmap:0 pcmu/8000..a=rtpmap:8 pcma/8000..a=rtpmap:3 gsm/8000..a=rt
pmap:98 iLBC/8000..a=rtpmap:101 telephone-event/8000..a=fmtp:101 0-15..a=sendrecv..
#
U xxx.xxx.190.51:5060 -> xxx.xxx.16.194:5061
SIP/2.0 407 Proxy Authentication Required..Via: SIP/2.0/UDP xxx.xxx.16.194:5061;rport=5061;branch=z9hG4bK1038F22701BD0E
F5F76A88C87628C608..From: 08281962103 <sip:08281962103@XXXXXX.XXXXX.XXX:5061>;tag=660878483..To: <sip:800900800@
XXXXXX.XXXXX.XXX>;tag=b802e73ab92fec121a4f880263d541a3.ef67..Call-ID: 4CAE1C97-67A7-8A07-B3FF-4E122F113099@192.1
68.1.10..CSeq: 20325 INVITE..Proxy-Authenticate: Digest realm="XXXXXX.XXXXX.XXX", nonce="481b0547bb2c135b83a7938
0026cdaf6a2007b4a"..Server: OpenSER (1.2.1-notls (i386/linux))..Content-Length: 0....
#
U xxx.xxx.16.194:5061 -> xxx.xxx.190.51:5060
ACK sip:800900800@XXXXXX.XXXXX.XXX SIP/2.0..Via: SIP/2.0/UDP xxx.xxx.16.194:5061;rport;branch=z9hG4bK1038F22701B
D0EF5F76A88C87628C608..From: 08281962103 <sip:08281962103@XXXXXX.XXXXX.XXX:5061>;tag=660878483..To: <sip:8009008
00@XXXXXX.XXXXX.XXX>;tag=b802e73ab92fec121a4f880263d541a3.ef67..Contact: <sip:08281962103@xxx.xxx.16.194:5061>..
Call-ID: 4CAE1C97-67A7-8A07-B3FF-4E122F113099@192.168.1.10..CSeq: 20325 ACK..Max-Forwards: 70..Content-Length: 0....
#
U xxx.xxx.16.194:5061 -> xxx.xxx.190.51:5060
INVITE sip:800900800@XXXXXX.XXXXX.XXX SIP/2.0..Via: SIP/2.0/UDP xxx.xxx.16.194:5061;rport;branch=z9hG4bK531E08BE
030E99FE369F25E3CAEC7443..From: 08281962103 <sip:08281962103@XXXXXX.XXXXX.XXX:5061>;tag=660878483..To: <sip:8009
00800@XXXXXX.XXXXX.XXX>..Contact: <sip:08281962103@xxx.xxx.16.194:5061>..Call-ID: 4CAE1C97-67A7-8A07-B3FF-4E122F
113099@192.168.1.10..CSeq: 20326 INVITE..Proxy-Authorization: Digest username="08281962103",realm="voiptest.convergenze
.it",nonce="481b0547bb2c135b83a79380026cdaf6a2007b4a",response="a66a7fff4dbfba9dc37a5e4c3b44652a",uri="sip:800900800@vo
iptest.convergenze.it"..Max-Forwards: 70..Content-Type: application/sdp..User-Agent: X-Lite release 1105d..Content-Leng
th: 293....v=0..o=08281962103 2844250539 2844250642 IN IP4 xxx.xxx.16.194..s=X-Lite..c=IN IP4 xxx.xxx.16.194..t=0 0..m=
audio 8000 RTP/AVP 0 8 3 98 101..a=rtpmap:0 pcmu/8000..a=rtpmap:8 pcma/8000..a=rtpmap:3 gsm/8000..a=rtpmap:98 iLBC/8000
..a=rtpmap:101 telephone-event/8000..a=fmtp:101 0-15..a=sendrecv..
#
U xxx.xxx.190.51:5060 -> xxx.xxx.179.28:5060
INVITE sip:800900800@xxx.xxx.179.28:5060;transport=udp SIP/2.0..Record-Route: <sip:XXXXXX.XXXXX.XXX:5060;nat=yes
;ftag=660878483;lr=on>..Via: SIP/2.0/UDP xxx.xxx.190.51;branch=z9hG4bKa5cc.576d5334.0..Via: SIP/2.0/UDP xxx.xxx.16.194:5
061;rport=5061;branch=z9hG4bK531E08BE030E99FE369F25E3CAEC7443..From: 08281962103 <sip:08281962103@voiptest.convergenze.
it:5061>;tag=660878483..To: <sip:800900800@XXXXXX.XXXXX.XXX>..Contact: <sip:08281962103@xxx.xxx.16.194:5061>..Ca
ll-ID: 4CAE1C97-67A7-8A07-B3FF-4E122F113099@192.168.1.10..CSeq: 20326 INVITE..Max-Forwards: 69..Content-Type: applicati
on/sdp..User-Agent: X-Lite release 1105d..Content-Length: 314....v=0..o=08281962103 2844250539 2844250642 IN IP4 122.16
9.16.194..s=X-Lite..c=IN IP4 213.136.179.21..t=0 0..m=audio 42214 RTP/AVP 0 8 3 98 101..a=rtpmap:0 pcmu/8000..a=rtpmap:
8 pcma/8000..a=rtpmap:3 gsm/8000..a=rtpmap:98 iLBC/8000..a=rtpmap:101 telephone-event/8000..a=fmtp:101 0-15..a=sendrecv
..a=direction:active..
#
U xxx.xxx.179.28:5060 -> xxx.xxx.190.51:5060
SIP/2.0 100 Trying..Call-ID: 4CAE1C97-67A7-8A07-B3FF-4E122F113099@192.168.1.10..CSeq: 20326 INVITE..From: 08281962103 <
sip:08281962103@XXXXXX.XXXXX.XXX:5061>;tag=660878483..To: <sip:800900800@XXXXXX.XXXXX.XXX>;tag=cfcb0b247c
4126c..Via: SIP/2.0/UDP xxx.xxx.190.51;branch=z9hG4bKa5cc.576d5334.0..Via: SIP/2.0/UDP xxx.xxx.16.194:5061;branch=z9hG4b
K531E08BE030E99FE369F25E3CAEC7443;rport=5061..Content-Length: 0..User-Agent: Mediatrix MDD1404 2404 1500 1600 2500 2600
MxSF v3.2.8.45 00a0ba009b05....
#
U xxx.xxx.179.28:5060 -> xxx.xxx.190.51:5060
SIP/2.0 183 Session Progress..Call-ID: 4CAE1C97-67A7-8A07-B3FF-4E122F113099@192.168.1.10..CSeq: 20326 INVITE..From: 082
81962103 <sip:08281962103@XXXXXX.XXXXX.XXX:5061>;tag=660878483..To: <sip:800900800@XXXXXX.XXXXX.XXX>;tag=
cfcb0b247c4126c..Via: SIP/2.0/UDP xxx.xxx.190.51;branch=z9hG4bKa5cc.576d5334.0..Via: SIP/2.0/UDP xxx.xxx.16.194:5061;bra
nch=z9hG4bK531E08BE030E99FE369F25E3CAEC7443;rport=5061..Record-Route: <sip:XXXXXX.XXXXX.XXX:5060;nat=yes;ftag=66
0878483;lr=on>..Content-Length: 211..Content-Type: application/sdp..Contact: sip:800900800@xxx.xxx.179.28:5060..User-Ag
ent: Mediatrix MDD1404 2404 1500 1600 2500 2600 MxSF v3.2.8.45 00a0ba009b05....v=0..o=MxSIP 0 370160 IN IP4 213.136.179
.28..s=SIP Call..c=IN IP4 xxx.xxx.179.28..t=0 0..m=audio 15536 RTP/AVP 0 8 101..a=rtpmap:0 pcmu/8000..a=rtpmap:8 pcma/8
000..a=rtpmap:101 telephone-event/8000..a=sendrecv..
#
U xxx.xxx.190.51:5060 -> xxx.xxx.16.194:5061
SIP/2.0 183 Session Progress..Call-ID: 4CAE1C97-67A7-8A07-B3FF-4E122F113099@192.168.1.10..CSeq: 20326 INVITE..From: 082
81962103 <sip:08281962103@XXXXXX.XXXXX.XXX:5061>;tag=660878483..To: <sip:800900800@XXXXXX.XXXXX.XXX>;tag=
cfcb0b247c4126c..Via: SIP/2.0/UDP xxx.xxx.16.194:5061;branch=z9hG4bK531E08BE030E99FE369F25E3CAEC7443;rport=5061..Record
-Route: <sip:XXXXXX.XXXXX.XXX:5060;nat=yes;ftag=660878483;lr=on>..Content-Length: 211..Content-Type: application
/sdp..Contact: sip:800900800@xxx.xxx.179.28:5060..User-Agent: Mediatrix MDD1404 2404 1500 1600 2500 2600 MxSF v3.2.8.45
00a0ba009b05....v=0..o=MxSIP 0 370160 IN IP4 xxx.xxx.179.28..s=SIP Call..c=IN IP4 xxx.xxx.179.28..t=0 0..m=audio 15536
RTP/AVP 0 8 101..a=rtpmap:0 pcmu/8000..a=rtpmap:8 pcma/8000..a=rtpmap:101 telephone-event/8000..a=sendrecv..
#
U xxx.xxx.179.28:5060 -> xxx.xxx.190.51:5060
SIP/2.0 200 OK..Call-ID: 4CAE1C97-67A7-8A07-B3FF-4E122F113099@192.168.1.10..CSeq: 20326 INVITE..From: 08281962103 <sip:
08281962103@XXXXXX.XXXXX.XXX:5061>;tag=660878483..To: <sip:800900800@XXXXXX.XXXXX.XXX>;tag=cfcb0b247c4126
c..Via: SIP/2.0/UDP xxx.xxx.190.51;branch=z9hG4bKa5cc.576d5334.0..Via: SIP/2.0/UDP xxx.xxx.16.194:5061;branch=z9hG4bK531
E08BE030E99FE369F25E3CAEC7443;rport=5061..Record-Route: <sip:XXXXXX.XXXXX.XXX:5060;nat=yes;ftag=660878483;lr=on>
..Content-Length: 211..Content-Type: application/sdp..Supported: replaces..Contact: sip:800900800@xxx.xxx.179.28:5060..
User-Agent: Mediatrix MDD1404 2404 1500 1600 2500 2600 MxSF v3.2.8.45 00a0ba009b05....v=0..o=MxSIP 0 370160 IN IP4 213.
136.179.28..s=SIP Call..c=IN IP4 xxx.xxx.179.28..t=0 0..m=audio 15536 RTP/AVP 0 8 101..a=rtpmap:0 pcmu/8000..a=rtpmap:8
pcma/8000..a=rtpmap:101 telephone-event/8000..a=sendrecv..
#
U xxx.xxx.190.51:5060 -> xxx.xxx.16.194:5061
SIP/2.0 200 OK..Call-ID: 4CAE1C97-67A7-8A07-B3FF-4E122F113099@192.168.1.10..CSeq: 20326 INVITE..From: 08281962103 <sip:
08281962103@XXXXXX.XXXXX.XXX:5061>;tag=660878483..To: <sip:800900800@XXXXXX.XXXXX.XXX>;tag=cfcb0b247c4126
c..Via: SIP/2.0/UDP xxx.xxx.16.194:5061;branch=z9hG4bK531E08BE030E99FE369F25E3CAEC7443;rport=5061..Record-Route: <sip:v
oiptest.convergenze.it:5060;nat=yes;ftag=660878483;lr=on>..Content-Length: 211..Content-Type: application/sdp..Supporte
d: replaces..Contact: sip:800900800@xxx.xxx.179.28:5060..User-Agent: Mediatrix MDD1404 2404 1500 1600 2500 2600 MxSF v3
.2.8.45 00a0ba009b05....v=0..o=MxSIP 0 370160 IN IP4 xxx.xxx.179.28..s=SIP Call..c=IN IP4 xxx.xxx.179.28..t=0 0..m=audi
o 15536 RTP/AVP 0 8 101..a=rtpmap:0 pcmu/8000..a=rtpmap:8 pcma/8000..a=rtpmap:101 telephone-event/8000..a=sendrecv..
#
U xxx.xxx.179.28:5060 -> xxx.xxx.190.51:5060
SIP/2.0 200 OK..Call-ID: 4CAE1C97-67A7-8A07-B3FF-4E122F113099@192.168.1.10..CSeq: 20326 INVITE..From: 08281962103 <sip:
08281962103@XXXXXX.XXXXX.XXX:5061>;tag=660878483..To: <sip:800900800@XXXXXX.XXXXX.XXX>;tag=cfcb0b247c4126
c..Via: SIP/2.0/UDP xxx.xxx.190.51;branch=z9hG4bKa5cc.576d5334.0..Via: SIP/2.0/UDP xxx.xxx.16.194:5061;branch=z9hG4bK531
E08BE030E99FE369F25E3CAEC7443;rport=5061..Record-Route: <sip:XXXXXX.XXXXX.XXX:5060;nat=yes;ftag=660878483;lr=on>
..Content-Length: 211..Content-Type: application/sdp..Supported: replaces..Contact: sip:800900800@xxx.xxx.179.28:5060..
User-Agent: Mediatrix MDD1404 2404 1500 1600 2500 2600 MxSF v3.2.8.45 00a0ba009b05....v=0..o=MxSIP 0 370160 IN IP4 213.
136.179.28..s=SIP Call..c=IN IP4 xxx.xxx.179.28..t=0 0..m=audio 15536 RTP/AVP 0 8 101..a=rtpmap:0 pcmu/8000..a=rtpmap:8
pcma/8000..a=rtpmap:101 telephone-event/8000..a=sendrecv..
#
U xxx.xxx.190.51:5060 -> xxx.xxx.16.194:5061
SIP/2.0 200 OK..Call-ID: 4CAE1C97-67A7-8A07-B3FF-4E122F113099@192.168.1.10..CSeq: 20326 INVITE..From: 08281962103 <sip:
08281962103@XXXXXX.XXXXX.XXX:5061>;tag=660878483..To: <sip:800900800@XXXXXX.XXXXX.XXX>;tag=cfcb0b247c4126
c..Via: SIP/2.0/UDP xxx.xxx.16.194:5061;branch=z9hG4bK531E08BE030E99FE369F25E3CAEC7443;rport=5061..Record-Route: <sip:v
oiptest.convergenze.it:5060;nat=yes;ftag=660878483;lr=on>..Content-Length: 211..Content-Type: application/sdp..Supporte
d: replaces..Contact: sip:800900800@xxx.xxx.179.28:5060..User-Agent: Mediatrix MDD1404 2404 1500 1600 2500 2600 MxSF v3
.2.8.45 00a0ba009b05....v=0..o=MxSIP 0 370160 IN IP4 xxx.xxx.179.28..s=SIP Call..c=IN IP4 xxx.xxx.179.28..t=0 0..m=audi
o 15536 RTP/AVP 0 8 101..a=rtpmap:0 pcmu/8000..a=rtpmap:8 pcma/8000..a=rtpmap:101 telephone-event/8000..a=sendrecv..
#
U xxx.xxx.16.194:5061 -> xxx.xxx.190.51:5060
ACK sip:800900800@xxx.xxx.179.28:5060 SIP/2.0..Via: SIP/2.0/UDP xxx.xxx.16.194:5061;rport;branch=z9hG4bK5F9BAF3F87BEB79
D755EC35828AFCD6C..From: 08281962103 <sip:08281962103@XXXXXX.XXXXX.XXX:5061>;tag=660878483..To: <sip:800900800@v
oiptest.convergenze.it>;tag=cfcb0b247c4126c..Contact: <sip:08281962103@xxx.xxx.16.194:5061>..Route: <sip:voiptest.conve
rgenze.it:5060;nat=yes;ftag=660878483;lr=on>..Call-ID: 4CAE1C97-67A7-8A07-B3FF-4E122F113099@192.168.1.10..CSeq: 20326 A
CK..Max-Forwards: 70..Content-Length: 0....
#
U xxx.xxx.190.51:5060 -> xxx.xxx.179.28:5060
ACK sip:800900800@xxx.xxx.179.28:5060 SIP/2.0..Record-Route: <sip:xxx.xxx.190.51;lr=on;ftag=660878483>..Via: SIP/2.0/UDP
xxx.xxx.190.51;branch=z9hG4bKa5cc.576d5334.2..Via: SIP/2.0/UDP xxx.xxx.16.194:5061;rport=5061;branch=z9hG4bK5F9BAF3F87B
EB79D755EC35828AFCD6C..From: 08281962103 <sip:08281962103@XXXXXX.XXXXX.XXX:5061>;tag=660878483..To: <sip:8009008
00@XXXXXX.XXXXX.XXX>;tag=cfcb0b247c4126c..Contact: <sip:08281962103@xxx.xxx.16.194:5061>..Call-ID: 4CAE1C97-67A7
-8A07-B3FF-4E122F113099@192.168.1.10..CSeq: 20326 ACK..Max-Forwards: 69..Content-Length: 0....
#
U xxx.xxx.16.194:5061 -> xxx.xxx.190.51:5060
ACK sip:800900800@xxx.xxx.179.28:5060 SIP/2.0..Via: SIP/2.0/UDP xxx.xxx.16.194:5061;rport;branch=z9hG4bK5F9BAF3F87BEB79
D755EC35828AFCD6C..From: 08281962103 <sip:08281962103@XXXXXX.XXXXX.XXX:5061>;tag=660878483..To: <sip:800900800@v
oiptest.convergenze.it>;tag=cfcb0b247c4126c..Contact: <sip:08281962103@xxx.xxx.16.194:5061>..Route: <sip:voiptest.conve
rgenze.it:5060;nat=yes;ftag=660878483;lr=on>..Call-ID: 4CAE1C97-67A7-8A07-B3FF-4E122F113099@192.168.1.10..CSeq: 20326 A
CK..Max-Forwards: 70..Content-Length: 0....
#
U xxx.xxx.190.51:5060 -> xxx.xxx.179.28:5060
ACK sip:800900800@xxx.xxx.179.28:5060 SIP/2.0..Record-Route: <sip:xxx.xxx.190.51;lr=on;ftag=660878483>..Via: SIP/2.0/UDP
xxx.xxx.190.51;branch=z9hG4bKa5cc.576d5334.2..Via: SIP/2.0/UDP xxx.xxx.16.194:5061;rport=5061;branch=z9hG4bK5F9BAF3F87B
EB79D755EC35828AFCD6C..From: 08281962103 <sip:08281962103@XXXXXX.XXXXX.XXX:5061>;tag=660878483..To: <sip:8009008
00@XXXXXX.XXXXX.XXX>;tag=cfcb0b247c4126c..Contact: <sip:08281962103@xxx.xxx.16.194:5061>..Call-ID: 4CAE1C97-67A7
-8A07-B3FF-4E122F113099@192.168.1.10..CSeq: 20326 ACK..Max-Forwards: 69..Content-Length: 0....
--
Thanks & regards,
Krunal Patel
Software Engineer
Ecosmob Technologies Pvt. Ltd.