Any thoughts on how one might load the c= IP into an AVP, or something similar? I'd love to do exactly what you say, use the c= line to determine whether a mediaproxy should be used or not, but I don't see a way to load it into a variable from the SDP.
Certain IP networks I want to proxy, everything else should be left alone. Once I know the connectio IP the next step will be to figure out how to evaluate whether it's in a certain block or not. - Jeff On 6/9/09 4:39 AM, "Dan Pascu" <[email protected]> wrote: > You could add a SIP header and not start mediaproxy if present. Or use > some heuristics on the IP addresses from the SDP (origin IP vs c= line > IP). Or depending on your topology, you can know that a certain proxy > has a special relationship with the caller/callee and it's the only > one that should call engage_media_proxy() _______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
