[Asterisk-Users] h extension in macro

2004-12-06 Thread Maros RAJNOCH
Hi, I have one Q: why doesn't work h-extension in macro? I want to setup fax macro, to send tif-file after fax channel hang-up, but h-extension doesn't work in macro, so I must put them to global context. But in this setup, exten = h,1,system(/var/lib/asterisk/bin/mailfax ${FAXFILE}

RE: [Asterisk-Users] h extension in macro

2004-12-06 Thread Kris Boutilier
: [Asterisk-Users] h extension in macro Hi, I have one Q: why doesn't work h-extension in macro? I want to setup fax macro, to send tif-file after fax channel hang-up, but h-extension doesn't work in macro, so I must put them to global context

Re: [Asterisk-Users] h extension in macro

2004-12-06 Thread Peer Oliver Schmidt
Maros RAJNOCH wrote: exten = h,1,system(/var/lib/asterisk/bin/mailfax ${FAXFILE} ${EMAILADDR} ${CALLERIDNUM} ${CALLERIDNAME}) mailfax binary will be executed after any hang-up, also after calls, not only faxes. I know I can use some variable and if statement to run mailfax only if that variable