Re: [asterisk-users] How to give users the capability to set CDR userfield for some calls

2013-01-25 Thread Olivier
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 ;

Re: [asterisk-users] How to give users the capability to set CDR userfield for some calls

2013-01-18 Thread Olivier
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

Re: [asterisk-users] How to give users the capability to set CDR userfield for some calls

2013-01-18 Thread Danny Nicholas
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 =

[asterisk-users] How to give users the capability to set CDR userfield for some calls

2013-01-17 Thread Olivier
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

Re: [asterisk-users] How to give users the capability to set CDR userfield for some calls

2013-01-17 Thread Kevin Larsen
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