exten => call-queue1,n,Macro(clog,Incoming from ${CALLERID(num)} <${CALLERID(name)}> to ${EXTEN_ORG} queue 1 with members ${REPLACE(REPLACE(QUEUE_MEMBER_LIST(${INCOMING_ACTION}),"Local/@phoneSIP"),",", )})

[macro-log]
exten => s,1,Set(RETURN_CONTEXT=${MACRO_CONTEXT})
exten => s,n,Log(NOTICE,${ARG1} [${MACRO_EXTEN}:${MACRO_PRIORITY} @ ${MACRO_CONTEXT}])
exten => h,1,GotoIf(${EXISTS(${RETURN_CONTEXT})}?${RETURN_CONTEXT},h,1)
exten => h,n,Hangup(16)
