Displaying 4 results from an estimated 4 matches for "freenum2".
Did you mean:
freenum
2010 Apr 29
1
Issue with (pattern) matching extension
...555*99999', tech='sip', suffix='freenum.org', options='', record=1
== ENUM options(): pos=1, options='2'
== ISN ENUM: left=555, middle='99999.'
== ast_get_enum() profiling: FAIL, 5.5.5.99999.freenum.org, 21 ms
-- Executing [555*99999 at outbound-freenum2:5] Set("SIP/guest_1-00000010", "isnresult=") in new stack
-- Executing [555*99999 at outbound-freenum2:6] GotoIf("SIP/guest_1-00000010", "0?:fn-CONGESTION,1") in new stack
-- Goto (outbound-freenum2,fn-CONGESTION,1)
[Apr 28 16:55:22] WARNING[5987]: pb...
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
...s are easy to 'visually delineated.' Finding the
'secret' is much easier now. Comparing a 'working' extension with a
'broken' extension will be much easier as well.
I use the same formatting in the dialplan. This snippet is from
extensions.conf.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(${EXTE...
2015 Jun 28
2
Asterisk dialplan best practices syntax
...lineated.' Finding the
> 'secret' is much easier now. Comparing a 'working' extension with a
> 'broken' extension will be much easier as well.
>
> I use the same formatting in the dialplan. This snippet is from
> extensions.conf.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...