D
D
den199482019-03-22 14:47:38
Asterisk
den19948, 2019-03-22 14:47:38

How to set an argument in extensions.conf?

There are some macros:

; ARG1 - EXTEN
; ARG2 - LINEOUTMTS LINEOUTKS LINEOUTLIFE???
exten => s,1,NoOp(-- Start out roundrobin gateway --)
    same => n,Set(CHANNEL(hangup_handler_push)=sub-after_hangup,cdr_set,1) ; store DID number on CDR
    same => n,Set(MAX_VALUE=${FIELDQTY(${ARG2},\,)})
    same => n,Set(GO_COUNT=0)

Please help me to deal with the variables ARG1, ARG2.
Where do they come from, can they be set manually, or just changed?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Shitskov, 2019-03-22
@den19948

Taken and set at the macro call point

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question