How embrassing…. You are right, of course. Thanks J

 

 

 

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

 

Bernhard,

 

I am not sure I follow you.

 

AFAIK, exporting and setting with {} in the dialstring is basically the same.

There is a difference, but it's a very minor technical one.

Also, if you export, the variable is set on both legs, while {} will only set it on leg B.

 

So you say you dont want to export on a specific leg B, but in your dialstring, you dont export, you just set a variable on the leg B.

Nothing will ever be exported from leg B.

Variables can be exported from leg A to leg B.

 

I could be wrong, but that has been my understanding for the last 12 months.

 

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 à 17:31, Bernhard Suttner a écrit :



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

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

 

_______________________________________________
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