Hi Jayesh,
On 01/27/2011 04:22 PM, Jayesh Nambiar wrote:
Hi All,
I am trying to use B2B modules for specific application. The scenario
is as follows:
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 "sip:[email protected]
<mailto:sip%[email protected]>"
Now other thing that I am trying is, my FS(freeswitch) will send a
REFER request with REFER-TO header as "sip:[email protected]
<mailto:sip%[email protected]>;room=12345;pin=1234". I require my
opensips in B2B mode to extract these values which are "room" and
"pin" from the REFER-TO header and append them as custom-headers in
the INVITE message when transferring the call to 192.168.2.15.
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.
This is not possible with the current B2B implementation.
I have observed that when the REFER-TO header contains additional
parameters like "room" and "pin" 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.
Check if there are any errors in your log file and reply if you find any.
Regards,
--
Anca Vamanu
www.voice-system.ro
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users