[Serusers] HELP: mediaproxy re-INVITE NAT detection
Java Rockx
javarockx at gmail.com
Wed Mar 16 15:46:01 CET 2005
Adrian,
Thanks for the tip. Just to make sure I understand your comment should
I do what is shown below? If I do this won't calls that didn't use
mediaproxy on the original INVITE be sent through the mediproxy on
re-INVITEs or is this incorrect because I didn't call
fix_nated_contact() in the loose_route() section?
route {
#usual sanity checks
if (loose_route()) {
if (method=="INVITE") {
use_media_proxy();
};
r_relay();
break;
};
#ususal other processing like lookup("location")
}
Regards,
Paul
On Wed, 16 Mar 2005 15:39:41 +0100, Adrian Georgescu <ag at ag-projects.com> wrote:
> Just call the use of media_proxy, if the session exists it will use it
> otherwise not. Simple.
>
> Arian
>
> >>>>>>>
>
> Hi All.
>
> I'm using ser-0.9.1.
>
> Is there a way to determine if mediaproxy is in use for an existing
> SIP call so that re-INVITE messages can avoid losing audio when one or
> the other SIP UAs are NATed?
>
> But nothing has led me to a solution. I cannot just use
> lookup("location") and test the nat_flag since that won't always work
> on re-INVITEs. A mediaproxy function for something like
> is_existing_session() would be awesome to lookup the Call-ID in the
> existing mediaproxy sessions.
>
>
> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
>
>
>
More information about the sr-users
mailing list