Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] Macro


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
r.cahilig at gmail.com
Guest





PostPosted: Fri May 02, 2008 8:46 am    Post subject: [asterisk-users] Macro Reply with quote

Hi,

Please help me create macro for this extension?

[globals]
VOIP=SIP/voip
PREFIX=19001

[outbound]
exten => _9NXXNXXXXXX,1,Set(DIREC=/tmp/asterisk/recordings)
exten =>
_9NXXNXXXXXX,n,Set(CALLFILENAME=${STRFTIME(${EPOCH},,%Y%m%d-%H%M%S)}_${CALLERID(num)}_${EXTEN})
exten => _9NXXNXXXXXX,n,MixMonitor(${DIREC}/${CALLFILENAME}.wav|W(2)|v(3)|b)
exten => _9NXXNXXXXXX,n,Dial(${VOIP}/${PREFIX}${EXTEN:1})
exten => _9NXXNXXXXXX,n,Hangup()

Thank you
--
Richard R. Cahilig
Blog: http://www.chr05210084.com
AKLUG: http://www.aklan-linux.org
Email: r.cahilig at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080502/75a0d702/attachment.htm
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services