<div dir="ltr"><div><div><div><div>Hi,<br><br>I&#39;m trying to configure OpenSIPS 1.8.2 to handle the REFER scenario but when we receive the REFER message, rather than send an INVITE to the destination in the Refer-To header, the INVITE flows back up the SIP path to the caller. I&#39;ve attached the OpenSIPS config, the call flow and the refer.xml to this mail.<br>
<br></div>The platform in question has an OpenSIPS instance listening on port 5060 that handles NAT, when this receives a call it then calls a second OpenSIPS B2B instance (the one I am having trouble with) that listens on port 5080, the OpenSIPS B2B instance then initiates the b2b_init_request(&quot;refer&quot;); causing it to send an INVITE to itself, then it does some load balancing and makes a call to our UAS which sends out a REFER telling OpenSIPS B2B to talk to a different UAS. OpenSIPS B2B then replies with a 202 and hangs up the leg to our UAS.<br>
<br></div>Everything works up until this point. Rather than send an INVITE out to the address in the Refer-To header which looks like :<br><br>&lt;<a href="mailto:sip%3A%2B44818118181@192.168.46.103">sip:+44818118181@192.168.46.103</a>;moshxfer=beta_mosh_111111;prefs=1_s6~2_s7~3_h1~4_h2~5_hh~6_s5~7_s8~8_h3~9_..;mode=client;calluid=alphapapa-415f-11e3-9d31-939a1e091c8b;custref=beta;anncset=default;trace=false;suffix=00&gt;<br>
<br></div>it sends an INVITE out to the Contact URI of the incoming call.<br><br></div>If someone could please tell me what I&#39;m doing wrong I&#39;d appreciate it as I&#39;m beating my head against the keyboard at the moment :)<br>
<br>Cheers,<br><br>Rus<br></div>