<p></p>
<p>Actually we have installed kamailio 5.4.2 and rtpengine like load balancer in a NAT environmet. behind the nat we have 2 identycal nodes using REFER for transfer calls to another destiny. This nodes does not have another SIP message. in the other NAT side we have our public carrier.</p>
<p>When some nodes send to kamailio the REFER message and kamailio reroute this message to the carrier. The call is rejected due company policies.</p>
<p>We want know how can we do for convert or modify the REFER message into INVITE for finally transfer the call.</p>
<p>thank you in advance.</p>
<p>kamailio -v:<br>
version: kamailio 5.4.2 (x86_64/linux) 4fdc21<br>
flags: USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, TLSF_MALLOC, DBG_SR_MEMORY, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES<br>
ADAPTIVE_WAIT_LOOPS 1024, MAX_RECV_BUFFER_SIZE 262144, MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB<br>
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.<br>
id: 4fdc21<br>
compiled on 20:43:45 Dec  1 2020 with unknown</p>
<p>Uname -a:<br>
Linux proxy 4.15.0-124-generic <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="68615518" data-permission-text="Title is private" data-url="https://github.com/kamailio/kamailio/issues/127" data-hovercard-type="issue" data-hovercard-url="/kamailio/kamailio/issues/127/hovercard" href="https://github.com/kamailio/kamailio/issues/127">#127</a>-Ubuntu SMP Fri Nov 6 10:54:43 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux</p>
<p>rtpengine -v:<br>
Version: 9.2.0.0+0~mr9.2.0.0 git-master-aa5e0244</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/2601">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZMJ746EWNOWL5X2IBLSZSD4HANCNFSM4V7SI6YA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZOVM5UCFFXCMQHMBF3SZSD4HA5CNFSM4V7SI6YKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4LWBZCOA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/2601",
"url": "https://github.com/kamailio/kamailio/issues/2601",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>