Macro Definitions

 

 

 

Define macro:

[macro-dial-sip]
;        ARG1 = timeout value
exten => 1002,1,NoOp(Operator)
    same = n,Dial(PJSIP/509&PJSIP/510,${ARG1})
    same = n,Hangup

Call macro:

exten => _X,1,Macro(dial-sip, 30)

Creative Commons license icon Creative Commons license icon