search for: notfromlocal

Displaying 3 results from an estimated 3 matches for "notfromlocal".

2013 Jul 03
2
Question on AEL2 string comparisons
I have this code in a dial plan: exten => _417XX,n,GotoIf($["${CALLERID(num)}" > "SIP/41799"]?notfromlocal) exten => _417XX,n,GotoIf($["${CALLERID(num)}" < "SIP/41700"]?notfromlocal) The value of "${CALLERID(num)}" appears to be "SIP/41712-00000181" -- Executing [41720 at from-internal:5] GotoIf("SIP/41712-00000181", "0?notfromlocal&quot...
2013 Jul 24
2
What is my syntax error here?
...l) exten => _417XX,n,Set(AlertInternalTransfer=alert_internal_transfer) exten => _417XX,n,Set(__ALERT_INFO=${AlertSnom}${AlertInternalTransfer}) exten => _417XX,n,GotoIf( $[$["${CallerIDNum}" > "41799"] | $["${CallerIDNum}" < "41700"]]?notfromlocal:) exten => _417XX,n,Set(__ALERT_INFO=${AlertSnom}${AlertInternalCall}) This works for internal calls but not transfers and it only works at all only because of the fall through structure. It contains this error that I do not understand: -- Executing [41720 at from-internal:1] NoOp(&quot...
2013 Jul 03
1
Custom dial plan for internal transfers of external calls
...rlier solution I discovered I am attempting this: [from-internal] include => set-alert-if-local [from-internal-original] include => from-internal-xfer include => bad-number [set-alert-if-local] . . . exten => _417XX,n,GotoIf($["${CALLERID(num)}" > "SIP/41799"]?notfromlocal) exten => _417XX,n,GotoIf($["${CALLERID(num)}" < "SIP/41710"]?notfromlocal) ;If we reach here then the caller is within the upper and lower bounds exten => _417XX,n,Set(__ALERT_INFO=${AlertSnom}${AlertInternalTransfer}) exten => _417XX,n(notfromlocal),Goto(from-inter...