search for: isnresult

Displaying 4 results from an estimated 4 matches for "isnresult".

2010 Apr 29
1
Issue with (pattern) matching extension
Here's a segment of my dialplan, I'm working on the freenum/ISN functionality: same => n,Set(isnresult=${ENUMLOOKUP(${EXTEN},sip,,1,freenum.org)}) same => n,GotoIf($["${isnresult}" != ""]?:fn-CONGESTION,1) ; set up our outgoing call state same => n,Set(SIPFROMUSER=${CALLERID(num)}) same => n,GotoIf($["${GLOBAL(FREENUMDOMAIN)}" == ""]?dial:) same =>...
2015 Jun 26
2
Asterisk dialplan best practices syntax
Hi, I've two yocto questions about the syntax of dialplan: 1. What's the "official" notation of each line: "=>" or "=" ? In the wiki of Asterisk, I see very often "=>", however, what's the reason for both syntaxes authorized ? Historical ? 2. To write info in logs/console, you have two commands: NoOp and Verbose. Verbose seems to be
2015 Jun 26
0
Asterisk dialplan best practices syntax
...f.sample: [outbound-freenum2] exten => _X!,1,Verbose(2,Performing ISN lookup for ${EXTEN}) same => n,Set(SUFFIX=${CUT(EXTEN,*,2-)}) same => n,GotoIf($["${FILTER(0-9,${SUFFIX})}" != "${SUFFIX}"]?fn-CONGESTION,1) same => n,Set(TIMEOUT(absolute)=10800) same => n,Set(isnresult=${ENUMLOOKUP(${EXTEN},sip,,1,freenum.org)}) same => n,GotoIf($["${isnresult}" != ""]?from) same => n,Set(DIALSTATUS=CONGESTION) same => n,Goto(fn-CONGESTION,1) same => n(from),Set(__SIPFROMUSER=${CALLERID(num)}) same => n,GotoIf($["${GLOBAL(FREENUMDOMAIN)}&qu...
2015 Jun 28
2
Asterisk dialplan best practices syntax
...> exten => _X!,1,Verbose(2,Performing ISN lookup for ${EXTEN}) > same => n,Set(SUFFIX=${CUT(EXTEN,*,2-)}) > same => n,GotoIf($["${FILTER(0-9,${SUFFIX})}" != > "${SUFFIX}"]?fn-CONGESTION,1) > same => n,Set(TIMEOUT(absolute)=10800) > same => n,Set(isnresult=${ENUMLOOKUP(${EXTEN},sip,,1,freenum.org)}) > same => n,GotoIf($["${isnresult}" != ""]?from) > same => n,Set(DIALSTATUS=CONGESTION) > same => n,Goto(fn-CONGESTION,1) > same => n(from),Set(__SIPFROMUSER=${CALLERID(num)}) > same => n,GotoIf($["${...