Maybe, you might be able to use the application unset to the variable sip_full_via.  Just an idea.  You need to try it.

-djbinter


On Fri, May 27, 2011 at 1:35 PM, Spencer Thomason <spencer@5ninesolutions.com> wrote:
Hello all,
We are trying to use Freeswitch as a SBC in conjunction with Opensips.  The call flow looks like this

User UA -> Opensips -> ITSP
                     |             |
                    \/            /\
                   Freeswitch

Opensips acts as a registrar and select the outbound route and listens on X.X.X.X:5060.   Freeswitch is a B2BUA and signaling server with media and listens on X.X.X.X:5070.

Basically a user sends an INVITE and immediately following auth, Opensips forwards to Freeswitch which sends a new call back to opensips which is then routed to our ITSPs.

With FS not listening on the default port, we get a received in the Via: message.

Via: SIP/2.0/UDP X.X.X.X:5070;received=X.X.X.X;rport=5070;branch=z9hG4bKpU7KvSaeKSc5D

Is there any way to remove the received header?

Thanks,
Spencer
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org