Dynamic Feature won't work properly

ju4nch0
Joined: Mon 07 of Nov, 2011

Dynamic Feature won't work properly

Posted:Mon 07 of Nov, 2011 (23:42 UTC)
Here's my issue... I'm in charge of a server with Asterisk 1.4.26.2, there was no need to use "special" dynamic features, other than blind and asisted transfers... Now we need to use some "custom" one touch monitor, so I created these apps

[applicationmap]
automonstart => *1,caller,Macro,apprecordstart
automonstop => *9,caller,Macro,apprecordstop

And the Macros...


[macro-apprecordstart]
exten => s,1,Set(FILENAME=venta-${CALLERID(number)}-${UNIQUEID})
exten => s,n,Playback(beep)
exten => s,n,MixMonitor(ventas/${FILENAME}.gsm,W(3))
exten => s,n,MacroExit

[macro-apprecordstop]
exten => s,1,Playback(beep)
exten => s,n,StopMixMonitor
exten => s,n,MacroExit


They "work", I can start and stop recording, but somehow, it doesn't detect the commands all the time, in a few cases, i have to dial *1 over 3 times for * to start recording, and some other times it just won't detect the *9 to stop that recording.

I'm going nuts here, I checked DTMF, tried INFO/RFC2833, all the extensions are exactly the same...

Any clues why this wouldn't be working?

Thanks in advance