![Sangoma Netborder SS7 User Manual Download Page 157](http://html2.mh-extra.com/html/sangoma/netborder-ss7/netborder-ss7_user-manual_3908157157.webp)
v1.14
157
<action application="sleep" data="500"/>
<action application="playback" data="ivr/ivr-welcome_to_freeswitch.wav"/>
<action application="sleep" data="500"/>
</condition>
<condition field="${calling_user}" expression="^loser$">
<action application="playback" data="ivr/ivr-dude_you_suck.wav"/>
<anti-action application="playback" data="ivr/ivr-dude_you_rock.wav"/>
</condition>
</extension>
<extension name="Regex XOR example 3" continue="true">
<condition regex="xor">
<!-- If only one of these is true then the subsequent actions are added to execute list -->
<regex field="caller_id_name" expression="Some User"/>
<regex field="caller_id_number" expression="^1001$"/>
<action application="log" data="INFO Only one of the conditions matched!"/>
<!-- If *none* of the regexes is true then the anti-actions are added to the execute list -->
<anti-action application="log" data="WARNING None of the conditions matched!"/>
</condition>
</extension>
Basically, for this new syntax you can have a condition to have a "regex" attr instead of "field" and
"expression" etc. When there is a "regex" attr, that means you plan to have one or more <regex> tags
that are similar to the condition tag itself that it has field and expression in it.
The value of the "regex" attr is either "all" or "any" or "xor indicating if all expressions must match or
just any expression or only one must match(xor) . If it's set to "any" it will stop testing the regex tags
as soon as it finds one match, if it is set to "all", it will stop as soon as it finds one failure.
From there it will behave like a normal condition tag either executing the actions or anti-actions and
breaking based on the "break" attr.
The basic difference here is once there is a "regex" attr, the <regex> tags parsed for "all" or "any"
take the place of the single "field" and "condition"
NOTE: Also, if any captures are done in the "expression" attrs of a <regex> tag, only the data from
the newest capture encountered will be considered in the $n expansion or FIELD_DATA creation. In
addition, you can set DP_REGEX_MATCH_1 .. DP_REGEX_MATCH_N to preserve captures into
arrays.
<extension name="Inbound_external">
Summary of Contents for Netborder SS7
Page 3: ...v1 14 3 This page is intentionally blank...
Page 4: ...v1 14 4 Sangoma Netborder SS7 to VoIP GW User Manual...
Page 110: ...v1 14 110 9 5 SS7 Network Overview...
Page 137: ...v1 14 137 Select the SLAVE option in step 2 and click Next Step to continue...
Page 182: ...v1 14 182...
Page 201: ...v1 14 201 21 Theory...
Page 202: ...v1 14 202...
Page 203: ...v1 14 203...
Page 204: ...v1 14 204...
Page 205: ...v1 14 205...
Page 206: ...v1 14 206...
Page 207: ...v1 14 207...
Page 208: ...v1 14 208...
Page 209: ...v1 14 209...
Page 210: ...v1 14 210...
Page 211: ...v1 14 211...
Page 212: ...v1 14 212...
Page 213: ...v1 14 213...
Page 214: ...v1 14 214...
Page 215: ...v1 14 215...
Page 216: ...v1 14 216...
Page 217: ...v1 14 217...
Page 218: ...v1 14 218...
Page 219: ...v1 14 219...
Page 220: ...v1 14 220...
Page 221: ...v1 14 221...
Page 222: ...v1 14 222...
Page 223: ...v1 14 223...
Page 224: ...v1 14 224...
Page 225: ...v1 14 225...
Page 226: ...v1 14 226...
Page 227: ...v1 14 227...
Page 228: ...v1 14 228...
Page 229: ...v1 14 229...
Page 230: ...v1 14 230...
Page 231: ...v1 14 231...
Page 232: ...v1 14 232...
Page 233: ...v1 14 233...
Page 234: ...v1 14 234...
Page 235: ...v1 14 235...
Page 236: ...v1 14 236...
Page 237: ...v1 14 237...
Page 238: ...v1 14 238...
Page 239: ...v1 14 239...
Page 240: ...v1 14 240...
Page 241: ...v1 14 241...
Page 242: ...v1 14 242...
Page 243: ...v1 14 243...
Page 244: ...v1 14 244...
Page 245: ...v1 14 245...
Page 246: ...v1 14 246...
Page 247: ...v1 14 247...
Page 248: ...v1 14 248...
Page 249: ...v1 14 249...
Page 250: ...v1 14 250...
Page 251: ...v1 14 251...
Page 252: ...v1 14 252...
Page 253: ...v1 14 253...
Page 254: ...v1 14 254...
Page 255: ...v1 14 255...
Page 256: ...v1 14 256...
Page 257: ...v1 14 257...
Page 258: ...v1 14 258...
Page 259: ...v1 14 259...
Page 260: ...v1 14 260...
Page 261: ...v1 14 261...
Page 262: ...v1 14 262...
Page 263: ...v1 14 263...
Page 264: ...v1 14 264...
Page 265: ...v1 14 265...
Page 266: ...v1 14 266...
Page 267: ...v1 14 267...
Page 268: ...v1 14 268...
Page 269: ...v1 14 269...
Page 270: ...v1 14 270...
Page 271: ...v1 14 271...
Page 272: ...v1 14 272...
Page 273: ...v1 14 273...
Page 274: ...v1 14 274...
Page 275: ...v1 14 275...
Page 276: ...v1 14 276...
Page 277: ...v1 14 277...
Page 278: ...v1 14 278...
Page 279: ...v1 14 279...
Page 280: ...v1 14 280...
Page 281: ...v1 14 281...
Page 282: ...v1 14 282...
Page 283: ...v1 14 283...
Page 284: ...v1 14 284...
Page 285: ...v1 14 285...
Page 286: ...v1 14 286...
Page 287: ...v1 14 287...
Page 288: ...v1 14 288...
Page 289: ...v1 14 289...
Page 290: ...v1 14 290...
Page 291: ...v1 14 291...
Page 292: ...v1 14 292...
Page 293: ...v1 14 293...
Page 294: ...v1 14 294...
Page 295: ...v1 14 295...
Page 296: ...v1 14 296...
Page 297: ...v1 14 297...
Page 298: ...v1 14 298...
Page 299: ...v1 14 299...
Page 300: ...v1 14 300...
Page 301: ...v1 14 301...
Page 302: ...v1 14 302...
Page 303: ...v1 14 303...
Page 304: ...v1 14 304...
Page 305: ...v1 14 305...
Page 306: ...v1 14 306...
Page 307: ...v1 14 307...
Page 308: ...v1 14 308...
Page 309: ...v1 14 309...
Page 310: ...v1 14 310...
Page 311: ...v1 14 311...
Page 312: ...v1 14 312...
Page 313: ...v1 14 313...
Page 314: ...v1 14 314...
Page 315: ...v1 14 315...
Page 316: ...v1 14 316...
Page 317: ...v1 14 317...