Hi,

 

I'm trying to do a POC using FS, the goal is to have FS handle REFERs containing proprietary data.

I want to have some logic on top of FS and also use the fail over mechanism.

in short, I have something like this:

(third party) A side  --- FS ---- B side (IVR server)

 

the IVR the sends a REFER to FS. I don't want A to deal with it.

now say B refers to C, it would be considered as a "group" C1, C2 ... to which I want FS to failover.

only when one has answered should A be updated (REINVITE) and B notified and disconnected.

if all fails I would expect B to be notified of the failure and proceed as I wish without "losing" A.

 

from what I've read FS should be OK for the job but I have a couple issues:

 

1 ) I have some issues getting FS handle a REFER while in bypass-media mode.

(I tried with the release and some revisions including latest)

first when I bridge A and B everything is fine and media is bypassed.

When B sends REFER to C:

-           FS immediately NOTIFY B of success and send a reinvite to A with SDP containing its own media IP/port.

-          then it does INVITE C with A's SDP.

-          B gets disconnected. A is not updated with C's sdp.

so at this point A sends RTP to FS and C sends RTP to A. …

 

I basically have one extension for B: (set bypass-media and bridge to B)

and another extension to C which does the same actions.

what do you think I do wrong?

 

 

2 ) how can I catch the REFER and set variables from it? (like ref-by or ref-to)

in the dial plan I do catch the INVITE sent to C, but how to do it with the REFER itself?

 

 

thanks for your help!

 

 

Best Regards,

Victor.