[Asterisk-Users] Sip channel variables

VladK vladk at voicevia.net
Wed Apr 19 08:20:53 MST 2006


There are several approaches:

1. Set in Asterisk DB 
   RECORD/${EXTEN} on
   and on outgoing calls check is set for that user than do recording
   otherwise skip Monitor cmd in dialplan.

2. Set account code in sip.conf for certain user
   and in dialplan you could check that variable ${ACCOUNTCODE}.
   Note: That variable also will be visible in CDR table for that user.



On Wed, 2006-04-19 at 11:58 -0300, Dov Bigio wrote:
> Hi,
>  
> I am making a Dialplan in which I have to record some outgoing calls
> from some users and not from the others.
>  
> I made to outgoing calls Macros, when that records calls (using
> Monitor()), and another that doesn't: [macro-outgoinglocal] and
> [macro-outgoinglocalrecord]
>  
> Is it possible to have a user defined variable in sip.conf, so that
> before calling a Macro I can check the value of this variable and call
> the correct Macro?
>  
> Thank you
> Dov
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
> 
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users




More information about the asterisk-users mailing list