Hi All,<div>I am trying to use B2B modules for specific application. The scenario is as follows:</div><div>My Freeswitch sends a REFER request and I need my opensips in B2B mode to handle the REFER request properly. I have used the REFER scenario explained in the tutorial and it works as expected when the REFER-TO header is similar to the format &quot;<a href="mailto:sip%3A12345@192.168.2.15">sip:12345@192.168.2.15</a>&quot;</div>
<div>Now other thing that I am trying is, my FS(freeswitch) will send a REFER request with REFER-TO header as &quot;<a href="mailto:sip%3A12345@192.168.2.15">sip:12345@192.168.2.15</a>;room=12345;pin=1234&quot;. I require my opensips in B2B mode to extract these values which are &quot;room&quot; and &quot;pin&quot; from the REFER-TO header and append them as custom-headers in the INVITE message when transferring the call to 192.168.2.15.</div>
<div>Is this possible? Is it possible in the b2b scenario document to add custom headers when the second leg is generated? Can i also extract the REFER-TO header from the REFER message when using opensips in b2b mode.</div>
<div>I have observed that when the REFER-TO header contains additional parameters like &quot;room&quot; and &quot;pin&quot; as in the above example the transfer is not done properly. Opensips sends a 202 accepted, disconnects the connected call by sending a BYE but it does not transfer the call to 192.168.2.15. Any help in this regards will also help a bit.</div>
<div><br></div><div>Thanks all for the great response as always.....</div><div><br></div><div>--- Jayesh</div><div><br></div><div> </div>