opensips as an outbound proxy

  • Anonymous - 2010-06-14


    I'm struggling with setting up opensips as an outbound proxy. My goal is to route SIP traffic from UA (behind NAT, TCP connection to opensips) through my opensips proxy to arbitrary SIP provider (e.g. betamax, gizmo5, etc..).

    I currently try to intercept REGISTER messages, do fix_nat_register(), then save("location","mr") and forward it to the provider's proxy. I cannot use Path extension because it's not universally accepted. Then, when I receive incoming call, I call lookup("location") and forward the INVITE over the persistent TCP connection to the UA. However when I receive ACK from the provider's proxy, it ends up in a loop on my opensips proxy (probably because the target uri is that of my proxy). What can I do to forward the ACKs (and other in-dialog requests) to the UA?

    Many thanks


  • Anonymous - 2010-06-15

    nevermind, I found out I have to call lookup("location") even for in-dialog requests


Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks