<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.30.3">
</HEAD>
<BODY>
Dear UserList Opensips:<BR>
<BR>
I used drouting with OpenSips 1.8.0 release, the gateways list was in the dr_gateways table and no ports where configurated in it. For incoming calls wasn't necesary.<BR>
<BR>
Now, I upgrade OpenSips to 1.9.1 release and for incoming calls from a few providers, I can't do match they whith the "is_from_gw()" directive. I tried in this diferents forms:<BR>
<BR>
is_from_gw(), OpenSips start and providers with 5060-udp port match fine, but a few providers who employ other random ports haven't match.<BR>
is_from_gw("", "n"), OpenSips start but incoming calls haven't match with the gateways on dr_gateways table.<BR>
is_from_gw("-1", "n"), OpenSips don't start.<BR>
is_from_gw("diferents_formats", "n"), OpenSips start but incoming calls haven't match with the gateways on dr_gateways table.<BR>
<BR>
Then I need to ask you...<BR>
<BR>
¿How I have to use the is_from_gw directive with "n" parameter and dr_gateways table with the list of incoming calls providers?.<BR>
<BR>
¿Which is the field on the dr_gateways table where i can make match with type parameter on the is_from_gw directive?.<BR>
<BR>
Thanyou very much and best regards.<BR>
<BR>
Miguel J. López.
</BODY>
</HTML>