I don't think I am having any other issues. I used the "Bye on timeout"
option very shortly before version 1.7 came out. I don't think I am doing
anything when it comes to NOTIFY. This is a test user that is behind a
Vontage router and for whatever reason the Blink client isn't finding out
its Public IP. When he calls someone you can see from the NGREP that
OpenSIPS keeps sending OPTIONS to the private IP and then after a while
OpenSIPS sends BYES to both clients, but since the BYE for the caller is
sent to a 192.168 private address he thinks he is still on the call even
after the callee got the BYE and hung up. What version of OpenSIPS are you
currently running?
This is what I have configured when it comes to Register and Invites with
NAT
FOR REGISTERS
if(!search("^Contact:[ ]*\*") && client_nat_test("7")) {
setbflag(6);
fix_nated_contact(); #### - This is needed so that the contact address
#### - in the location table never has a private
#### - IP address in it
fix_nated_register();
force_rport();
$avp(rcv) = "sip:" + $tU + "@" + $si + ":" + $sp;
};
FOR INVITES
if (client_nat_test("7")) {
setbflag(7);
force_rport();
fix_nated_contact(); #### - This is needed so that the contact address
#### - in the location table never has a private
#### - IP address in it
#fix_contact();
};
On , Saúl Ibarra Corretgé <[email protected]> wrote:
HI,
On Mar 19, 2012, at 9:57 PM, osiris123d wrote:
> Saul or Vlad,
>
> Was this ever resolved? I think I might have the same issue and I am
using
> the trunk version.
>
Yes, it was resolved a while ago, IIRC around the 1.7.0 release, but it
was then fixed again.
> I have a Blink user behind NAT that registers and sends invites with
private
> IP in its VIA and Contact headers. I do fix_nated_contact and
> fix_nated_register without issue. The only problem I have is when
OpenSIPS
> sends the OPTIONS message for Dialog keepalives. It sends the OPTIONS to
> the private IP address instead of the Public IP. All the other messages
in
> the dialog get sent to the public IP and the call is established. Also
in
> the Location table everything has the public IP for "contact" and
> "received".
>
> Here is the link to Pastebin for the ngrep and the location record for
the
> caller
>
> http://pastebin.com/SMMsP03m
>
Dialog ping works for me, really well actually, it's probably some
misconfiguration. Do other in dialog requests generated by OpenSIPS work?
For example NOTIFY, BYE on timeout, etc.
Regards,
--
Saúl Ibarra Corretgé
AG Projects
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users