C1 FS-UK
INVITE ------------------------------->
<------------------------------ 100 Trying
<------------------------------ 302 Moved Temporary C2@FS2
ACK ------------------------------->
<action application="redirect" data="sip:C2@FS-IN"/>
STEP 2) C1 call C2 on C2@FS-IN in India because of the redirect
C1 FS-IN
INVITE C2@FS-IN--------------------------------------------------------------------------------->
<------------------------------ 100 Trying STEP 3) FS-IN make a call back to C2@FS-UK back to FS-UK Now FS-IN make a bridge for C2 back on FS-UK (where C2 is SIP registered): <action application="bridge" data="C2@FS-UK"/>
FS-IN FS-UK
INVITE ------------------------------->
<------------------------------ 100 Trying
STEP 4) FS-UK (which has bypass_media) let the C2
ring and answer the call and provide the IP address of the leg on
FS-INFS-UK C2
INVITE ------------------------------->
<------------------------------ xxx ring, answer, etc
200 OK -------------------------------> For RTP it provide the IP address of FS-IN that has proxy_media=true
STEP 5) Now C1 and C2 are sending their RTP flow to FS-IN in india due to it's proxy_media SDP rewriting
I don't know if it was clear.Hi Steven, if i understand correctly in your scenario "C2" is SIP registered to FS2. While i would like to have C1 and C2 both SIP registered to FS1, but if they match certain parameters (that's application logic), i want their RTP flow to goes proxed trough FS2. FS1 is in Europe. FS2 is in India. C1 and C2 are in India. C1 and C2 are connected to FS1 in Europe for SIP. I would like to have the flow as follow: SIP Flow: C1 -> FS1 -> C2 RTP flow: C1 -> FS2 -> C2 Obviously FS1 need in some way to be able to "instruct" C1 and C2 to go trough FS2, and FS2 to handle RTP relay. >From my basic feeling i would need to move to a Kamailio+RTPProxy solutions, but if FS could have the flexibility to implement such solution it would be *much better* as i am already FS based. Also if some custom development is required, i would be happy to sponsor some bounty about it. Fabio