The channel variable will be set, but not exported like the „export“ dialplan function does export the variable to the new channel.

 

 

 

Von: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] Im Auftrag von David Ponzone
Gesendet: Donnerstag, 2. Dezember 2010 16:14
An: FreeSWITCH Users Help
Betreff: Re: [Freeswitch-users] Export a channel variable within Dial String

 

Bernhard,

 

AFAIU, if you specify the variable in the dialstring, it's for leg B, so it's exported.

If you wan't it, don't set it :)

 

And for leg A, well, you only have one leg A, so you can't set it twice.

 

David Ponzone  Direction Technique

email: david.ponzone@ipeva.fr

tel:      01 74 03 18 97

gsm:   06 66 98 76 34

 

Service Client IPeva

tel:      0811 46 26 26

 

Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. IPeva décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur.

 



 

Le 02/12/2010 à 15:48, Bernhard Suttner a écrit :



Hi,

I call multiple destination with bridge like that:

[var1=value]sofia/default/user1,[var1=another_value]loopback/user2

Is it somehow possible, that var1=another_value will be exported but var1=value not? What I want is, that I could specify a variable to be exported _within_ the dialstring?

Thanks for every hint.

Best regards,
Bernhard



_______________________________________________
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