Does anyone know how to pass variables into a channel.
I.e. I have an incomming CAPI channel, the user enters some numbers (Job number for example) which are stored via ‘Read($VAR,audiofile,digits)’, then based on the entered number, dials the appropriate internal extension (Person who owns that job for example) (I.e. Entered number does not equal extension).
When i issue the Dial, a new channel is generated, but i want the channel variables collected and stored in the incomming CAPI channel to be passed/available in the new SIP channel from the Dial before bridging.
I am using ‘Set’ in my dial plan, but that only enables me to set channel variables local to that channel. I need to get the variables im setting into the new Dial SIP channel i am going to bridge to.