2013/1/18 Danny Nicholas da...@debsinc.com
Since Gosub is technically an application, you should be able to modify
this snippet in features.conf
testfeature = #9,peer,Playback,tt-monkeys ;Allow both the caller and
callee to play
;
2013/1/17 Kevin Larsen kevin.lar...@pioneerballoon.com
Possibly switch to using subroutines instead of Macros. Macros are being
deprecated in place of subroutines.
Interesting thing to try.
The trouble is I can't find any usable example of calling Gosub routines
from features.conf's
Since Gosub is technically an application, you should be able to modify this
snippet in features.conf
testfeature = #9,peer,Playback,tt-monkeys ;Allow both the caller and
callee to play
;;tt-monkeys to the opposite
channel
To this
testfeature =
Hello,
To my surprise, with asterisk 1.8 (I've not tried with other versions), it
seems you cannot set CDR's userfield from within a dialplan macro called by
dynamic features.
See :
testfeature = *321,self/callee,Macro,toto
[macro-toto]
exten = s,1,Verbose(0,Into macro-toto with CDR(src) set
Possibly switch to using subroutines instead of Macros. Macros are being
deprecated in place of subroutines.
Kevin Larsen - Systems Analyst - Pioneer Balloon - Ph: 316-688-8208
From: Olivier oza_4...@yahoo.fr
To: Asterisk Users Mailing List - Non-Commercial Discussion