Re: [Freeswitch-users] Idiot question concerning internal calls
without having more information on the rest of your dialplan, i just will shout out: export, check the export variables or dialplan app, i use it in various scenarios when I have to make sure variables are available in all cdrs. ----- Original Message ----- From: "Alex Lake" <alex@digitalmail.com> To: "FreeSWITCH Users Help" <FreeSWITCH-users@lists.freeswitch.org> Sent: Martes, 14 de Mayo 2013 14:07:53 Subject: [Freeswitch-users] Idiot question concerning internal calls I've just discovered a yawning hole in my knowledge of Freeswitch... When I make an internal call, I would like to be able to set variables that are originator specific. I had previously done this in the directory part of conf with things like this: <include> <user id="9903301"> ... <variables> <variable name="tenant_id" value="9903"/> <variable name="a_ext" value="301"/> <variable name="accountcode" value="301"/> <variable name="user_context" value="dp9903"/> <variable name="internal_caller_id_name" value="Internal from x301 alex"/> </variables> </user> </include> But when I try to extract those variables in a lua script (eg. the extension handling "201"), they don't seem to be there. It's as though they weren't exported from A-Leg to B-Leg. What am I missing? How can I arrange for variables set in the <user> to be readable in the b-leg dialplan? _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -- Logitravel.com Raimund Sacherer Sistemas Agencia de Viajes Online www.logitravel.com Edificio Logitravel, Parcela 3B (Parc Bit) Ctra. Palma - Valldemossa km 7,4 | 07121 Palma de Mallorca Tel 902 366 847 | Fax 971 213 495 Síguenos en: Facebook de Logitravel Twitter de Logitravel Blog de Logitravel Logitravel en Youtube Logitravel en Foursquare Descarga nuestras aplicaciones para móvil Logitravel.com Este correo electrónico y, en su caso, cualquier fichero anexo, contiene información de carácter confidencial exclusivamente dirigida a su destinatario. Queda prohibida su divulgación, copia o distribución a terceros sin la previa autorización escrita de LOGITRAVEL S.L.. En caso de haber recibido este correo electrónico por error, se ruega notifíquese inmediatamente esta circunstancia mediante reenvío a la dirección electrónica del remitente. Al mismo tiempo LA EMPRESA le recuerda que sus datos forman o formarán parte de un fichero registrado como CLIENTES con número de inscripción 2070610043 en la Agencia General de Protección de Datos, propiedad de la empresa LOGITRAVEL, con domicilio en Edificio Logitravel, Ctra. Palma - Valldemosa km 7,4, Parc Bit, Palma de Mallorca. Usted tiene derecho de acceso, oposición, rectificación y cancelación a estos datos que deberá ejercer mediante escrito a la dirección anteriormente citada.
participants (1)
-
Raimund Sacherer