<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi everyone,<br>
I'm having a hard time transferring calls when the users are on
different FreeSWITCH servers behind kamailio.<br>
<br>
The users are distributed as follows:<br>
<a class="moz-txt-link-abbreviated" href="mailto:user1@sip.test.com">user1@sip.test.com</a> -> Kamailio - ds_select_dst(1,1) ->
FreeSWITCH1<br>
<a class="moz-txt-link-abbreviated" href="mailto:user2@sip.test.com">user2@sip.test.com</a>-> Kamailio - ds_select_dst(1,1) ->
FreeSWITCH1<br>
<a class="moz-txt-link-abbreviated" href="mailto:user3@sip.test.com">user3@sip.test.com</a> -> Kamailio - ds_select_dst(1,1) ->
FreeSWITCH2<br>
<br>
When user1 calls user2 and user2 does an attended transfer to user3,
the following happens:<br>
285 67.220453 USER2_IP -> KAMAILIO_IP SIP 726 Request: REFER
<a class="moz-txt-link-freetext" href="sip:mod_sofia@FreeSWITCH1_IP:5060">sip:mod_sofia@FreeSWITCH1_IP:5060</a>, in-dialog | <br>
286 67.220674 KAMAILIO_IP -> FreeSWITCH1_IP SIP 877 Request:
REFER <a class="moz-txt-link-freetext" href="sip:mod_sofia@FreeSWITCH1_IP:5060">sip:mod_sofia@FreeSWITCH1_IP:5060</a>, in-dialog | <br>
287 67.223651 FreeSWITCH1_IP -> KAMAILIO_IP SIP 925 Status: 202
Accepted | <br>
288 67.223753 KAMAILIO_IP -> USER2_IP SIP 838 Status: 202
Accepted | <br>
289 67.225502 FreeSWITCH1_IP -> KAMAILIO_IP SIP/SDP 1225
Request: INVITE <a class="moz-txt-link-freetext" href="sip:user3@sip.test.com">sip:user3@sip.test.com</a> | <br>
290 67.387323 KAMAILIO_IP -> 69.172.200.109 SIP/SDP 1420
Request: INVITE <a class="moz-txt-link-freetext" href="sip:user3@sip.test.com">sip:user3@sip.test.com</a> | <br>
<br>
Turns out 69.172.200.109 is the actual IP address of sip.test.com
(I've probably should have gone with sip.example.com or something
else).<br>
What is the proper way to route that INVITE back to the other
FreeSWITCH server so that the transfer would work?<br>
Thanks!<br>
<br>
Kind regards,<br>
<div class="moz-signature">-- <br>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<div class="moz-signature">
<meta http-equiv="content-type" content="text/html;
charset=utf-8">
<title></title>
<i>Iskren Hadzhinedev</i><br>
<br>
</div>
</div>
</body>
</html>