"Fossies" - the Fresh Open Source Software Archive

Member "opensips-3.0.1/scripts/pi_http/carrierroute-mod" (16 Apr 2019, 5211 Bytes) of package /linux/misc/opensips-3.0.1.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 	<!-- carrierroute provisionning -->
    2 	<mod><mod_name>carrierroute</mod_name>
    3 		<cmd><cmd_name>show</cmd_name>
    4 			<db_table_id>carrierroute</db_table_id>
    5 			<cmd_type>DB_QUERY</cmd_type>
    6 			<query_cols>
    7 				<col><field>id</field><link_cmd>update</link_cmd></col>
    8 				<col><field>carrier</field></col>
    9 				<col><field>domain</field></col>
   10 				<col><field>scan_prefix</field></col>
   11 				<col><field>flags</field></col>
   12 				<col><field>mask</field></col>
   13 				<col><field>prob</field></col>
   14 				<col><field>strip</field></col>
   15 				<col><field>rewrite_host</field></col>
   16 				<col><field>rewrite_prefix</field></col>
   17 				<col><field>rewrite_suffix</field></col>
   18 				<col><field>description</field></col>
   19 			</query_cols>
   20 		</cmd>
   21 		<cmd><cmd_name>add</cmd_name>
   22 			<db_table_id>carrierroute</db_table_id>
   23 			<cmd_type>DB_INSERT</cmd_type>
   24 			<query_cols>
   25 				<col><field>carrier</field></col>
   26 				<col><field>domain</field></col>
   27 				<col><field>scan_prefix</field></col>
   28 				<col><field>flags</field></col>
   29 				<col><field>mask</field></col>
   30 				<col><field>prob</field></col>
   31 				<col><field>strip</field></col>
   32 				<col><field>rewrite_host</field></col>
   33 				<col><field>rewrite_prefix</field></col>
   34 				<col><field>rewrite_suffix</field></col>
   35 				<col><field>description</field></col>
   36 			</query_cols>
   37 		</cmd>
   38 		<cmd><cmd_name>update</cmd_name>
   39 			<db_table_id>carrierroute</db_table_id>
   40 			<cmd_type>DB_UPDATE</cmd_type>
   41 			<clause_cols>
   42 				<col><field>id</field><operator>=</operator></col>
   43 			</clause_cols>
   44 			<query_cols>
   45 				<col><field>carrier</field></col>
   46 				<col><field>domain</field></col>
   47 				<col><field>scan_prefix</field></col>
   48 				<col><field>flags</field></col>
   49 				<col><field>mask</field></col>
   50 				<col><field>prob</field></col>
   51 				<col><field>strip</field></col>
   52 				<col><field>rewrite_host</field></col>
   53 				<col><field>rewrite_prefix</field></col>
   54 				<col><field>rewrite_suffix</field></col>
   55 				<col><field>description</field></col>
   56 			</query_cols>
   57 		</cmd>
   58 		<cmd><cmd_name>delete</cmd_name>
   59 			<db_table_id>carrierroute</db_table_id>
   60 			<cmd_type>DB_DELETE</cmd_type>
   61 			<clause_cols>
   62 				<col><field>id</field><operator>=</operator></col>
   63 			</clause_cols>
   64 		</cmd>
   65 	</mod>
   66 	<!-- carrierfailureroute provisionning -->
   67 	<mod><mod_name>carrierfailureroute</mod_name>
   68 		<cmd><cmd_name>show</cmd_name>
   69 			<db_table_id>carrierfailureroute</db_table_id>
   70 			<cmd_type>DB_QUERY</cmd_type>
   71 			<query_cols>
   72 				<col><field>id</field><link_cmd>update</link_cmd></col>
   73 				<col><field>carrier</field></col>
   74 				<col><field>domain</field></col>
   75 				<col><field>scan_prefix</field></col>
   76 				<col><field>host_name</field></col>
   77 				<col><field>reply_code</field></col>
   78 				<col><field>flags</field></col>
   79 				<col><field>mask</field></col>
   80 				<col><field>next_domain</field></col>
   81 				<col><field>description</field></col>
   82 			</query_cols>
   83 		</cmd>
   84 		<cmd><cmd_name>add</cmd_name>
   85 			<db_table_id>carrierfailureroute</db_table_id>
   86 			<cmd_type>DB_INSERT</cmd_type>
   87 			<query_cols>
   88 				<col><field>carrier</field></col>
   89 				<col><field>domain</field></col>
   90 				<col><field>scan_prefix</field></col>
   91 				<col><field>host_name</field></col>
   92 				<col><field>reply_code</field></col>
   93 				<col><field>flags</field></col>
   94 				<col><field>mask</field></col>
   95 				<col><field>next_domain</field></col>
   96 				<col><field>description</field></col>
   97 			</query_cols>
   98 		</cmd>
   99 		<cmd><cmd_name>update</cmd_name>
  100 			<db_table_id>carrierfailureroute</db_table_id>
  101 			<cmd_type>DB_UPDATE</cmd_type>
  102 			<clause_cols>
  103 				<col><field>id</field><operator>=</operator></col>
  104 			</clause_cols>
  105 			<query_cols>
  106 				<col><field>carrier</field></col>
  107 				<col><field>domain</field></col>
  108 				<col><field>scan_prefix</field></col>
  109 				<col><field>host_name</field></col>
  110 				<col><field>reply_code</field></col>
  111 				<col><field>flags</field></col>
  112 				<col><field>mask</field></col>
  113 				<col><field>next_domain</field></col>
  114 				<col><field>description</field></col>
  115 			</query_cols>
  116 		</cmd>
  117 		<cmd><cmd_name>delete</cmd_name>
  118 			<db_table_id>carrierfailureroute</db_table_id>
  119 			<cmd_type>DB_DELETE</cmd_type>
  120 			<clause_cols>
  121 				<col><field>id</field><operator>=</operator></col>
  122 			</clause_cols>
  123 		</cmd>
  124 	</mod>
  125 	<!-- route_tree provisionning -->
  126 	<mod><mod_name>route_tree</mod_name>
  127 		<cmd><cmd_name>show</cmd_name>
  128 			<db_table_id>route_tree</db_table_id>
  129 			<cmd_type>DB_QUERY</cmd_type>
  130 			<query_cols>
  131 				<col><field>id</field><link_cmd>update</link_cmd></col>
  132 				<col><field>carrier</field></col>
  133 			</query_cols>
  134 		</cmd>
  135 		<cmd><cmd_name>add</cmd_name>
  136 			<db_table_id>route_tree</db_table_id>
  137 			<cmd_type>DB_INSERT</cmd_type>
  138 			<query_cols>
  139 				<col><field>carrier</field></col>
  140 			</query_cols>
  141 		</cmd>
  142 		<cmd><cmd_name>update</cmd_name>
  143 			<db_table_id>route_tree</db_table_id>
  144 			<cmd_type>DB_UPDATE</cmd_type>
  145 			<clause_cols>
  146 				<col><field>id</field><operator>=</operator></col>
  147 			</clause_cols>
  148 			<query_cols>
  149 				<col><field>carrier</field></col>
  150 			</query_cols>
  151 		</cmd>
  152 		<cmd><cmd_name>delete</cmd_name>
  153 			<db_table_id>route_tree</db_table_id>
  154 			<cmd_type>DB_DELETE</cmd_type>
  155 			<clause_cols>
  156 				<col><field>id</field><operator>=</operator></col>
  157 			</clause_cols>
  158 		</cmd>
  159 	</mod>