All pastes #927 Raw Edit

Anonymous

public text v1 · immutable
#927 ·published 2004-09-13 15:02 UTC
rendered paste body
[macro-stdexten]
exten => s,1,Dial(${ARG1},20)
exten => s,2,Voicemail(u${MACRO_EXTEN})
exten => s,3,Hangup
exten => s,102,Voicemail(b${MACRO_EXTEN})
exten => s,103,Hangup

; DID 
exten => 321[removed],1,Macro(stdexten,sip/2002)

results in:

    -- Executing VoiceMail("Zap/11-1", "u321[removed]") in new stack
Sep 13 10:39:41 WARNING[-1281385552]: app_voicemail.c:1958 leave_voicemail: No entry in voicemail config file for '3212069666'

Other than with AGI, is there a way to rewrite this macro so that it knows to use the RHS of the sip/#### as the voicemail extension?