Yes, it's setbflag(6) used.

if ($si == "192.168.101.5") {
  setbflag(6);
  ...
}
if (isbflagset(6))
    xlog("L_INFO","BFLAG SET");

Jun  3 14:11:52 vs01 /usr/sbin/opensips[27233]: BFLAG SET


03.06.2016 14:03, Liviu Chircu пишет:
Hi Igor,

Are you sure you are using "setbflag(6)" and not "setflag(6)"? It's a very important detail, since doing a "setflag(6)" would be completely irrelevant, and useless.

Liviu Chircu
OpenSIPS Developer
http://www.opensips-solutions.com

On 03.06.2016 12:02, Igor Pavlov wrote:
Hi, all. I have a problem with TCP in opensips 1.11.7. All users are registered with tcp proto. Call flow: userA -> (tcp) opensips -> (udp) freeswitch -> (udp) opensips -> (tcp) userB.

When call is coming from FS I get error:

Jun  3 11:53:57  ERROR:tm:msg_send: tcp_send failed
Jun  3 11:53:57  ERROR:tm:t_forward_nonack: sending request failed
opensips.cfg contain tcp_no_new_conn_bflag = 6 and I'm setting this flag when INVITE is coming from FS.


____________
Best regards,
Igor Pavlov


_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

--
____________
Best regards,
Igor Pavlov


_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to