Thnk Mike, will finish testing
2013/11/5 Mike Tesliuk <m...@ultra.net.br> > You can use the avpops module > > avp_db_load("$fu","$avp(678)"); > > This will load the preferences from the user on avp(678) , so you check the > value and force the use of rtpproxy/mediaproxy as you do when the user is > behind proxy. > > > you can use the avp_db_query also > > avp_db_query("select value from usr_preferences where username='$fu' and > atrribute = 'USE_NAT'", > "$avp(678)"); > > in this case you should have an information for this username ($fu) using an > attribute USE_NAT , you can set the > value to 1 or 0 , and you do the rest on you dialplan > > > > > > 2013/11/5 troxlinux <xserverli...@gmail.com> > >> Thnk mike, an example where I can watch this? >> >> >> 2013/11/5 Mike Tesliuk <m...@ultra.net.br> >> >>> You can set a flag on usr_preferences to force the nat to that >>> customer so you can manage this on your dialplan >>> >>> if the user cannot be recognized over nat help you can force. >>> >>> _______________________________________________ >>> Users mailing list >>> Users@lists.opensips.org >>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users >>> >>> >> >> >> -- >> rickygm >> >> http://gnuforever.homelinux.com >> >> _______________________________________________ >> 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 > > -- rickygm http://gnuforever.homelinux.com
_______________________________________________ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users